- Interact with contract:
https://dev.to/dabit3/the-complete-guide-to-full-stack-ethereum-development-3j13 - Send tokens:
https://ethereum.org/en/developers/tutorials/send-token-etherjs/ - Make NFT:
https://www.freecodecamp.org/news/how-to-make-an-nft/
- npm install ethers hardhat @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers
- npx hardhat
- update hardhat.config.js => module.exports = { solidity: "0.8.4", paths: { artifacts: './src/artifacts', }, networks: { hardhat: { chainId: 1337 } } };
- npx hardhat compile
- npx hardhat node --hostname 127.0.0.1
- rename scripts/sample-script.js to scripts/deploy.js
- npx hardhat run scripts/deploy.js --network localhost