Skip to content

how to find keyring in docker-compose wallet? #5789

Answered by Ekzer
dckc asked this question in Q&A
Discussion options

You must be logged in to vote

I finally found how to retrieve private key.
To precise something first :
--keyring-backend=test means that the privateKey is password less. According to cosmos documentation https://docs.cosmos.network/master/run-node/keyring.html#the-test-backend

When 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 --unsafe will export to HEX format

OR

agd keys export ag-solo --home=/state/202205280523443a4bb7/ag-cosmos-helper-statedir --keyring-backend=test will ask for passphrase and then will generate an encrypted version

Replies: 2 comments 2 replies

Comment options

dckc
Jul 20, 2022
Collaborator Author

You must be logged in to vote
2 replies
@Ekzer
Comment options

@Ekzer
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dckc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants