Obtain Account Address From Entity's ID
To convert an entity ID (Base64 encoded), e.g. nyjbDRKAXgUkL6CYfJP0WVA0XbF0pAGuvObZNMufgfY=, to a staking account address, run:
1
oasis-node stake pubkey2address \
2
--public_key nyjbDRKAXgUkL6CYfJP0WVA0XbF0pAGuvObZNMufgfY=
Copied!
This will output the staking account address for the given entity ID:
1
oasis1qrvsa8ukfw3p6kw2vcs0fk9t59mceqq7fyttwqgx
Copied!
You can find your entity's ID in the id field of the entity.json file.
Last modified 1yr ago
Copy link