This demo script shows how to deploy a published contract on multiple chains with the same address.
Install dependencies:
yarnRun the script:
yarn startTo run this project, you will need to add the following environment variables to your .env file:
WALLET_PRIVATE_KEY=paste_your_private_key_here
THIRDWEB_SECRET_KEY=paste_your_secret_key_here-
Generate your
THIRDWEB_SECRET_KEYvia thirdweb's dashboard. -
For
WALLET_PRIVATE_KEYexport your wallet private key from your wallet.
Contributions and feedback are always welcome!
Please visit our open source page for more information.
For help, join the discord or visit our support page.