You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
We would like to make the process of minting more seamless (faster) and therefore I'm trying to deconstruct what's going on under the hood.
We would love to hear your ideas!
1. construct metadata
First of all, we will take an image and post it to the IPFS, as the result we are expecting a CID (IPFS hash) which will well append to the metadata
To create metadata we will take name, description, attributes and image CID and create a JSON file which will publish to the IPFS again
2. construct RMRK string
In the process of generating NFT RMRK, we will construct another JSON containing collection's d, name, instance, serial number and metadata hash. This JSON is then prefixed with the RMRK::1.0.0::MINTNFT:: string
3. Constructing the call and making the transaction
After we have the correct RMRK string we can construct a call. This call is system.remark and as an argument takes a string :). Once we have this call ready using polkadot/api we will sign the transaction and send it to the Kusama network
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
We would like to make the process of minting more seamless (faster) and therefore I'm trying to deconstruct what's going on under the hood.
We would love to hear your ideas!
1. construct metadata
First of all, we will take an image and post it to the IPFS, as the result we are expecting a CID (IPFS hash) which will well append to the metadata
To create metadata we will take name, description, attributes and image CID and create a JSON file which will publish to the IPFS again
2. construct RMRK string
In the process of generating NFT RMRK, we will construct another JSON containing collection's d, name, instance, serial number and metadata hash. This JSON is then prefixed with the
RMRK::1.0.0::MINTNFT::
string3. Constructing the call and making the transaction
After we have the correct RMRK string we can construct a call. This call is
system.remark
and as an argument takes a string :). Once we have this call ready usingpolkadot/api
we will sign the transaction and send it to the Kusama networkBeta Was this translation helpful? Give feedback.
All reactions