We are assuming here that you have nodejs and pnpm installed
We also recommend to install zellij
-
Clone the repository
Before cloning you will need to have git LFS (Large File Storage) installed
git clone https://github.com/wighawag/bomber-woman.git cd bomberWoman
Then, ensure the LFS hooks are present:
git lfs install
If you installed git lfs after already cloning the repo, you will also need to execute the following:
git lfs pull
-
Install dependencies
pnpm i
-
Then Assuming you have zellij installed
pnpm start
And you are ready to go!
Note If you do not have zellij (on windows for example) you can use wezterm
pnpm start:weztermOr you can also launch each component in their own process
pnpm local_nodepnpm contracts:compile:watchpnpm contracts:deploy:watchpnpm indexer:devpnpm web:dev
Just navigate to the url mentioned in the console. If you have no other thing running, it should be http://localhost:5173/
Just execute the following
pnpm contracts:deploy:prepare <network>
and it will ask you few questions and get your .env.local setup with the var needed to deploy on the network of your choice.
You just need to have a endpoint url and mnemonic ready for it.
You can of course configure it manually with more option if you need
Then you can deploy your contract
pnpm contracts:deploy <network>
And you can verify the contract
- on etherscan:
pnpm contracts:verify <network> etherscan
- using sourcify:
pnpm contracts:verify <network> sourcify
for etherscan if the network is not supported by default (no endpoint), you can provide your own:
pnpm contracts:verify <network> etherscan --endpoint <api endpoint url>