michael@michael-ubuntu:~/blockchain$ mkdir -p ChainSkills/private michael@michael-ubuntu:~/blockchain$ cd ChainSkills/private/ michael@michael-ubuntu:~/blockchain/ChainSkills/private$ puppeth +-----------------------------------------------------------+ | Welcome to puppeth, your Ethereum private network manager | | | | This tool lets you create a new Ethereum network down to | | the genesis block, bootnodes, miners and ethstats servers | | without the hassle that it would normally entail. | | | | Puppeth uses SSH to dial in to remote servers, and builds | | its network components out of Docker containers using the | | docker-compose toolset. | +-----------------------------------------------------------+ Please specify a network name to administer (no spaces, hyphens or capital letters please) > cfca Sweet, you can set this via --network=cfca next time! INFO [01-21|09:32:09.988] Administering Ethereum network name=cfca WARN [01-21|09:32:09.988] No previous configurations found path=/home/michael/.puppeth/cfca What would you like to do? (default = stats) 1. Show network stats 2. Configure new genesis 3. Track new remote server 4. Deploy network components > 2
What would you like to do? (default = create) 1. Create new genesis from scratch 2. Import already existing genesis > 1
Which consensus engine to use? (default = clique) 1. Ethash - proof-of-work 2. Clique - proof-of-authority > 1
Which accounts should be pre-funded? (advisable at least one) > 0x
Should the precompile-addresses (0x1 .. 0xff) be pre-funded with 1 wei? (advisable yes) > Specify your chain/network ID if you want an explicit one (default = random) > 6996 INFO [01-21|09:33:22.523] Configured new genesis block
What would you like to do? (default = stats) 1. Show network stats 2. Manage existing genesis 3. Track new remote server 4. Deploy network components > 2
Which folder to save the genesis specs into? (default = current) Will create cfca.json, cfca-aleth.json, cfca-harmony.json, cfca-parity.json > INFO [01-21|09:34:23.364] Saved native genesis chain spec path=cfca.json INFO [01-21|09:34:23.365] Saved genesis chain spec client=aleth path=cfca-aleth.json INFO [01-21|09:34:23.366] Saved genesis chain spec client=parity path=cfca-parity.json INFO [01-21|09:34:23.367] Saved genesis chain spec client=harmony path=cfca-harmony.json
What would you like to do? (default = stats) 1. Show network stats 2. Manage existing genesis 3. Track new remote server 4. Deploy network components > ^C michael@michael-ubuntu:~/blockchain/ChainSkills/private$ ls cfca-aleth.json cfca-harmony.json cfca.json cfca-parity.json michael@michael-ubuntu:~/blockchain/ChainSkills/private$ geth --datadir . init cfca.json INFO [01-21|09:42:29.231] Maximum peer count ETH=50 LES=0 total=50 INFO [01-21|09:42:29.231] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" INFO [01-21|09:42:29.231] Set global gas cap cap=25000000 INFO [01-21|09:42:29.231] Allocated cache and file handles database=/home/michael/blockchain/ChainSkills/private/geth/chaindata cache=16.00MiB handles=16 INFO [01-21|09:42:29.318] Writing custom genesis block INFO [01-21|09:42:29.325] Persisted trie from memory database nodes=354 size=50.23KiB time="778.382µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B INFO [01-21|09:42:29.325] Successfully wrote genesis state database=chaindata hash="747b68…5aa3aa" INFO [01-21|09:42:29.325] Allocated cache and file handles database=/home/michael/blockchain/ChainSkills/private/geth/lightchaindata cache=16.00MiB handles=16 INFO [01-21|09:42:29.452] Writing custom genesis block INFO [01-21|09:42:29.467] Persisted trie from memory database nodes=354 size=50.23KiB time=4.035487ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B INFO [01-21|09:42:29.467] Successfully wrote genesis state database=lightchaindata hash="747b68…5aa3aa" michael@michael-ubuntu:~/blockchain/ChainSkills/private$
michael@michael-ubuntu:~/blockchain/ChainSkills/private$ geth --datadir . account new INFO [01-21|09:43:57.608] Maximum peer count ETH=50 LES=0 total=50 INFO [01-21|09:43:57.608] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" Your new account is locked with a password. Please give a password. Do not forget this password. Password: Repeat password:
Your new key was generated
Public address of the key: 0x133ee7568C6a06155Bfd31CCDd9b4ab5e6194702 Path of the secret key file: keystore/UTC--2021-01-21T01-44-03.500559011Z--133ee7568c6a06155bfd31ccdd9b4ab5e6194702
- You can share your public address with anyone. Others need it to interact with you. - You must NEVER share the secret key with anyone! The key controls access to your funds! - You must BACKUP your key file! Without the key, it's impossible to access account funds! - You must REMEMBER your password! Without the password, it's impossible to decrypt the key!
michael@michael-ubuntu:~/blockchain/ChainSkills/private$ geth --datadir . account new INFO [01-21|09:44:24.251] Maximum peer count ETH=50 LES=0 total=50 INFO [01-21|09:44:24.251] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" Your new account is locked with a password. Please give a password. Do not forget this password. Password: Repeat password:
Your new key was generated
Public address of the key: 0xD7204F8c8dF887dC32C7202FbCEfFA43793eb2AE Path of the secret key file: keystore/UTC--2021-01-21T01-44-26.870996945Z--d7204f8c8df887dc32c7202fbceffa43793eb2ae
- You can share your public address with anyone. Others need it to interact with you. - You must NEVER share the secret key with anyone! The key controls access to your funds! - You must BACKUP your key file! Without the key, it's impossible to access account funds! - You must REMEMBER your password! Without the password, it's impossible to decrypt the key!
michael@michael-ubuntu:~/blockchain/ChainSkills/private$ geth --datadir . account new INFO [01-21|09:44:29.059] Maximum peer count ETH=50 LES=0 total=50 INFO [01-21|09:44:29.059] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" Your new account is locked with a password. Please give a password. Do not forget this password. Password: Repeat password:
Your new key was generated
Public address of the key: 0x8454b9158EB7f85A9830Ed40259C3fd39Cbce520 Path of the secret key file: keystore/UTC--2021-01-21T01-44-31.766014334Z--8454b9158eb7f85a9830ed40259c3fd39cbce520
- You can share your public address with anyone. Others need it to interact with you. - You must NEVER share the secret key with anyone! The key controls access to your funds! - You must BACKUP your key file! Without the key, it's impossible to access account funds! - You must REMEMBER your password! Without the password, it's impossible to decrypt the key! michael@michael-ubuntu:~/blockchain/ChainSkills/private$ geth --datadir . account list INFO [01-21|09:45:22.372] Maximum peer count ETH=50 LES=0 total=50 INFO [01-21|09:45:22.372] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" INFO [01-21|09:45:22.372] Set global gas cap cap=25000000 Account #0: {133ee7568c6a06155bfd31ccdd9b4ab5e6194702} keystore:///home/michael/blockchain/ChainSkills/private/keystore/UTC--2021-01-21T01-44-03.500559011Z--133ee7568c6a06155bfd31ccdd9b4ab5e6194702 Account #1: {d7204f8c8df887dc32c7202fbceffa43793eb2ae} keystore:///home/michael/blockchain/ChainSkills/private/keystore/UTC--2021-01-21T01-44-26.870996945Z--d7204f8c8df887dc32c7202fbceffa43793eb2ae Account #2: {8454b9158eb7f85a9830ed40259c3fd39cbce520} keystore:///home/michael/blockchain/ChainSkills/private/keystore/UTC--2021-01-21T01-44-31.766014334Z--8454b9158eb7f85a9830ed40259c3fd39cbce520