Skip to content

discochuck/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'

About

Glacier (Velodrome) HTTP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Dockerfile 0.4%