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

Source code formatter for Solidity?

7  Asked on November 24, 2021 by pi-delport

     

Ganache Storage

1  Asked on November 24, 2021

     

How to calculate CREATE2 address in golang?

1  Asked on November 22, 2021 by navigante

   

can’t get struct in return

1  Asked on November 20, 2021 by ms-b

         

Use web3.js without MetaMask

2  Asked on November 20, 2021

     

Ask a Question

Get help from others!

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