Skip to content

thirdfi/maiga-token-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Token API

A simple Fastify-based API for MAIGA token related operations on BSC (Binance Smart Chain).

Features

  • Get total supply of MAIGA token
  • Get circulating supply of MAIGA token

Setup

  1. Install dependencies:
npm install
  1. Create a .env file based on env-example:
cp env-example .env
  1. Configure your environment variables in .env:
    • PORT: Server port
    • BSC_RPC_URL: BSC RPC endpoint URL

Development

Start the development server:

npm run dev

Build the project:

npm run build

Start the production server:

npm start

API Endpoints

  • GET /total-supply - Returns the total supply of MAIGA token (1,000,000,000)
  • GET /circulating-supply - Returns the circulating supply of MAIGA token

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published