How to Mine

To mine Fractal Bitcoin, it is important that you have relevant expertise, specialized equipment and mining software. We recommend ensuring you possess the necessary technical knowledge and tools before proceeding.

Understanding the Mining Process.

Mining involves solving complex mathematical problems to validate transactions on the blockchain. However, simply running a node isn’t enough to successfully mine. Here’s a general breakdown:

  • Running a node ≠ Mining. Running a node allows you to participate in the network but doesn’t enable block mining.

  • You can use traditional programs like CPU Miner or GPU Miner to connect to a node and begin mining. However, these programs are typically only effective at low difficulty levels; at normal difficulty, mining is nearly impossible.

  • Specialized Mining Hardware: The most efficient mining method involves using ASIC miners connected to a mining pool. The mining pool retrieves work tasks from the node -> distributes them to the miners -> miners submit their work to the pool -> the pool sends the valid work to the node. Finally, the mining pool distributes the mining rewards to the miners based on their contributions.

How to Mine Fractal Bitcoin?

To mine Fractal Bitcoin, follow these steps:

1️⃣ Set up a Fractal Bitcoin node and update the bitcoin.conf file with the necessary configurations.

rpcport=8332
rpcuser=fractal
rpcpassword=fractal_1234567

2️⃣ Use the UniSat Wallet to generate a Bitcoin address (e.g., bc1qrcxxxxxxxxxxxxxxxxxxxxn772gm).

3️⃣ You can start mining using various mining programs, Fractal’s mining algorithm is SHA256d. Here, we'll use cpuminer as an example.

./miner -o http://172.0.0.1:10332 -u fractal -p fractal_1234567 --coinbase-addr=bc1qrcxxxxxxxxxxxxxxxxxxxxn772gm -a sha256d -t 1 --no-longpoll

Note: Direct mining with these setup is unlikely to be successful due to the high difficulty level. Joining a mining pool is necessary for effective mining.

What Is a Mining Pool and How Does It Work? A mining pool is a network of miners that combine their processing power to mine assets. You connect your client to the pool, the pool assigns work to you based on its criteria, and you receive payouts based on the work your mining rig submits to the pool.

How to start fractal mining in a mining pool?

Generally, mining pool software only requires you to configure the node RPC’s IP and port, the authorized account and password, and the address for receiving assets. Let's take the ViaBTC mining pool software as an example:

For Merged Mining, the node provides the createauxblock and submitauxblock RPCs related to merged mining, but it does not support the older getauxblock RPC. The integration mechanism is identical to connecting to Namecoin, with ChainID set to 0x2024. The software needs to be configured as follows:

    "main_coin": {
        "name": "BTC",
        "host": "192.168.1.10",
        "port": 8332,
        "user": "btc",
        "pass": "btc_xxxxxx"
    },
    "aux_coin": [
        {
            "name": "FB",
            "host": "192.168.1.11",
            "port": 8332,
            "user": "fractal",
            "pass": "fractal_1234567",
            "address": "bc1q1wxxxxxxxxxxxxx9mukymc"
        }
    ],
    "aux_merkle_nonce": 0,
    "aux_merkle_size": 16,
    "aux_job_timeout": 10,

For permissionless mining, configure as follows:

"main_coin": {
    "name": "FB",
    "host": "192.168.1.11",
    "port": 8332,
    "user": "fractal",
    "pass": "fractal_1234567"
},
"aux_coin": [
],

Resources

Last updated