BSV
$54.34
Vol 15.27m
0.64%
BTC
$97119
Vol 40712.59m
-0.15%
BCH
$457.26
Vol 344.06m
1.78%
LTC
$102.85
Vol 819.15m
2.38%
DOGE
$0.32
Vol 4932.98m
-0.2%
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

Google unveils ‘Willow’; Bernstein downplays quantum threat to Bitcoin
Google claims that Willow can eliminate common errors associated with quantum computing, while Bernstein analysts noted that Willow’s 105 qubits...
December 18, 2024
WhatsOnChain adds support for 1Sat Ordinals with new API set
WhatsOnChain now supports the 1Sat Ordinals with a set of APIs in beta testing; with this new development, developers can...
December 13, 2024
Advertisement
Advertisement
Advertisement