A proxy to Maker world (https://makerdao.com/).
This project use pipenv to install required dependencies. See https://docs.pipenv.org/.
make env
pipenv run ./proxer.py --help
Some available APIs
curl https://localhost:5000/markets/oasis/book/WETH/DAI
curl https://localhost:5000/markets/daiv1
{
"cap": 50000000.0,
"chi": 1.0,
"din": 1877069.75,
"gap": 1.0,
"mat": 1.5,
"per": 1.0000019693612086,
"tag": 831.7746380614806,
"tax": 1.0
}
curl https://localhost:5000/markets/daiv1/cups
curl https://localhost:5000/markets/daiv1/cups/42
{
"art": 1000.0,
"id": 42,
"ink": 3.0,
"lad": "0xfa7c0b7331d0F43ae6f9ebE02Ac336c8986a7014",
"safe": true
}
pipenv run ./proxer.py --local-rpc --rpc https://192.168.1.42:8545 --rpc https://mainnet.infura.io
pipenv run python manager/push_keyfile.py $HOME/.ethereum/keystore/*
make devenv
make test