-
|
In discord, Zerek asked how to find it; they gave some motivation:
for reference: https://github.com/Agoric/agoric-sdk/wiki/Setting-up-an-Agoric-Dapp-Client-with-docker-compose |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
I think I found the answer; details are below. @tgrecojs maybe you can explain? also note in |
Beta Was this translation helpful? Give feedback.
-
|
I finally found how to retrieve private key. When you want to get private key, you have 2 ways :
OR
|
Beta Was this translation helpful? Give feedback.
I finally found how to retrieve private key.
To precise something first :
--keyring-backend=testmeans that the privateKey is password less. According to cosmos documentation https://docs.cosmos.network/master/run-node/keyring.html#the-test-backendWhen you want to get private key, you have 2 ways :
agd keys export ag-solo --home=/state/202205280523443a4bb7/ag-cosmos-helper-statedir --keyring-backend=test --unarmored-hex --unsafewill export to HEX formatOR
agd keys export ag-solo --home=/state/202205280523443a4bb7/ag-cosmos-helper-statedir --keyring-backend=testwill ask for passphrase and then will generate an encrypted version