how to create ethereum wallet account use to geth | geht tutorial | geth tutorial bangla



The different functions are split into multiple smaller logically grouped APIs. Examples are given for the JavaScript console but can easily be converted to an RPC request.

1. admin: Geth node management
2. personal: Account management

Private Network Create Command geth dir: geth –networkid 13 –port 60303 –rpc –lightkdf –cache
16 –datadir “D:BlockcahinDatablockchaindata” console

Welcome to the Geth JavaScript console!

datadir: D:BlockcahinDatablockchaindata
modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txp
ool:1.0 web3:1.0

The peers administrative property can be queried for all the information known about the connected remote nodes at the networking granularity. These include general information about the nodes themselves as participants of the P2P overlay protocol, as well as specialized information added by each of the running application protocols.
Example:
$ admin.addPeer(“enode://d749a1ee53d64623a2c889eafd5f826d652ec023ae6b19814025ed7
eb0656cfa0c35e1714421c2db8302c15208d7460a87dc9aa19eac7f09d9f21c2ec18ca42e@192.16
8.100.246:60303”)
true

Example:
$ admin.datadir
“D:\BlockcahinData\blockchaindata”

The nodeInfo administrative property can be queried for all the information known about the running Geth node at the networking granularity.
Example:
$ admin.nodeInfo
{
enode: “enode://33b942ded78ea2644028e4bdf0b6c8aada551aa43d4f01321be19d5601c447
c442f7e3ceab65221cb23f972d144b192722177b16ec5c5c3924b3be619f6ce64d@0.0.0.0:60303
“,
id: “33b942ded78ea2644028e4bdf0b6c8aada551aa43d4f01321be19d5601c447c442f7e3cea
b65221cb23f972d144b192722177b16ec5c5c3924b3be619f6ce64d”,
ip: “0.0.0.0”,
listenAddr: “[::]:60303”,
name: “Geth/v1.7.3-stable-4bb3c89d/windows-386/go1.9”,
ports: {
discovery: 60303,
listener: 60303
},
protocols: {
eth: {
difficulty: 131072,
genesis: “0xa37d0180402fa096f85d9f66b9ca42d951adf47231f8e68a6769e812ac1029
e9”,
head: “0xa37d0180402fa096f85d9f66b9ca42d951adf47231f8e68a6769e812ac1029e9”
,
network: 13
}
}
}

Example:

$ admin.peers
[]

Example:
$ admin.removePeer(“enode://d749a1ee53d64623a2c889eafd5f826d652ec023ae6b19814025
ed7eb0656cfa0c35e1714421c2db8302c15208d7460a87dc9aa19eac7f09d9f21c2ec18ca42e@192
.168.100.246:60303”)
true

Removes the private key with given address from memory. The account can no longer be used to send transactions.

Example:
$ personal.newAccount()
Passphrase:
Repeat passphrase:
“0x932b35c2772f5c596abedfcd92f5d387879b89c1”

Both passphrase and unlock duration are optional when using the JavaScript console. If the passphrase is not supplied as an argument, the console will prompt for the passphrase interactively.
Example:
$personal.unlockAccount(“0xF544cC03Adcad9B9cDf5BB8800443Ac02d3A2be8”)
Unlock account 0xF544cC03Adcad9B9cDf5BB8800443Ac02d3A2be8
Passphrase:
true

The status inspection property can be queried for the number of transactions currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only.
Example:
$ txpool.status
{
pending: 0,
queued: 0
}

source