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