Foundry Version: forge 0.2.0 (fdfaafd62 2024-07-29T18:19:48.848723000Z)
Node Version: v18.20.0
-
Install dependencies using
npm install
. -
Navigate to the
hardhat
package:- Configure the
.env
file. See.env.example
for the required environment variables. For the deployment of the contracts, onlyPRIVATE_KEY
is required. - Deploy contracts using
make deploy-harmony-mainnet
ormake deploy-harmony-testnet
.
- Configure the
-
Navigate to the
zen-bull-vault
package:- Configure the
.env
file. See.env.example
for the required environment variables. For the deployment of the contracts, onlyPRIVATE_KEY
andOWNER_ADDRESS
are required. - Install dependencies using
forge install
. - Deploy contracts using
deploy-strategy-harmony-testnet
,deploy-strategy-harmony-mainnet
,deploy-withdraw-harmony-testnet
,deploy-withdraw-harmony-mainnet
.
- Configure the
-
Navigate to the
zen-bull-netting
package:- Configure the
.env
file. See.env.example
for the required environment variables. For the deployment of the contracts, onlyPRIVATE_KEY
andOWNER_ADDRESS
are required. - Install dependencies using
forge install
. - Deploy contracts using
make deploy-harmony-mainnet
ormake deploy-harmony-testnet
.
- Configure the
-
Navigate to the
cli
package:- Configure the
.env
file. See.env.example
for the required environment variables. 1.1UNI_SWAP_ROUTER_ADDRESS
- The address of the Uniswap Router. 1.2UNI_NONFUNGIBLE_POSITION_MANAGER_ADDRESS
- The address of the Uniswap Nonfungible Position Manager. 1.3CONTROLLER_ADDRESS
- The address of the Squeeth Controller contract. 1.4RPC_URL
- The RPC URL of the Harmony network. 1.5PRIVATE_KEY
- The private key of the account that will interact with the contracts. 1.6 Add private keys and addresses of users which are used in the profitable trades script. 1.7OWNER_ADDRESS
- This is the address of themsg.sender
when executing the scripts. - Install dependencies using
forge install
. - Use
make
scripts to interact with the protocol.
- Configure the