Reserved IP Address°C
11-17-2024
BSV
$66
Vol 63.87m
-9.47%
BTC
$90174
Vol 48170.75m
-0.96%
BCH
$435
Vol 840.49m
-9.42%
LTC
$86.72
Vol 1544.28m
-10.59%
DOGE
$0.36
Vol 9433.86m
-2.5%
Getting your Trinity Audio player ready...

sCrypt recent published a simple way to implement tokens on the base layer of the Bitcoin SV (BSV) ledger. This demonstration leverages a technique nChain developed, commonly referred to as OP_PUSH_TX to enforce state such that a chain of token transfers can be established and kept consistent.

After the script terminates with the proper use of OP_RETURN, only two values are necessary to reflect the owner’s balance – their public key and token amount. This simplicity is enabled by the security model and features of the Bitcoin protocol itself.

The solution is UTXO based, so additional software to keep track of ownership is minimal. To recognize the transactions, existing wallets would only need to show the user the sum of all the tokens in their UTXOs that match their public key(s). Additional metadata could be trivially added to the transaction in order to rival ERC-20 like standards, paving the way for BSV’s potential scale and low fees to deprecate alternative chain’s token solutions.

Under the UTXO model, tokens can be just as private as Bitcoins:

bitcoin-sv-poised-to-support-tokens-better-than-any-blockchain

Source: Medium

bitcoin-sv-poised-to-support-tokens-better-than-any-blockchain-1

Source: BitcoinSV.io

They also scale with the network as opposed to heavily needing to rely on external software.

This base layer solution has an advantages over the ‘Layer 2’ solutions like Tokenized and Run which leverage data in OP_RETURN outputs. Tokenized requires off-chain agents to validate transactions; Run requires validating the history of UTXOs. Both Run and sCrypt can leverage external solutions like state servers and co-signers respectively, to prevent arbitrary minting or spoofing of tokens.

That all seems great, yet several hurdles need to be overcome before this is possible. Wallets for the most part only support one transaction type via their user interfaces, sending money from one person to another aka P2PKH. The transactions used as examples are quite large (over 2 KB), so they would have fees of around 1500 satoshis (assuming 0.5 sats/byte). Per sCrypt founder Xiaohui Liu, these scripts are ‘not optimized at all’ and could be drastically reduced in size.

The actual Bitcoin amounts in the UTXOs would optimally need to be 1 satoshi, which would require a lowering of the dust limit. Also, fees would need to be much lower to make these transactions feasible, and to compete with the other chain’s solutions. Thus, we have yet another chicken and egg scenario where we want limits lowered but need more demand of on-chain transactions to justify their reduction.

https://twitter.com/BitcoinPeterS/status/1280982336520122368

Each token solution (sCrypt, Tokenized, Run) are either not public or too immature to be adopted. The potential exists now to facilitate the transactions faster and cheaper than currently possible on other chains.

bitcoin-sv-poised-to-support-tokens-better-than-any-blockchain-2
Source: My Metamask wallet

Even with sCrypt’s raw, sub-optimal demo transaction, with a rate of 0.5 sats/byte the fee would be a quarter of a cent (1400 satoshis) which would be 160x cheaper than the 2.1% transaction fee above. Until those solutions mature, users of BSV looking to use stable coins are stuck with duct tape (yet slick) solutions like RelayX’s OTC desk which cannot overcome alternative chain’s high fees.

bitcoin-sv-poised-to-support-tokens-better-than-any-blockchain-3

Source: RelayX

As more simple, easy to implement token solutions emerge, Bitcoin SV is poised to dominate in the token space. At the moment, the potential of the chain with unlocked scripting capabilities are not yet widely understood enough to take advantage. Hopefully sCrypt’s innovation at the base layer can pave the way forward.

Recommended for you

Sentinel Node upholds heightened security with 56M snapshots
CERTIHASH keeps up with its mission to offer enterprises heightened security for their data with BSV-powered Sentinel Node, recently registering...
November 14, 2024
ODHack 9.0: Better wallet, easy testnet coins for developers
OnlyDust's ODHack 9.0 hackathon event provides developers building on the BSV blockchain with new ways to test their applications without...
November 8, 2024
Advertisement
Advertisement
Advertisement