AnswerBun.com

The geth account new and web3.eth.accounts.create

Ethereum Asked by Nithin on August 7, 2020

The geth account new and web3.eth.accounts.create. That both function/command are same are different.To create new account.

One Answer

The former is using the CLI while the latter is using the interactive interpreter shell, which calls the web3js wrapper which calls the RPC end point to create an account. They both do the same thing, but I would say the CLI has a greater degree of abstraction. It would be interesting to know if the CLI calls the web3js library or the endpoint directly

Answered by Samuel Dare on August 7, 2020

Add your own answers!

Related Questions

geth: Failed to unlock account

2  Asked on January 16, 2021

   

Mining custom coin

1  Asked on January 4, 2021 by westernwarrior

   

How to validate proper implementation of ERC-1155 contract?

1  Asked on January 3, 2021 by steven-t-cramer

 

truffle-contract cannot deploy in node js

1  Asked on December 30, 2020 by arpit-bharti

 

How to Fix “Stack Too Deep” Error?

4  Asked on December 29, 2020 by jeffrey-liang

 

Can the Geth password be cracked

1  Asked on December 28, 2020

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir