{"repo":"hsjoberg/fork-explorer","free":true,"listed":false,"github":"https://github.com/hsjoberg/fork-explorer","clone":"git clone https://github.com/hsjoberg/fork-explorer.git","description":"Check how a BIP9-like softfork signalling goes","language":"TypeScript","stars":125,"topics":["bitcoind","deno","taproot","softfork","bitcoin"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Fork Explorer Fork Explorer let's you see the status of a BIP9-style softfork. It relies on bitcoind and its JSON-RPC server. Prerequisites You need Deno to build and run this project. Copy .env.template to .env , then configure the fork and bitcoind JSON-RPC credentials. The .env file is ignored by Git and must stay server-side. On a multi-user system, restrict it to the service account (for example, chmod 600 .env ). For deployment-specific rich content, copy config/config.example.tsx to config/config.tsx and edit the copy using Preact JSX. This is the default content-module path; set SITE CONFIG only to use a different path. The instance file is ignored by Git and is for public page content only. Keep all credentials in .env . How to run For development: Build and start for production: deno task start creates a production build and starts the server. To start an existing build without rebuilding it, use deno task preview . The listening address is configured with SERVER HOST and SERVER PORT in .env . Configuration is read when the process starts. Restart fork-explorer after changing .env . Generating block data from a specific difficulty period Difficulty period is calculated as floor([any block in the period]/2016) . deno run --allow-net --allow-read --allow-write generate/index.ts [period number] Once generated, the data is available via API call /blocks/[epoch number] or [project root]/data/periods/[epoch].json . You can also display generated periods on the site by goi","default_branch":null,"files":null,"tree":[],"storefront":"/r/hsjoberg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hsjoberg/fork-explorer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}