Built with @buildspace 🦄
#Verified: https://rinkeby.etherscan.io/address/0x0B39f1408e5948754f02611f80E988B403288d05#code
- NFT metadata format:
{ "name":"Yeet Love", "description":"Some boomers are alright.", "image":"data:image/json;base64,<base64_encoded_SVG_address>" }
- Go to the game site
- Connect your ETH wallet
- Mint your NFT!
- Transaction: an action that changes the blockchain, like deploying a smart contract or minting an NFT
- Deployment:
- On-Chain Data: data stored on the contract itself, rather than via a third party
- SVG: image built with code
- base64: encoding format
- Event: in Solidity, messages that are emitted by smart contracts & captured in real-time by our client
- Startup a sample HardHat project:
npx hardhat - Install project dependencies:
npm install --save-dev @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers ethers - Install OpenZeppelin library:
npm install @openzeppelin/contracts - Test setup by deploying to local blockchain:
npx hardhat run scripts/sample-script.jsresults in 👇
- Alchemy.io
- JSON Keeper ➡️ the metadata's
imageURL has this format:data:image/svg+xml;base64,<base64_encoded_SVG>
If using VSCode:
- make sure ethers are not auto-imported into solidity contract
- imports might be unresolved if the compiler isn't globally installed on your system
"This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.
Try running some of the following tasks:"
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help- Deploy contract (using command line) to Rinkeby Testnet to validate:
npx hardhat run scripts/deploy.js --network rinkeby - Check contract address on Etherscan
- Search OpenSea's TestNet site using the contract address
- Rinkeby testnet
- Metamask wallet

