- nodejs and npm
sudo apt install nodejs npm -y
- npm dependacies
npm install
- setup .env
MNEMONIC = "12 word/private key"
INFURA_API_KEY =
ETHERSCAN_API_KEY =
BSCSCAN_API_KEY =
FTM_API_KEY =
POLY_API_KEY =
AVAX_API_KEY =
Contracts need to remain in ./contracts
truffle deploy --network (network)
command for deploying contracts
```truffle run verify (Contract name) --network (network)`` command for sending verified code to scans site (Binance or Etherium)
Networks configured:
- Developer (127.0.0.1)
- Ethereum
- Optimism
- Arbitum
- Polygon
- Binance Smart Chain
- Binance Test Net
- Avalanche
- Avalanche (Fuji, testnet)
- Fantom
- Fantom Testnet
Boiler plate setup... do not delete Migrations.sol or 1_initial_migration.js
Current as of 01 Dec 2022
Pending updates:
- More chains configured