🟒Fractal Bitcoin


Step 1: Install Dependencies

  1. Install the necessary packages:

    • Make sure you have the following packages installed: git, build-essential, libssl-dev, libboost-all-dev, libevent-dev, libminiupnpc-dev, libzmq3-dev, libprotobuf-dev, protobuf-compiler, libqrencode-dev.

    On Ubuntu, you can do this with the following command:

    sudo apt-get update
    sudo apt-get install -y git build-essential libssl-dev libboost-all-dev libevent-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev

Step 2: Download the Source Code

  1. Clone the Fractal Bitcoin repository:

    git clone https://github.com/fractalbitcoin/fractalbitcoin.git
  2. Navigate to the project directory:

    cd fractalbitcoin

Step 3: Build the Project

  1. Configure the project:

    • Configure the build parameters using ./configure:

    ./autogen.sh
    ./configure
  2. Build the project:

    • Start the build process using make:

    make

Step 4: Configure the Node

  1. Create a configuration file:

    • The configuration file is located at ~/.fractalbitcoin/fractalbitcoin.conf. If the file does not exist, create it.

    mkdir -p ~/.fractalbitcoin
    nano ~/.fractalbitcoin/fractalbitcoin.conf
  2. Add basic settings to the configuration file:

    • For example:

    rpcuser=yourusername
    rpcpassword=yourpassword
    daemon=1
    server=1

Step 5: Start the Node

  1. Start the Fractal Bitcoin node:

    ./src/fractalbitcoind -daemon
  2. Check the status of the node:

    • Use the following command to check the status:

    ./src/fractalbitcoin-cli getblockchaininfo

Step 6: Monitoring and Management

  • Use fractalbitcoin-cli to interact with the node, for example:

    ./src/fractalbitcoin-cli getpeerinfo

Last updated