A script to execute the burn batch function using an access list.
- npm 8.9+
- node v16.20+
npm install ethers
in root dirnpm install web3
in root dirnpm install axios
in root dir- Add "type": "module" in your package.json This is how it should look!
{
"type": "module",
"dependencies": {
"axios": "^1.6.0",
"ethers": "^6.8.0",
"web3": "^4.2.1"
}
}
- Add the private key to the script.
node AccessList.mjs