@bulla/contracts-v2
v2.6.0
Published
V2 smart contracts for the Bulla Protocol
Readme
Bulla Protocol V2
under construction 🏗
Clone Repo
git clone https://github.com/bulla-network/bulla-protocol-contracts.git
cd bulla-protocol-contracts
yarnFoundry Install
curl -L https://foundry.paradigm.xyz | bash- Reload your terminal window then run
foundryupDeveloping
Run tests in verbose watch mode by running
yarn devDeploying
Bash arguments - these can either go in a .env or placed in the cli:
LOCK_STATE- the contract is deployable in a lock state: (0 = unlocked, 1 = no new claims, 2 = completely locked to EOA transactions)RPC_URL- the contract is deployable in a lock state: (0 = unlocked, 1 = no new claims, 2 = completely locked to EOA transactions)PRIVATE_KEY- the private key of the deployer address (see forge's --ledger or --trezor wallet options for hardware wallet deployment details)
Notice: The deployer address will be the owner of the contract
Example:
anvil
source .env.development # for a local anvil server # $ source .env for prod
yarn deploy:sepolia