๐Associate / Dissociate Tokens
Allows multiple association / disassociation of tokens in a single transaction form the command line.
Usage
Edit your .env file (rename .env.example to .env) with the following items:
MY_ACCOUNT_ID=0.0.123456
MY_PRIVATE_KEY=302e.................
We recommend to remove the private key from the .env file after use. Extra precaution.
Then, in your Node.js command prompt terminal, you can use
node associateToken.js -e [test|main] -t -a [ass|dis]
Arguments
-t for Token id, for example -t 0.0.123456
. Or can be seperated by comma without space, example: -t 0.0.123456,0.0.456789
-a [ass|dis] associate or disassociate
Last updated