Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TODO: Persist keypair to disk #4

Open
mycognosist opened this issue Sep 12, 2023 · 2 comments
Open

TODO: Persist keypair to disk #4

mycognosist opened this issue Sep 12, 2023 · 2 comments

Comments

@mycognosist
Copy link
Contributor

Keypairs are currently in-memory only. We need a solution for storing and retrieving keypairs from disk.

@cblgh
Copy link
Member

cblgh commented Sep 12, 2023

what i'm doing in cable-client: storing the keypair in json with the json keys "publicKey" and "secretKey" with hex-encoded values

example from a test keypair in keypair.json:

{
"publicKey":"2a0d488ef1bc4943435c41de7b9305579459b41f00d89be053038a5a030a3b71",
"secretKey":"20c0eaf4195e03f229b3ec9ef6ad010c560b9a94af26ed7e2cd7b957aeff95dc2a0d488ef1bc4943435c41de7b9305579459b41f00d89be053038a5a030a3b71"
}

@mycognosist
Copy link
Contributor Author

Ah neat, that's nice and easy. This could be a great first-issue for a new contributor :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants