Skip to content

ethfinex/dvf-trustless-data

Repository files navigation

DeversiFi Trustless Data

Constantly wait for new blocks and sync Fill events.

Currently saves data into 3 collections

  • Blocks
  • Transactions
  • Events ( currently 'Fill' events)

Data Structures are documented on the models folder

Example endpoints

Example reports

  • TODO - Improve caching logic for all endpoints, perhaps even save some data such as

    • 24 hours volume for past days permanetly
  • TODO - Write better tests for all endpoins

  • TODO - Custom error page

Developing

  1. npm run develop

Note: you should update .env file with your own INFURA web3 provider address

Testing

  1. npm run test:watch

Once you update tests you must delete ./tests/fixtures and run tests again.

Once the tests are ran once the HTTP requests will be cached and the tests will run offline using the recorded HTTP responses found on ./tests/fixtures

You can also deploy your own version to heroku

Deploy to Heroku

About

Logs all Fill events and settelement transactions and provide and HTTP API to query the data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •