Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Initialize gateway wallet with specified ECDSA private key #41

Open
37ng opened this issue Jan 23, 2024 · 0 comments
Open

Initialize gateway wallet with specified ECDSA private key #41

37ng opened this issue Jan 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@37ng
Copy link
Contributor

37ng commented Jan 23, 2024

Is your feature request related to a problem?

Currently it generates a new random wallet every time the gateway is initialized. We should be able to create a configurable wallet from a specified private key.

Describe the solution to the problem

Use a WALLET_PRIVATE_KEY environment variable and create a wallet from it during gateway initialization.

Describe the uses cases for the feature

We probably need to store this private key in AWS secret manager and pass its value into the container as a environment variable.
We could even use KMS to sign the txs instead of using in-memory wallet to boost the security, but that doesn't need to be prioritized for now.

Additional details

No response

@37ng 37ng added the enhancement New feature or request label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant