- Add Key in
.env
file. It's a private key of the account that will deploy the contracts and should be gitignored. - bscTestnet
KEY_TESTNET
or bscKEY_MAINNET
- add
ETHERSCAN_API_KEY
in.env
file. It's an API key for etherscan. yarn
in root directoryNETWORK=$NETWORK yarn zx v3-deploy.mjs
where$NETWORK
is eithereth
,goerli
,bscMainnet
,bscTestnet
orhardhat
(for local testing)NETWORK=$NETWORK yarn zx v3-verify.mjs
where$NETWORK
is eithereth
,goerli
,bscMainnet
,bscTestnet
orhardhat
(for local testing)