Skip to content
This repository has been archived by the owner on Feb 28, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant