Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

bargst/proxer

Repository files navigation

proxer

A proxy to Maker world (https://makerdao.com/).

Setup

This project use pipenv to install required dependencies. See https://docs.pipenv.org/.

make env
pipenv run ./proxer.py --help

API

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
}

Launch

pipenv run ./proxer.py --local-rpc --rpc https://192.168.1.42:8545 --rpc https://mainnet.infura.io

Populate with standard account keyfile:

pipenv run python manager/push_keyfile.py $HOME/.ethereum/keystore/*

Testing

make devenv
make test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published