This smart contract extends the Manifold contract. So you can extend it with features like lazy minting or splitting. Using free alchemy API: https://alchemy.com/?r=2b92f94f5cd00a17
- Clone this repo and run npm install
- Create a .env file in the root directory and set up your constants: ETHERSCAN_API_TOKEN=EtherscanAPIToken POLYSCAN_API_TOKEN=PolyscanAPIToken STAGING_ALCHEMY_KEY=Your alchemy URI PRIVATE_KEY=Your private Wallet Key
- run npm install
- get free alchemy API url under https://alchemy.com/?r=2b92f94f5cd00a17
- Setup scripts/deployExtension.js set mainContract to your Manifold Contract, change name and symbol
- run: npx hardhat run scripts/deployExtension.js --network rinkeby
- Verify your code on the Testnet npx hardhat verify --network rinkeby "NEW_CONTRACT_ADDRESS" MANIFOLD_CONTRACT_ADDRESS --show-stack-traces
- If everything worked, you can view your contract at https://rinkeby.etherscan.io/address/[NEWCONTRACT]#code
- call your contract on etherscan
- go to the tab write as proxy
- connect to your wallet
- open registerExtension and enter your contract address and the URL of the contract on Etherscan
- click write
- Setup scripts/interactExtension.js
- Setup your constants in lines 11 to 20
- npx run scripts/interact.js