0

If you initiate a transaction in real time, you need to store the private key on the geth server to initiate the transaction. Once the geth server is hacked, the private key may be leaked. Is there any good way to use the private key to initiate a transaction, but there is no danger of the private key being leaked?

Hope you can give me some help, thanks!

1 Answer 1

0

The best way to do it is not to have private keys on the server-side. Most Ethereum decentralised applications have their keys in client-side wallets and there is very little need for so-called hot wallets.

A good approach is to minimize the risk of compromised keys. Make sure that the key does not hold any balance and is basically almost worthless for anyone compromising it. For example, in the mining use case, withdraw balance from the server every day to a safe cold wallet, so you can lose max daily profits in the case the server is hacked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.