Skip to content

kodo-exchange/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kodo Exchange HTTP API 🥁

Kodo Exchange 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

Kodo Exchange backend HTTP API 🥁

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published