Quick bit of handy code to deploy a token on the AION blockchain.
- Install Dependencies using
npm install
- Run
index.js
file usingnpm run start
Be sure to add your own credentials into a credentials.js
file with the following variables.
PRIVATE_KEY
Either 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_API
Use Nodesmith to obtain an endpoint to access the blockchain [here]: https://nodesmith.io/CONTRACT_ADDRESS
The contract address of a deployed token, if you wish to utilize thetransferToken
function.TO_ADDRESS
An address that you would like to send the deployed token to.