Closed T-Dnzt closed 5 years ago
Question: Does it generate a private key directly or should it be a mnemonic phrase?
Actually a mnemonic phrase would allow multiple addresses under the same phrase as well, which would be useful in generating more addresses for accounts & custodial users?
But can't we just re-generate new private / public when needed? I don't see the usefulness of using a mnemonic phrase.
Ok so referring to #690 that private keys will be encrypted & stored in the database, with the single encryption key stored in environment variable. This should solve the trouble having to manage a lot of private keys.
A library we might want to explore: https://github.com/izelnakri/eth
Looks like izelnakri/eth is mainly a wrapper over mana-ethereum/ethereumex that casts and maps values. Very handy!
But given that it's been inactive since May 2018, we might want to roll our own that uses mana-ethereum/ethereumex directly.
Closed by #807 and #863
This issue consists in implementing a module that will generate a new Ethereum account and all the needed helper functions. From it, we should be able to get a private key, a public key and an address. This will later be used for hot wallet generation.