Keepers are defined in the Maker white paper as a class of agents that systematically earn an income from Maker and the Dai by exploiting simple profit opportunities. Keepers are vital to Maker by participating in continuous splitting auctions, market making the dai around the target price and providing external information such as price feeds to Maker. The Maker Market Matcher is a Keeper that performs automatic trading, matching bids against asks when the bid price is higher than the ask price.
- geth
brew install ethereum
(orapt-get
for ubuntu) - solidity https://solidity.readthedocs.org/en/latest/installing-solidity.html
- Global dapple,
npm install -g dapple
Clone and install:
git clone https://github.com/MakerDAO/maker-market-matcher
cd maker-market-matcher
git submodule update --init --recursive
npm install
dapple build
Deploy the Keeper contract. Transfer tokens to the keeper contract to trade with.
Start the Keeper by running node keeper.js
Run dapple test