Fork Explorer let's you see the status of a BIP9-style softfork. It relies on bitcoind and its JSON-RPC server.
You need Deno to build and run this project. Deno is a new Javascript environment, similar to Node.
- Fix config file by duplicating
config/config.ts_TEMPLATE
toconfig/config.ts
and setting bitcoind's JSON-RPC credentials up. ./build-frontend.sh
../run-server.sh
.- Done.
If you want to build and run fork-explorer without bitcoind, you can start one of the two fake modes available:
Set mode: "fake"
or mode: "fake-backend"
in your config/config.ts
.
fake
: Backend will generate fake blocks
fake-frontend
: Frontend will generate fake blocks, this mode works in conjuction with ./frontend-dev-server.sh
Follow the code style of the file you are working in.
This project uses Prettier for code formatting. To contribute, install and activate the Prettier extension to your editor of choice.
For commits, make descriptive and atomic git commits. You can prefix the page or relevant code you are working with, for example on frontend change:
index: Add 90% indicator to Progress Bar
Or for the backend:
blocks: Make fakemode not depend on bitcoind
MIT