Is It Safe To Make A Transaction On An Aion Shared Node?

Follow

Security warning for Transacting on Shared nodes

When using a shared node like the free trial version of the Aion Blockdaemon node, you should never use the unlockAccount function in order to make a transaction (either manually on a terminal or through a smart contract). Doing so exposes your private keys and could result in loss of funds.

 

Best practices for transacting on a shared node

If you want to transact on shared nodes the best practice is to NOT unlock account because it will make your account's personal functions(e.g. send transaction) available to anyone for a period of time that your account is unlocked on that node.

KEEP YOUR PRIVATE KEY SAFE

Make sure to secure your private key, don't push it to any repositories or any cloud services, make sure it's secure and available only to you.
Consider your private key a key to a publicly available safe.

If you already have a keystore generated by the wallet and you want to extract your private key from it to transact you can install the aion node, import your keystore into the keystore folder and run:

Copy
./aion.sh export <account address>

(node doesn't have to be synced or connected to any peers).

If you are a JavaScript user please refer to aion-keystore package to create account, encode transactions offline and send raw transactions.

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.