You must ensure the following prerequisites are met before you can generate an account hash:
- Set up your machine
- Have a Casper Account and its public key
- Install the Casper command-line client
Generating an Account Hash
To generate an account hash use the following command:
casper-client account-address --public-key <PUBLIC KEY HEX CODE>
Sample Output
account-hash-a2c2a41c282452195e5dd267272d12ed3e991467a5f881aab96306bac1cec3e8
In the above output, a2c2a41c282452195e5dd267272d12ed3e991467a5f881aab96306bac1cec3e8
is the account hash and the prefix account-hash-
is used to make it a tight key.
Comments
0 comments
Please sign in to leave a comment.