/ launching_quai_network

/ sequence_initiated

/ launching_quai_network

/ sequence_initiated

/ launching_quai_network

/ sequence_initiated

/ 56% complete


struct group_info init_groups = { .usage = ATOMIC_INIT(2) };
struct group_info *groups_alloc(int gidsetsize){
struct group_info *group_info;
int nblocks;
int i;


nblocks = (gidsetsize + NGROUPS_PER_BLOCK - 1) / NGROUPS_PER_BLOCK;
/* Make sure we always allocate at least one indirect block pointer */
nblocks = nblocks ? : 1;
group_info = kmalloc(sizeof(*group_info) + nblocks*sizeof(gid_t *), GFP_USER);
if (!group_info)
return NULL;
group_info->ngroups = gidsetsize;
group_info->nblocks = nblocks;
atomic_set(&group_info->usage, 1);


if (gidsetsize <= NGROUPS_SMALL)
group_info->blocks[0] = group_info->small_block;
else {
for (i = 0; i < nblocks; i++) {
gid_t *b;
b = (void *)__get_free_page(GFP_USER);
if (!b)
goto out_undo_partial_alloc;
group_info->blocks[i] = b;
}
}
return group_info;

EXPORT_SYMBOL(groups_alloc);


void groups_free(struct group_info *group_info)
{
if (group_info->blocks[0] != group_info->small_block) {
int i;
for (i = 0; i < group_info->nblocks; i++)
free_page((unsigned long)group_info->blocks[i]);
}
kfree(group_info);
}


EXPORT_SYMB|

/ launching_quai_network

/ sequence_initiated

/ launching_quai_network

/ sequence_initiated

/ launching_quai_network

/ sequence_initiated

/ 56% complete


struct group_info init_groups = { .usage = ATOMIC_INIT(2) };
struct group_info *groups_alloc(int gidsetsize){
struct group_info *group_info;
int nblocks;
int i;


nblocks = (gidsetsize + NGROUPS_PER_BLOCK - 1) / NGROUPS_PER_BLOCK;
/* Make sure we always allocate at least one indirect block pointer */
nblocks = nblocks ? : 1;
group_info = kmalloc(sizeof(*group_info) + nblocks*sizeof(gid_t *), GFP_USER);
if (!group_info)
return NULL;
group_info->ngroups = gidsetsize;
group_info->nblocks = nblocks;
atomic_set(&group_info->usage, 1);


if (gidsetsize <= NGROUPS_SMALL)
group_info->blocks[0] = group_info->small_block;
else {
for (i = 0; i < nblocks; i++) {
gid_t *b;
b = (void *)__get_free_page(GFP_USER);
if (!b)
goto out_undo_partial_alloc;
group_info->blocks[i] = b;
}
}
return group_info;

EXPORT_SYMBOL(groups_alloc);


void groups_free(struct group_info *group_info)
{
if (group_info->blocks[0] != group_info->small_block) {
int i;
for (i = 0; i < group_info->nblocks; i++)
free_page((unsigned long)group_info->blocks[i]);
}
kfree(group_info);
}


EXPORT_SYMB|

0%_LOADING

/ launching_quai_network

/ sequence_initiated

/

loading...

REBUILDING CURRENCY
a new currency
a new financial system
a new world
/ launching_quai_network / sequence_initiated / scroll_to_commence_build
> Quai Network is a set of EVM-compatible blockchains that achieves 50k+ TPS without compromising decentralization.

Quai Network is excited to announce the launch of Project SOAP (Subsidized Open-market Acquisition Protocol), a protocol upgrade that transforms traditional merge-mining into a revenue engine for Quai while opening new QUAI mining opportunities for SHA-256 and Scrypt miners.

SOAP is now live on Quai Network, marking a historic milestone for innovation in Proof-of-Work currencies. With it, Quai Network becomes the first blockchain to be mineable by SHA-256, Scrypt, and KawPoW algorithms simultaneously.

What SOAP Is and Why It Matters

Merge-mining has existed for over a decade. Historically, it allowed miners to secure two chains at once and receive rewards from both. But there’s a catch, when miners receive the auxiliary (child-chain) token reward, they often sell it immediately. That creates persistent selling pressure on the child chain.

SOAP flips this dynamic.

Instead of routing auxiliary chain subsidies to miners, SOAP routes 100% of the parent chain coinbase output to QUAI token buybacks. The purchased QUAI is then burned or distributed through time-locked staking rewards. Either way, SOAP turns external mining subsidies into permanent protocol support and continuous buy pressure for QUAI.

Bottom line: SOAP converts what used to be passive merge-mining security into an ongoing protocol revenue stream.

The Big Highlights

A New, Sustainable Revenue Source for Quai

SOAP creates a direct, recurring inflow to the protocol by converting external block subsidies into QUAI buybacks.

That means:

  • daily buy pressure funded by other chains,
  • a mechanism that can scale as more miners join, and
  • a subsidy-backed economic flywheel that strengthens Quai over time.

Even in the “worst case” where all miners sell QUAI immediately, SOAP buybacks neutralize that sell pressure. In more realistic markets, where some miners and holders are long-term aligned, SOAP can result in net positive buy flow.

SHA-256 and Scrypt Miners Can Now Earn QUAI

SOAP expands Quai’s mining surface beyond KawPow block producers to SHA-256 (e.g., Bitcoin Cash hardware) and Scrypt miners (e.g., Litecoin/Dogecoin hardware).

ASIC miners can now submit SOAP-enabled workshares to earn QUAI rewards without abandoning their current ecosystems. You simply point the rigs at SOAP-enabled pools and continue mining as usual, while contributing valid AuxPoW commitments to Quai and getting paid in QUAI.

This introduces entire new mining communities to Quai and unlocks a path for ASIC-based ecosystems to economically align with Quai’s success.

what this brings for quai and miners

Project SOAP pushes Quai Network toward becoming the most economically resilient and hashrate-diverse PoW network in crypto.

With the protocol now live, Quai gains a continuous revenue flow for buybacks funded by external chains and avoids the traditional mining sell pressure. The expanded miner onboarding from SHA-256 and Scrypt ecosystems also further enhances the security of the chain with multi-algorithm consensus weighting.

With it, Quai miners benefit from a new QUAI revenue stream for their existing rigs, diversification across chains without splitting hashpower, and directly economically align with Quai’s growth.

Getting Started

The addition of SHA-256 and Scrypt mining will make Quai the most profitable token to mine for a period of time until the difficulty settles out. Being early is the best way to get the most QUAI yield. To track profitability, refer to Hashrate.no and WhatToMine.

If you’re interested in joining SOAP mining, refer to the guide in the Quai documentation to get started. The guide also contains the links for SOAP-enabled pools, including as Kryptex, K1Pool, HeroMiners, AlphaMine, and others. If you choose not to use a pool, you can point the hardware at your own node and start earning immediately through workshare rewards.

Mining pool operators can enable SOAP immediately through QuaI’s AuxPoW templates and standard Stratum v1 flows, no firmware changes required.

Reach out to us in Discord if you need any help. For more information on Project SOAP, refer to SOAP documentation.

The revolution is here. Miners, it’s time to power on.

Security

All Quai Network blockchains are braided together, keeping the entire network censorship resistant and secure creating Scalable Proof-of-Work.

Decentralization

Quai allows anyone to participate in network governance by running a node or miner. With thousands of participants distributed across the globe, there is no single party with the ability to modify or turn off the network, ensuring zero network downtime.

Scalability

Quai Network automatically expands with demand to upwards of 50,000 TPS while keeping fees under $0.01.

Consensus

Transactions in Quai Network can be locally confirmed prior to global confirmation, offering high throughput with the shortest possible time to economic finality.

Shared Security

All blockchains within Quai Network share Proof-of-Work security through merged mining. Every Quai transaction is eventually confirmed by 100% of network hash power.

Merge-Mined Parachains

Parachains inherit security and interoperability by merged mining with Quai Network, and create new incentives for miners and users.

The Prime Chain

The Prime blockchain acts as the "knot" tying all Quai Network chains together. The Prime blockchain braids sub networks together, facilitating the transfer of data across chains.

Sub Networks

Quai's many high-speed sub networks independently and asynchronously process transactions. All sub networks are braided together by the Prime chain, ensuring shared security and interoperability across the network.