This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # NOTES: | |
| # erd1mzzclada2ly8scj0zrcldvfftfmc9uc42z27c9zgax59k86qsr2qpx0ama is our wallet address; REPLACE this with your wallet address | |
| # ESDTNFTCreate is the command to create an NFT | |
| # 0x52494e47504153532d656537376234 is the identifier for our NFT collection in hex (RINGPASS-ee77b4) | |
| # 1 is quantity to create (must always be one for NFT) | |
| # 0x52696e672050617373 is the name of the NFT hex encoded (here "Ring Pass") | |
| # 0 is NFT royalties to take | |
| # 0x00ad12b8600c09a844551018255763831173488f33804a461f6009418c34cf07 is the hash of our image | |
| # 0 is NFT attributes (for us, also none) | |
| # 0x68747470733a2f2f676... is the URI for our image on Pinata, encoded as hex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # NOTES: | |
| # erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u is a special system contract | |
| # setSpecialRole is the command to set a role | |
| # 0x52494e47504153532d656537376234 is our token/collection identifier (RINGPASS-ee77b4 in hex) | |
| # 0xd8858ff5bd57c878624f10f1f6b1295a7782f3155095ec1448e9a85b1f4080d4 is our wallet address decoded to hex | |
| # 0x45534454526f6c654e4654437265617465 is the role we are giving our wallet (ESDTRoleNFTCreate) | |
| erdpy contract call erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u --function setSpecialRole --arguments 0x52494e47504153532d656537376234 0xd8858ff5bd57c878624f10f1f6b1295a7782f3155095ec1448e9a85b1f4080d4 0x45534454526f6c654e4654437265617465 --recall-nonce --gas-limit 60000000 --pem WALLET_NAME.pem --send |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # NOTES: | |
| # erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u is special system contract address | |
| # issueNonFungible is the command to issue the NFT | |
| # collection name is 0x52696e6750617373 (= MintPass) | |
| # ticker name is 0x52494e4750415353 (=MINTPASS) | |
| erdpy contract call erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u --function issueNonFungible --arguments 0x52696e6750617373 0x52494e4750415353 --recall-nonce --gas-limit 60000000 --pem WALLET_NAME.pem --send --value 50000000000000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # replace the account below with the one you want to decode | |
| erdpy wallet bech32 --decode erd1sewgn3xlma0ke55ydedptl0j6r9s24ukxlwngvn3n2z6xgayg0js2qdmaz | |
| # produces hex => 865c89c4dfdf5f6cd2846e5a15fdf2d0cb05579637dd3432719a85a323a443e5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #![no_std] | |
| elrond_wasm::imports!(); | |
| elrond_wasm::derive_imports!(); | |
| #[derive(TopEncode, TopDecode, TypeAbi)] | |
| struct CryptoRingsAnimation { | |
| mint_number: u64 | |
| } |