11-22-2024
BSV
$67.98
Vol 219.66m
-2.79%
BTC
$98381
Vol 122623.88m
3.69%
BCH
$490.32
Vol 2320.94m
9.52%
LTC
$89.98
Vol 1462.18m
6.09%
DOGE
$0.38
Vol 9278.67m
-0.01%
Getting your Trinity Audio player ready...

1Sat Ordinals marketplace and wallet Aym has released the OP_NS protocol and miner of provably unique domain names on the BSV blockchain. Leveraging the Sats Names and BRC-20 protocols of defining namespaces and tokens, OP_NS enforces unique namespaces directly in Bitcoin Script via a stateful contract implemented via sCrypt.

Unlike the text-based protocols on BTC, where indexers and marketplaces must validate the authenticity via the “first is first” principle, names mined via OP_NS cannot be duplicated. “First is first” still applies in the sense that the first to mine the unique name, for example, mining “shua” claims the namespace in the form of a 1Sat Ordinal. To claim, the user must submit the combination of characters they want to mine, along with a hash that proves they did enough proof of work to claim the name. Users claim one character at a time, meaning to mine “shua,” “s,” “sh,” and “shu” must be first mined. If someone else previously mined those character combinations, but a user just wants the unique combination “shua,” they can directly mine “shua.”

The contract that enforces uniqueness is stateful, so its functionality is Ethereum-like, where state is preserved on-chain, however, race conditions can occur. If two users are mining two different names, the first to find the solution via proof of work will spend the contract UTXO, and the second will have to spend from the next state, meaning they may have to stop and redo the proof of work. This is a trade-off of Bitcoin’s scalable UTXO model vs. Ethereum’s global state (which has not proven scalability).

Users can mine in their web browser and, upon success, can immediately list the names for sale on the global order book or send to another wallet.

Aym mining
Source: Aym

Aym charges 500,000 satoshis for each character successfully mined, and another 500,000 for inscribing the ordinal NFT. Users are only charged if the mining is successful. The fees are quite high, given that the code runs on the client side and the inscription costs are only a few satoshis. However, since Aym is the first to market, they can charge such fees.

The mining software is open-sourced in TypeScript, so any developer can mine from the terminal, bypassing the platform fees. Additionally, the miner can be optimized or even implemented for GPUs and ASICs since the algorithm is based on SHA-256. If this namespace protocol gains adoption, incentives exist to iterate on this infrastructure, making it more robust and promoting competition.

A drawback is the difficulty of mining is initially arbitrary; low enough so that anyone can mine with their CPU in a web browser. This difficulty is not dynamic, meaning if a developer built a significantly more powerful miner, they could claim all the names easily. Bitcoin solved this with its novel difficulty adjustment algorithm (DAA). Ideally, OP_NS would have implemented this from the start, but that would have been quite cumbersome to do directly in Bitcoin Script.

OP_NS domains are verified name spaces atop Bitcoin, so other protocols could leverage these for other functionality, such as fungible tokens, or collections. The owner of the “aym” domain could issue an “aym” token that is proven to be issued and owned by that namespace. These protocols can also be combined with Proof of Work to have mineable tokens and collections. The possibilities when combining these open protocols are endless—mine your domain today at aym.world/op.

Watch: 1Sat Ordinals on Bitcoin

Recommended for you

David Case gets technical with Bitcoin masterclass coding sessions
Whether you're a coding pro or a novice, David Case's livestream sessions on the X platform are not to be...
November 21, 2024
NY Supreme Court’s ruling saves BTC miner Greenidge from closing
However, the judge also ruled that Greenidge must reapply for the permit and that the Department of Environmental Conservation has...
November 20, 2024
Advertisement
Advertisement
Advertisement