Likecoin/Desmos/Evmos/Nomic/Cerberus 验证人。喜欢分享各类脚本。 网站: https://ericet.xyz
NFT in my eyes
I saw that NFT is being discussed on Matters recently. Some people say that NFT is a work of art, and some people say that NFT is a certificate of copyright. In my eyes NFT is a piece of code
So don't talk nonsense and go directly to the code (the code is too long, if you are interested, you can visit the github link directly)
Github: https://github.com/ericet/EvmLoot/blob/master/evmLoot.sol
A section of the code, EvmLoot is ERC721, shows the essence of NFT. NFT is a contract code written in ERC721 format
So those NFTs you see are actually just a piece of contract code stored on the blockchain
After the above contract code is deployed on the blockchain, NFT can be randomly minted by adding a front-end.
Trial link: https://ericet.github.io/EvmLoot/
Because it is deployed on the Evmos test chain, you need to manually set up the little fox. The configuration is as follows:
- Network Name: Evmos Testnet
- New RPC URL: http://arsiamons.rpc.evmos.org:8545
- Chain ID: 9000
- Currency Symbol (optional): PHOTON
- Block Explorer URL (optional): https://evm.evmos.org
Although minting is free, it still requires a little gas. If you are interested, leave the address and send some test coins for gas.
Like my work?
Don't forget to support or like, so I know you are with me..
Comment…