Create/Deploy a token on INERY and transfer to other accounts.

Create/Deploy a token on INERY and transfer to other accounts.

By otomatis | pramonoutomo | 27 Sep 2022


Inery is layer-1 blockchain designed to offer the solution of decentralized database management with the vision to enable a new paradigm for data. It lays the foundation for web3 by seamlessly connecting with systems, applications, and layer-1 networks.

If you haven't install your inery nodes, make sure you follow my tutorial on https://www.publish0x.com/pramonoutomo/inery-testnet-master-node-lite-node-tutorial-xpzpknr , i recomended use a good server like contabo ( https://Lihat.info/contabo ) because inery are recomended using a minimum 8 core, 16gb ram and 200gb nvme disk (will need more very soon as blockchain getting expanded).

The task number 2 is "Make your own currency and transfer to someone" , Task 2 of the Inery testnet faucet requires that task 1 was successfully done. Now your challenge is to create your own cryptocurrency on Inery testnet blockchain. You will be able to create currency by setting inery.token contract to your account. Choose the original symbol name and maximum supply for currency and execute create action. After that, you will have to issue some amount with your account to activate that tokens. Your tokens should be ready for transfer, send some tokens to 10 different accounts.

DISCLAIMER: THIS IS NOT TASK 2 TUTORIAL, THIS IS GENERAL TUTORIAL ABOUT HOW YOU CREATE/DEPLOY TOKEN ON INERY USING CONTRACT ON YOUR ACCOUNT. - THE TASK 2 TESTNET ARE NEED TO USE INERY.TOKEN CONTRACT AND IT'S DIFFERENT. 


Unlock your wallet first

cline wallet unlock -n YourWalletName

change YourWalletName to your wallet name (it may default or wallet or something like that), and than YourAccountName on below with your account name

Getting token abi and wasm file

cline get code inery.token -c token.wasm -a token.abi --wasm

this generate 2 file on /root folder, token.wasm and token.abi

Set wasm code to your account

cline set code -j YourAccountName token.wasm

Set abi code to your account

cline set abi YourAccountName token.abi

Create New Token

cline push action inery.token create '["YourAccountName", "Supply CurrencyCode"], "token description/memo"' -p YourAccountName

------ example:
cline push action inery.token create '["YourAccountName", "50000.0000 TEST" , "creating my first tokens"]' -p YourAccountName

Issue Your New Token

cline push action inery.token issue '["YourAccountName", "Supply CurrencyCode", "detail"]' -p YourAccountName

---------- example:
cline push action inery.token issue '["YourAccountName", "5000.0000 TEST", "Issuing some TEST token"]' -p YourAccountName

Transfer to another account

cline push action inery.token transfer '["YourAccountName", "DestinationWalletName", "Amount CurrencyCode", "Here you go 1 TEST for free :) "]' -p YourWalletName

-------- example: 
cline push action inery.token transfer '["YourAccountName", "pramonoutomo", "1.0000 TEST", "Here Is 1 TEST for you bro "]' -p YourAccountName

 

 

don't forget to send your token to me to show your love :) my account: pramonoutomo

 

Join @codeblocklabs on telegram  and subscribe my youtube channel https://youtube.com/c/pramonoutomo , thank you :)

 

DISCLAIMER AGAIN, THIS IS NOT TASK 2 TUTORIAL, IT'S A BASIC TUTORIAL FOR INERY TO CREATE/DEPLOY TOKEN *(USING YOUR OWN CONTRACT ON YOUR OWN ACCOUNT) AND SEND TOKEN TO OTHERS. :)

How do you rate this article?

4



pramonoutomo
pramonoutomo

Hey it's pram here, join my universe https://youtube.com/c/pramonoutomo and https://twitter.com/pramonoutomo also don't forget to check out my portofolio on https://pramonoutomo.com

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.