Quick bit of handy code to deploy a token on the AION blockchain.
- Install Dependencies using
npm install - Run
index.jsfile usingnpm run start
Be sure to add your own credentials into a credentials.js file with the following variables.
PRIVATE_KEYEither create a wallet programatically, or use [AIWA]: https://getaiwa.com to create a wallet and then grab testnet Aion from the [faucet]: https://faucets.blockxlabs.com/aionNODESMITH_APIUse Nodesmith to obtain an endpoint to access the blockchain [here]: https://nodesmith.io/CONTRACT_ADDRESSThe contract address of a deployed token, if you wish to utilize thetransferTokenfunction.TO_ADDRESSAn address that you would like to send the deployed token to.