{"id":19571605,"url":"https://github.com/block-core/blockcore-node","last_synced_at":"2025-02-26T10:42:57.302Z","repository":{"id":46883008,"uuid":"256739695","full_name":"block-core/blockcore-node","owner":"block-core","description":"Reference implementation of Blockcore based blockchain. Start here with your own blockchain!","archived":false,"fork":false,"pushed_at":"2020-04-18T12:19:23.000Z","size":9,"stargazers_count":13,"open_issues_count":1,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-13T23:50:11.100Z","etag":null,"topics":["blockchain"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","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/block-core.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}},"created_at":"2020-04-18T11:46:05.000Z","updated_at":"2023-09-28T11:14:17.000Z","dependencies_parsed_at":"2022-09-18T04:20:50.885Z","dependency_job_id":null,"html_url":"https://github.com/block-core/blockcore-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/block-core","download_url":"https://codeload.github.com/block-core/blockcore-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240072272,"owners_count":19743556,"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"],"created_at":"2024-11-11T06:19:27.257Z","updated_at":"2025-02-26T10:42:57.260Z","avatar_url":"https://github.com/block-core.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockcore Node\n\nReference implementation of Blockcore based blockchain.\n\n## Build your own blockchain\n\nSo you want to build your own blockchain? Then you have come to the right place.\n\nThis repository is all you need to get started building your own blockchain based on the Blockcore Platform.\n\n## Fork the repository\n\nStart by clicking the Fork button on the top of the repository on GitHub. After you have your own fork, clone your own repository to your local computer.\n\n## Generate your own genesis block\n\nAll blockchains start with a genesis block. This is the starting point that all other blocks build upon.\n\n(TODO: Build a binary release of the generator to make step simpler)\n\nTo generate your own genesis block, you can use our [Blockcore Genesis Block Generator](https://github.com/block-core/blockcore-tools/tree/master/src/Blockcore.Generator).\n\nAll you need is a unique text sentence used to seed your genesis block.\n\nFor Bitcoin, this is:\n\n```\nThe Times 03/Jan/2009 Chancellor on brink of second bailout for banks\n```\n\nYou must make it something unique and special for your own blockchain. Reference to an historical event is a good idea, as that defines a certain epoc when your blockchain was made.\n\nExample (Windows):\n\n```\nBlockcore.Generator.exe \"My Unique Blockchain\"\n```\n\nIt is going to take a while to mine this block, the application is using software based Proof-of-Stake mining to find the correct hash that has enough difficulty.\n\nWhen the application is done, it writes a file named \"genesis.txt\" in the same folder as you ran the application from. Take a backup of this file, you will need the details from it when you move to the next step. Note that there are no secrets in this file, you don't need to hide it.\n\n## Configure your own node\n\nBlockchains runs on full node software. Whenever you read about \"node\" in the context of Blockcore, it is usually a full node that does full validation of the blockchain.\n\nFirst step is to install our public available Blockchain template for the dotnet new command.\n\nIf you don't have .NET Core SDK installed on your computer yet, download it from here: https://dotnet.microsoft.com/download\n\nMake sure you get the .NET Core SDK 3.1 (not .NET Framework).\n\nAfter installation, open a command prompt and navigate to the src folder in your local cloned fork.\n\nThen run the following command:\n\n```\ndotnet new -i Blockcore.Coin.Template\n```\n\nOpen the [src\\SETUP.bat](src\\SETUP.bat) (Windows) in your favorite text editor and start editing all the configuration settings available.\n\nIf you are on Linux or Mac, you can copy the content of SETUP.bat and put in a shell script file, or you can manually execute the CLI command with all the parameters.\n\n### References for setup values\n\ncointype: https://github.com/satoshilabs/slips/blob/master/slip-0044.md\n\npubkeyaddress, scriptaddress, secretaddress: https://en.bitcoin.it/wiki/List_of_address_prefixes\n\n## Generate your node code\n\nAfter updating all settings in the SETUP.bat file, you can now run it to generate your own custom blockchain node.\n\n```\nsrc\\SETUP.bat\n```\n\nThis will generate a new folder named the same as your output configuration in setup file. Inside this folder you will find the source code for your node.\n\nOpen the solution file in Visual Studio 2019 and run the .Node project.\n\nYou have now successfully made your own custom blockchain.\n\n## Next steps\n\nThere are many additional things you'd want to do, to complete your own custom blockchain. You can run your chain without DNS nodes, but that means you need to hard-code all your nodes with IP addresses.\n\nTo learn more about your custom DNS nodes, check out: TBD\n\nYou can fork one of the multiple user interfaces built with Blockcore compatibility, including the \"Blockcore UI\" (basic wallet), \"Blockcore Core\" (cold-staking wallet) and the \"Blockcore Hub\" (extended functionality).\n\nTo gain insight to your blocks, you'd want to fork the [Blockcore Indexer](https://github.com/block-core/blockcore-indexer) and [Blockcore Explorer](https://github.com/block-core/blockcore-explorer) so you have an explorer that allows you to search and look up blocks, transactions and addresses.\n\nAdditional insight to your chain can be provided using the [Blockore Insight](https://github.com/block-core/blockcore-insight).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock-core%2Fblockcore-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblock-core%2Fblockcore-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock-core%2Fblockcore-node/lists"}