Webservice for providing token price and supply information to token websites like Coinmarketcap and Coingecko.
The project is a Node.js webservice providing certain endpoints.
For accessing the bonding curve for the total supply the default mainnet Infura is used because the amount of request is expected to be around one per hour from the token websites.
npm install
npm start
TOKEN_CONTRACT_ADDRESS: the address of the BZZ token on the mainnet (default: 0x19062190b1925b5b6689d7073fdfc8c2976ef8cb)TOKEN_SERVICE_PORT: the port of the token webservice (default: 8765)INFURA_MAINNET_KEY: optional Infura API key (default: undefined)/health: returns 200 OK when the service is ready/readiness: returns 200 OK when the service is ready/token_price: returns the token price in DAI/circulating_supply: returns the token supply in BZZSee what "Maintainer" means here.
Content type
Image
Digest
Size
568.2 MB
Last updated
about 5 years ago
docker pull ethersphere/bzz-token-service