Skip to content

Commit

Permalink
Add a link to the contract on the tutorial scenes page (#397)
Browse files Browse the repository at this point in the history
* Add a link to the contract on the tutorial scenes page

* Link to deployed contract as example
  • Loading branch information
timothymcmackin authored Jun 3, 2024
1 parent 5948e6f commit 53aea26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/unity/managing-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ See [Managing tokens](./managing-tokens).

The Michelson source code of the built-in contract is in the `Resources/Contracts` folder of the SDK, but it isn't very human-readable.
For a list of the entrypoints in the contract, see [TokenContract object](./reference/TokenContract).
For an example of a deployed contract, see https://ghostnet.tzkt.io/KT1Nhr9Bmhy7kcUmezRxbbDybh5buNnrVLTY/entrypoints.

## Deploying the built-in contract

Expand Down
3 changes: 3 additions & 0 deletions docs/unity/scenes.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ In this case, the smart contract keeps track of tokens, their metadata, and who

The SDK comes with a sample smart contract that allows a Unity project to create tokens.
You can customize these tokens, give them to users, and treat them like the players' in-game inventories.
The Michelson source code of the built-in contract is in the `Resources/Contracts` folder of the SDK, but it isn't very human-readable.
For a list of the entrypoints in the contract, see [TokenContract object](./reference/TokenContract).
For an example of a deployed contract, see https://ghostnet.tzkt.io/KT1Nhr9Bmhy7kcUmezRxbbDybh5buNnrVLTY/entrypoints.

Like the Wallet Connection scene, you must first connect to a wallet.
Then the scene shows the address of the connected account and enables the "Deploy Contract" and "Mint Token" buttons.
Expand Down

0 comments on commit 53aea26

Please sign in to comment.