cowprotocol / dune-sync

Components for syncing off-chain data with Dune Community Sources
4 stars 1 forks source link

Affiliate Data API #21

Closed bh2smith closed 1 year ago

bh2smith commented 1 year ago

Related to https://github.com/cowprotocol/dune-bridge/issues/52

This PR implements the last change to fully replace the Dune Bridge project.

TODO

Add more tests (e.g. for API route)

Test Plan

Run the API server (requires Dune API key)

Try it out

http://127.0.0.1:5000/profile/xyz
127.0.0.1:5000/profile/0x247b317521d7edcfaf9b6d6c21b55217e5c34e0a
bh2smith commented 1 year ago

Thanks @gentrexha - note also that I am adding the tests you suggested. Will have them in tomorrow morning.

bh2smith commented 1 year ago

I found these docs on concurrency in python 3.11. Will take a look tomorrow.

https://docs.python.org/3/library/concurrency.html

bh2smith commented 1 year ago

Closing because this program has been abandoned. Not sure how we expect to show users their Total Trade Volume in the interface....