Created
February 25, 2021 15:48
-
-
Save HubertG97/7019029a591d82bf53d93d346a0a8c70 to your computer and use it in GitHub Desktop.
Setting up a NFT on the XRPL
This file contains 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
//Set a default flag | |
{ | |
"TransactionType": "AccountSet", | |
"Account": "rawSnhbdjsxrRqMupArYZAiSwVNyWgtM4M", | |
"Fee": "12", | |
"SetFlag" : "8" | |
} | |
//Setting a trustline between the minter and the hot wallet | |
{ | |
"TransactionType": "TrustSet", | |
"Account": "r3uZPZJsEjy4CV59EQZZcLzjAwVPc2fLZR", | |
"Fee": "12", | |
"Flags" : "131072", | |
"LimitAmount": { | |
"currency": "64656E6163687477616368740000000000000000", | |
"issuer": "rawSnhbdjsxrRqMupArYZAiSwVNyWgtM4M", | |
"value": "1000000000000000e-96" | |
} | |
} | |
//Sending the NFT from the minter to the hot wallet | |
{ | |
"TransactionType": "Payment", | |
"Account": "rawSnhbdjsxrRqMupArYZAiSwVNyWgtM4M", | |
"Fee": "12", | |
"Destination" : "r3uZPZJsEjy4CV59EQZZcLzjAwVPc2fLZR", | |
"Amount": { | |
"currency": "64656E6163687477616368740000000000000000", | |
"issuer": "rawSnhbdjsxrRqMupArYZAiSwVNyWgtM4M", | |
"value": "0.000000000000000000000000000000000000000000000000000000000000000000000000000000001" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment