Click me for more information about this repository
-
Install dependencies
npm install # Install CDK dependencies cd contracts && npm install # Install hardhat dependencies
-
Deploy Smart Contract
cd contracts cp .env.example .env # Copy environment variables example to the real one vim .env # Edit the environment variables npx cdk deploy # Deploy the contract to Goerli and remember to copy the address
-
Update the smart contract address in the CDK file
-
Deploy the CDK stack
npx cdk deploy
-
Update the private key in secrets manager
-
Test the large batch minting process
npx ts-node src/put-message.ts