{"id":24431088,"url":"https://github.com/0xjonaseb11/geth-block","last_synced_at":"2025-12-28T15:56:50.268Z","repository":{"id":208679637,"uuid":"722181224","full_name":"0xJonaseb11/geth-block","owner":"0xJonaseb11","description":"Create private blockchain using GETH","archived":false,"fork":false,"pushed_at":"2024-05-20T05:43:13.000Z","size":4076,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T14:58:38.977Z","etag":null,"topics":["blockchain","bootnode","geth","keystore","privateblockchain"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xJonaseb11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-22T15:54:36.000Z","updated_at":"2024-05-20T05:43:17.000Z","dependencies_parsed_at":"2023-11-22T18:46:32.931Z","dependency_job_id":"6e4ad3b6-17cc-4bed-b152-5b0c538b9c44","html_url":"https://github.com/0xJonaseb11/geth-block","commit_stats":null,"previous_names":["jonas-sebera/geth-block","jaz-3-0/geth-block","0xjonaseb11/geth-block"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJonaseb11%2Fgeth-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJonaseb11%2Fgeth-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJonaseb11%2Fgeth-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJonaseb11%2Fgeth-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xJonaseb11","download_url":"https://codeload.github.com/0xJonaseb11/geth-block/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243466989,"owners_count":20295309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","bootnode","geth","keystore","privateblockchain"],"created_at":"2025-01-20T14:58:44.226Z","updated_at":"2025-12-28T15:56:50.216Z","avatar_url":"https://github.com/0xJonaseb11.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# geth_block\n\n## About\n\n## `Create and interact with a Private Blockchain Using GETH [Go-ETHEREUM]`\n\n### QUICKSTART\n\n**To install `geth`,**\n\n```sh\nsudo apt update\nsudo apt install ethereum\n```\n\n`To create a node account,`\n\n```sh\ngeth --datadir \"./data\" account new \n```\n\n`To establish a connection,`\n\n```sh\ngeth --datadir ./data init ../geth_block/geth_block.json\n```\n\nLet's now create and generate a boot key for connecting node1 to bootnode and node2 to bootnode and viseversa\n\n`Create and generate a boot key`\n\n```sh\nbootnode -genkey boot.key\n```\n\n`To start a new network connection,`\n\n```sh\nbootnode -nodekey boot.key\n```\n\n### `To fully start the connection`\n\n`Navigate to the bootNode directory`\n\n```sh\n./GETH/bootNode \n```\n\n```sh\nbootnode -nodekey \"./boot.key\" -verbosity 7 -addr \"127.0.0.1:30303\"\n```\n\n`Connect node1,`\n\n```sh\n\ngeth --networkid 14333 --datadir \"./data\" --bootnodes enode://903307600f04d59ff73ecc41016a2112aedebd4021799f764092872bd4aa75b55786bb14665f6171707ba5aa242afe7691b70303deea79ab46c0f63af6d59fed@127.0.0.1:0?discport=30301 --port 30300 --ipcdisable --syncmode full --rpc --allow-insecure-unlock --rpccorsdomain \"*\" --rpcport 8545 --unlock 0xa23b87d009c9023BeF10442568C3392CA3eeD89d --password password.txt --mine console\n\n```\n\n**If `rpc` endpoint doesn't work, try using `http` as folows,**\n\n```sh\ngeth --networkid 14333 --datadir \"./data\" --bootnodes enode://903307600f04d59ff73ecc41016a2112aedebd4021799f764092872bd4aa75b55786bb14665f6171707ba5aa242afe7691b70303deea79ab46c0f63af6d59fed@127.0.0.1:0?discport=30301 --port 30303 --ipcdisable --syncmode full --http --allow-insecure-unlock --http.port 8545 --unlock 0xca9AdF6627A549c8D593439ab79E19f912E6dB11 --password password.txt --mine console\n\n```\n\n`Connect node2,`\n\n```sh\n\ngeth --networkid 14333 --datadir \"./data\" --bootnodes enode://903307600f04d59ff73ecc41016a2112aedebd4021799f764092872bd4aa75b55786bb14665f6171707ba5aa242afe7691b70303deea79ab46c0f63af6d59fed@127.0.0.1:0?discport=30301 --port 30303 --ipcdisable --syncmode full --rpc --allow-insecure-unlock --rpccorsdomain \"*\" --rpcport 8545 --unlock 0xa23b87d009c9023BeF10442568C3392CA3eeD89d --password password.txt console\n\n```\n\n`Want to only start a peer-2-peer network?`\n\n```sh\ngeth --networkid 14144 --datadir \"./data\" --bootnodes enode://903307600f04d59ff73ecc41016a2112aedebd4021799f764092872bd4aa75b55786bb14665f6171707ba5aa242afe7691b70303deea79ab46c0f63af6d59fed@127.0.0.1:0?discport=30301\n```\n\nIf `rpc` endpoint doesn't work, try using `http` as follows,\n\n```sh\ngeth --networkid 14333 --datadir \"./data\" --bootnodes enode://903307600f04d59ff73ecc41016a2112aedebd4021799f764092872bd4aa75b55786bb14665f6171707ba5aa242afe7691b70303deea79ab46c0f63af6d59fed@127.0.0.1:0?discport=30301 --port 30303 --ipcdisable --syncmode full --http --allow-insecure-unlock --http.port 8545 --unlock 0xca9AdF6627A549c8D593439ab79E19f912E6dB11 --password password.txt console\n\n```\n\n`Start mining some ether, Use console`\n\n`Configuration`\n\n```sh\ngeth --datadir \"./data\" --networkid 14144 --port 30303 --ipcdisable --syncmode full --mine console\n```\n\n`Unlock Your account`\n\n```sh\npersonal.unlockAccount(\"contract_account_address\", \"password\", 0)\n```\n\n`Start mining`\n\nIn geth console,\n\n```sh\nminer.start()\n```\n\n`Check mining status`\n\n```sh\neth.mining\n```\n\n`If true, check mined blocks`\n\n```sh\neth.Number\n```\n\n`After, when mining is done, stop mining`\n\n```sh\nminer.stop()\n```\n\n--------------\n\n@0xJonaseb11\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xjonaseb11%2Fgeth-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xjonaseb11%2Fgeth-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xjonaseb11%2Fgeth-block/lists"}