everything you need to build and deploy on BNB! ๐
Prerequisites: Node (v16 LTS) plus Yarn (v1.x) and Git
๐จ If you are using a version < v18 you will need to remove openssl-legacy-provider
from the start
script in package.json
clone/fork Brave Galos ๐ :
git clone https://github.com/cloudmex/Brave-Gallos.git
install and start your own local ๐ทโ Hardhat chain:
cd brave-galos
yarn install
yarn chain
in a second terminal window, start the ๐ฑ frontend:
cd brave-galos
yarn start
๐ฑ Open http://localhost:3000 to see the app
in a third terminal window, ๐ฐ deploy your contract:
cd brave-galos
yarn deploy
๐ Edit / Create smart contracts in packages/hardhat/contracts
๐ Edit the frontend App.jsx
in packages/react-app/src
๐ผ Edit the deployment script in packages/hardhat/deploy
๐ You need an RPC key for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx
in packages/react-app/src/constants.js
with your new key.
๐ฃ Make sure you update the InfuraID
before you go to production. Huge thanks to Infura for our special account that fields 7m req/day!
Register as a builder here and start on some of the challenges and build a portfolio.