Skip to content

🚧 WIP 🚧 V2 smart contracts for Bulla Network

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
AGPL-3.0
LICENSE_AGPL
Notifications You must be signed in to change notification settings

bulla-network/bulla-contracts-V2

Repository files navigation

Bulla Protocol V2

under construction 🏗

Clone Repo

    git clone https://github.com/bulla-network/bulla-protocol-contracts.git
    cd bulla-protocol-contracts
    yarn

Foundry Install

    curl -L https://foundry.paradigm.xyz | bash
  • Reload your terminal window then run
    foundryup

Developing

Run tests in verbose watch mode by running

    yarn dev

Deploying

Bash arguments - these can either go in a .env or placed in the cli:

  1. FEE_RECEIVER - the address any BullaClaim transaction fees go to
  2. LOCK_STATE - the contract is deployable in a lock state: (0 = unlocked, 1 = no new claims, 2 = completely locked to EOA transactions)
  3. RPC_URL - the contract is deployable in a lock state: (0 = unlocked, 1 = no new claims, 2 = completely locked to EOA transactions)
  4. 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
FEE_RECEIVER=$FEE_RECEIVER LOCK_STATE=$LOCK_STATE forge script script/Deployment.s.sol:Deployment --fork-url $RPC_URL --private-key $PRIVATE_KEY --broadcast -vvvvv

About

🚧 WIP 🚧 V2 smart contracts for Bulla Network

Topics

Resources

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
AGPL-3.0
LICENSE_AGPL

Stars

Watchers

Forks