A simple Fastify-based API for MAIGA token related operations on BSC (Binance Smart Chain).
- Get total supply of MAIGA token
- Get circulating supply of MAIGA token
- Install dependencies:
npm install- Create a
.envfile based onenv-example:
cp env-example .env- Configure your environment variables in
.env:PORT: Server portBSC_RPC_URL: BSC RPC endpoint URL
Start the development server:
npm run devBuild the project:
npm run buildStart the production server:
npm startGET /total-supply- Returns the total supply of MAIGA token (1,000,000,000)GET /circulating-supply- Returns the circulating supply of MAIGA token
MIT