Create a .env
file similar to .env.example
and fill in your wallet's MNEMONIC phrase
truffle compile
This command adds a contracts directory inside client/src . Basically truffle compile compiles our Solidity contracts to JSON files, which will be used by the frontend code to interact with the contracts.
truffle migrate --network testnet
Get free BNB for Testnet here
cd client
npm start
truffle migrate --network bsc
cd client
npm run build
cd build
mv index.html 200.html
surge --domain ethereal-trail.surge.sh
push and commit changes to main, and a github action will automatically deploy the client app to firebase under i-lira.com