BitnetMoney / bitnet

This repository houses the primary implementation of the Bitnet client in Golang. Any significant changes must undergo the BTIP (Bitnet Improvement Proposal) process to be incorporated into the main Bitnet codebase, but we encourage anyone to submit suggestions and provide feedback on the main code.
https://bitnet.money/
GNU Lesser General Public License v3.0
12 stars 6 forks source link
blockchain contracts cryptocurrency currency decentralization digital money smart

Bitnet Core: Your Gateway to Decentralized, Programmable Money

Bitnet combines the decentralization of Bitcoin with the programmability of Ethereum, making it a dual-purpose blockchain technology. Utilize the protocol to create, transfer, and receive Bitnets, or leverage its smart contract capabilities to build complex applications—from digital assets and non-fungible tokens (NFTs) to decentralized autonomous organizations (DAOs) and much more.

Insight: The only way forward is through decentralization.

Important Notice For Version 0.0.5 Users

If you have any issues syncing with the network, please try the following steps:

  1. If you're executing the Bitnet binary directly and in a single step, try initializing the protocol genesis before starting the bitnet (or bitnet.exe on Windows) binary. You can do that by running the command below inside your Bitnet folder - it assumes you have downloaded the latest pre-build release:
./bitnet --datadir bitnet.db init .genesis && ./bitnet --networkid 210 --config .nodeconfig

or, if you're on Windows:

.\bitnet --datadir bitnet.db init .genesis ; .\bitnet --networkid 210 --config .nodeconfig
  1. Try deleting your existing database for a full resync with the network. You can use the command below to delete the bitnet.db folder:
rm -rf bitnet.db

or, if you're on Windows:

rmdir /s /q bitnet.db

If after following the steps above you still cannot sync your node, please ask for help in one of our community channels. Most of our developers are more active on Discord than in other social media platforms.

Install Script

You can install all the necessary dependencies by running:

python install.py

Replace python with python3 if your system is version-sensitive.

Build From Source

Should you wish to build Bitnet from source, ensure you have the following software:

Note: If either of these components is missing or corrupt, the build will fail. For a pre-built version with binaries compatible with your operating system, visit our Releases Page.


You can run the following script to build Bitnet from source:

python build.py

Replace python with python3 if your system is version-sensitive.

Alternatively you can bypass the Python build script by using Go and GCC directly:

go run build/ci.go install ./cmd/bitnet

Key Metrics

Genesis Block

The Mainnet Genesis Hash is as follows:

0xa3cc7f928cebbc82a199e3c506104df317244e5de86018b8753ef3096f674f1a