Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

velodrome-finance/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Velodrome Finance HTTP API 🚲💨🕸️

Velodrome Finance HTTP API is used by our app to fetch tokens and liquidity pool pairs.

Please make sure you have Docker first.

To build the image, run:

$ docker build ./ -t velodrome/api

Next, make a copy of the env.example file, and update the relevant variables.

Finally, to start the container, run:

$ docker run --rm --env-file=env.example.copy -v $(pwd):/app -p 3001:3001 -w /app -it velodrome/api

To run the syncer (refreshes data from chain) process, run:

$ docker run --rm --env-file=env.example.copy -v $(pwd):/app -p 3001:3001 -w /app -it velodrome/api sh -c 'python -m app.pairs.syncer'

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •