在faucet领取测试网代币 https://faucet.rinkeby.io/arrow-up-right;;
智能合约:
例如命名为NTF_ERC721_Sample.sol,
上传图片文件到IPFS得到CID,
接下来生成NFT-ERC721的metadata。
保存为mysamplenft1.json,也上传到ipfs,同时得到metadata文件的CID。
选择Inject web3,切换到Rinkeby网络,deploy contract,部署成功后点开Mint。
使用opensea testnetarrow-up-right查看NFT。
参考信息
https://github.com/0xcert/ethereum-erc721arrow-up-right
最后更新于4年前