codetomake.com

accounts - How to create a wallet for ETH? - Ethereum Stack Exchange

2025.01.09 11:20



Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company, and our products

current community

Ethereum help chat Ethereum Meta

your communities

Sign up or log in to customize your list.

more stack exchange communities

company blog Log in Sign up Home Questions Tags Users Jobs Companies Unanswered Teams

Ask questions, find answers and collaborate at work with Stack Overflow for Teams.

Try Teams for free Explore Teams Teams

Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

How to create a wallet for ETH?

Ask Question Asked 1 year, 11 months ago Modified 1 year, 11 months ago Viewed 95 times 0

I'm a bit confused on the process now of creating wallets in the Ethereum ecosystem. At this time I'm creating an application that allows users to create their own wallets but I'm very confused on the process of creating them, coming from Cardano the process seems very different.

I've been reading the docs & it seems no one talks about creating Mnemonic Keys anymore, but instead use a 'Public & Private' key.

When I create my keys on the client, don't I have to submit them to the network to form an account, the docs explain nothing about this process.

I came across Clef but I'm not sure what the recommended steps are to take. Thanks in advanced :)

wallets accounts keystore Share Improve this question Follow asked Jan 16, 2023 at 21:25 CoderMan CoderMan 61 7 7 bronze badges 2 I m using Geth alongside Lighthouse & it seems Lighthouse has all the commands I need to create a wallet & submit them to the network – CoderMan Commented Jan 16, 2023 at 21:48 Please see here how to create a wallet . – Mikko Ohtamaa Commented Jan 17, 2023 at 9:50 Add a comment |

1 Answer 1

Sorted by: Reset to default Highest score (default) Date modified (newest first) Date created (oldest first) 0

With this code you can create a new private key:

import { ethers } from ethers ; const privateKey = ethers.utils.randomBytes(32); const wallet = new ethers.Wallet(privateKey);

You can store the privateKey on a database and query it in order to sign transactions.

Share Improve this answer Follow answered Jan 17, 2023 at 9:46 Rodrigo Burgos Rodrigo Burgos 794 4 4 silver badges 16 16 bronze badges 2 So you don t actually need to submit the created wallet to the network, once you derive public & private keys from a mnemonic sentence? – CoderMan Commented Jan 17, 2023 at 14:58 Exactly. You store the privateKey in a db and use it to sign transactions. The access to the privateKey can be achieved through auth. – Rodrigo Burgos Commented Jan 17, 2023 at 15:11 Add a comment |

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

The Overflow Blog WBIT #2: Memories of persistence and the state of state Failing fast at scale: Rapid prototyping at Intuit Featured on Meta The December 2024 Community Asks Sprint has been moved to March 2025 (and

Linked

1 How to create an Ethereum wallet?

Related

11 Secure paper wallet creation for ETH using JS 3 My address is no longer listed in cpp-ethereum s eth. How do I access my wallet/account? 0 From which HD wallet node is the private key in ethereum generated from? 2 Create multiple tokens and manage multiple wallets from the platform 0 As of 2020, what are the community-trusted desktop cold storage wallets? 1 Multiple receiver addresses for a single private key possible? 0 How to create/load/get address of/send transaction from/create accounts under my ETH wallet? (Clarification on wallets and accounts in the ETH node) 0 Sent to Safe Wallet(ETH) address that exists only for Polygon. Failed to retrieve. Searched and talked to CS but failed. Please advise

Hot Network Questions

Should I REALLY keep all my credit cards totally paid off every month? What to do when one gets a decimal value as degrees of freedom? Pancakes: Avoiding the spider batch Why does one have to hit enter after typing one's Windows password to log in, while it's not to hit enter after typing one's PIN? What have you been doing? Reaction scheme: one molecule gives two possibilities How to swim while carrying fins (i.e., when the fins aren't positioned on my feet)? Is AC/DC Analysis Just an Application of Superposition Theorem? What is the meaning behind stress distribution in a material, physically? Heaven and earth have not passed away, so how are Christians no longer under the law, but under grace? Rectangled – a Shikaku crossword How many ways to distribute 100 points among 6 people increasing with alphabetical order? Is sales tax determined by the state in which the SELLER is located, or the state in which the PURCHASER is located? Keeping meat frozen outside in 20 degree weather Did the term irrational number initially have any derogatory intent? Calculator in 24.04 has a conversion problem My team's PTO was restricted. What is the best way to proceed with getting this in writing? Is there a way to confirm your Alipay works before arriving in China? Methods to reduce the tax burden on dividends? SSH server status shows disabled If I have two hashes and know the relationship between the inputs, can I derive the original input? Would the disappearance of domestic animals in 15th century Europe cause a famine? Why doesn't Bio.PairwiseAligner output the same alignments as EMBOSS needle? What buffers and commands exist in regular vi (NOT Vim/gVim/etc)? more hot questions Question feed

Subscribe to RSS

Question feed

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Ethereum
Tour Help Chat Contact Feedback
Company
Stack Overflow Teams Advertising Talent About Press Legal Privacy Policy Terms of Service Cookie Settings Cookie Policy
Stack Exchange Network
Technology Culture & recreation Life & arts Science Professional Business API Data Blog Facebook Twitter LinkedIn Instagram

Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2025.1.7.20880