Skip to content

jboxer11/AutoClaim

Repository files navigation

PoolTogether Prize Savings Protocol - AutoClaim Contract and Bot

TODO: See the documentation

Setup

Install Dependencies

$ yarn

Copy over .envrc.example to .envrc

$ cp .envrc.example .envrc

Make sure to update the enviroment variables with suitable values.

Now enable the env vars using direnv

$ direnv allow

Interacting using Hardhat Console

You can interact with the contract using the buidler console:

$ npx hardhat console --network [network]

TODO: Deploying

You can deploy using the deploy script:

$ yarn deploy [network]

Where [network] can be mainnet, rinkeby, ropsten, or kovan.

Now you should verify the contracts on Etherscan:

$ yarn etherscan-verify [network]

The network option is the same as above.

Development

Run Tests

$ yarn test

TODO: Run Coverage

$ yarn coverage

TODO: Run Gas Report

$ yarn gas

Start Local TestRPC

$ yarn start

About

PoolTogether AutoClaim contract and bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published