This tutorial describes how to deploy contract and mint PRC-721 NFTs on the Palette Chain.
After installing and unzipping the Tutorial Tool, run the binary with the following command:
Step 3: Understand the result
An output very similar to the following will appear after executing the Tutorial Tool:
=== Addresses ===
Alice: 0xCa5c93488AfBE9C2a901606ece00A2577571D945
Bob: 0xF08A49B1cb53E56B12Ef6d04cf2E5F800BC63f66
=== Contract Detail ===
Name: Tutorial Contract
Symbol: TC
BaseUri: https://8afmjz9znd.execute-api.ap-northeast-1.amazonaws.com/prod/contracts/
=== Deploying Tutorial Contract ===
=== Results ===
TxHash: 0xed9dbff3d06c5736da426cac33fc3e976f0122e9e7c3a06c51fe697688b2fe2e
Contract Address: 0x000000000000000000000000000000000000146b
=== TxReceipt ===
{"root":"0x","status":"0x1","cumulativeGasUsed":"0x0","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000004030000000100000000000000100080000000000000000000000040000080000000000000000100000000000000000000001000000000000000200000000080000000000040000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000100000000000000000000000000000000000000000000000000010000000000000000000004000000000010000000000020000000000000040000000004008000000000020000000000000000","logs":[{"address":"0x0000000000000000000000000000000000000103","topics":["0xbeabacc8ffedac16e9a60acdb2ca743d80c2ebb44977a93fa8e483c74d2b35a8","0x0000000000000000000000000000000000000000000000000000000000001000","0x000000000000000000000000e1d245fa5f4a6aa984e1c4e2d8fea6c3876b82df"],"data":"0x","blockNumber":"0x592e24","transactionHash":"0xed9dbff3d06c5736da426cac33fc3e976f0122e9e7c3a06c51fe697688b2fe2e","transactionIndex":"0x0","blockHash":"0x02ecd1e794d59c5fdf51f3b64f760cd2c449a612afc549b4be65c5e72e0769e5","logIndex":"0x0","removed":false},{"address":"0x000000000000000000000000000000000000146b","topics":["0x545e7c614e06aed049a20d161d73e6b571ab22ff052a9f76f57beaa0a47b4ced","0x000000000000000000000000ca5c93488afbe9c2a901606ece00a2577571d945","0x000000000000000000000000000000000000000000000000000000000000146b"],"data":"0x01","blockNumber":"0x592e24","transactionHash":"0xed9dbff3d06c5736da426cac33fc3e976f0122e9e7c3a06c51fe697688b2fe2e","transactionIndex":"0x0","blockHash":"0x02ecd1e794d59c5fdf51f3b64f760cd2c449a612afc549b4be65c5e72e0769e5","logIndex":"0x1","removed":false}],"transactionHash":"0xed9dbff3d06c5736da426cac33fc3e976f0122e9e7c3a06c51fe697688b2fe2e","contractAddress":"0x0000000000000000000000000000000000000000","gasUsed":"0x0","blockHash":"0x02ecd1e794d59c5fdf51f3b64f760cd2c449a612afc549b4be65c5e72e0769e5","blockNumber":"0x592e24","transactionIndex":"0x0"}
=== Minting NFT To Bob ===
=== Results ===
TxHash: 0x4fbe95edce5f52b70443a131b6533e26c731ca64627dc43789589ab7ae9c4d39
Bob's token balance: 1
=== TxReceipt ===
{"root":"0x","status":"0x1","cumulativeGasUsed":"0x0","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000004030000000100000000000000100080000000000000000000000040000080000000000000000100000000000000000000001000000000000000200000000080000000000040000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000100000000000000000000000000000000000000000000000000010000000000000000000004000000000010000000000020000000000000040000000004008000000000020000000000000000","logs":[{"address":"0x0000000000000000000000000000000000000103","topics":["0xbeabacc8ffedac16e9a60acdb2ca743d80c2ebb44977a93fa8e483c74d2b35a8","0x0000000000000000000000000000000000000000000000000000000000001000","0x000000000000000000000000e1d245fa5f4a6aa984e1c4e2d8fea6c3876b82df"],"data":"0x","blockNumber":"0x592e24","transactionHash":"0xed9dbff3d06c5736da426cac33fc3e976f0122e9e7c3a06c51fe697688b2fe2e","transactionIndex":"0x0","blockHash":"0x02ecd1e794d59c5fdf51f3b64f760cd2c449a612afc549b4be65c5e72e0769e5","logIndex":"0x0","removed":false},{"address":"0x000000000000000000000000000000000000146b","topics":["0x545e7c614e06aed049a20d161d73e6b571ab22ff052a9f76f57beaa0a47b4ced","0x000000000000000000000000ca5c93488afbe9c2a901606ece00a2577571d945","0x000000000000000000000000000000000000000000000000000000000000146b"],"data":"0x01","blockNumber":"0x592e24","transactionHash":"0xed9dbff3d06c5736da426cac33fc3e976f0122e9e7c3a06c51fe697688b2fe2e","transactionIndex":"0x0","blockHash":"0x02ecd1e794d59c5fdf51f3b64f760cd2c449a612afc549b4be65c5e72e0769e5","logIndex":"0x1","removed":false}],"transactionHash":"0xed9dbff3d06c5736da426cac33fc3e976f0122e9e7c3a06c51fe697688b2fe2e","contractAddress":"0x0000000000000000000000000000000000000000","gasUsed":"0x0","blockHash":"0x02ecd1e794d59c5fdf51f3b64f760cd2c449a612afc549b4be65c5e72e0769e5","blockNumber":"0x592e24","transactionIndex":"0x0"}