@ballkidz/defifa-collection-deployer
v1.0.43
Published
## Motivation
Downloads
61
Readme
Defifa Collection Deployer
Motivation
Deploy Defifa collections
Install
Quick all-in-one command:
rm -Rf defifa-collection-deployer || true && git clone -n https://github.com/ballkidz/defifa-collection-deployer && cd defifa-collection-deployer && git pull origin main && git checkout FETCH_HEAD && foundryup && git submodule update --init --recursive --force && yarn install && forge test
To get set up:
- Install Foundry.
curl -L https://foundry.paradigm.xyz | sh
- Install external lib(s)
git submodule update --init --recursive --force && yarn install
then run
forge update
- Run tests:
forge test
- Update Foundry periodically:
foundryup
Setup
Configure the .env variables, and add a mnemonic.txt file with the mnemonic of the deployer wallet. The sender address in the .env must correspond to the mnemonic account.
Goerli
yarn deploy-goerli
Mainnet
yarn deploy-mainnet
The deployments are stored in ./broadcast
See the Foundry Book for available options.