This is an EVM simple private vault implementation to farm yield on any MasterChef/Uniswap based DEX. There is a concrete example with SushiSwap but should be easy to implement other exchanges and also use the base contracts for other types of vaults besides yield/DEX.
sudo service docker start
sudo docker build -t <image-name> .
sudo docker run -it --name <container-name> <image-name> /bin/sh;
export PRIVATE_KEY=<private-key>
truffle compile
Will run the 1_deploy.js
migration to deploy the contracts on the specified blockchain.
truffle migrate --network hecomainnet -f 1 --to 1
truffle migrate --network hecomainnet -f 2 --to 2
truffle migrate --network hecomainnet -f 3 --to 3
truffle migrate --network hecomainnet -f 4 --to 4
truffle migrate --network hecomainnet -f 5 --to 5
sudo docker image ls
Will also tell image creation date/time, useful to check the id of the latest.
truffle run contract-size
If you found any of my stuff useful and want me to keep it alive and flourishing, this is my EVM address. Donations in USDC will count for the Universal Premium Account.
EVM Address: 0x26b9fD8EF7a6d2f0612D4953CE7A06Fe8d90dd66