/BSC-API

Node JS APIs for Token transfer in Binance Smart Chain. Using this APIs you can do BSC based token transfers in your project.

Primary LanguageJavaScriptMIT LicenseMIT

BSC-API

Api -

  • Create account
  • Check BNB Balance
  • Check Token Balance
  • Transfer BNB
  • Transfer Token

Changes to be done in code -

  • Create .env file and use env_example file
    • CONTRACT_ADDRESS - set the contract address
  • In abi.json file add the abi of the contract

To install dependencies -

yarn install

How to start in local -

yarn start

How to start in server -

pm2 start --name "_name_" yarn -- start

Postman collection

https://documenter.getpostman.com/view/6109852/TzeZDRME