Bitcoin Forum
May 02, 2024, 11:28:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What's the advantage of BRC20 compared to other Bitcoin token mechanisms?  (Read 248 times)
d5000 (OP)
Legendary
*
Offline Offline

Activity: 3906
Merit: 6142


Decentralization Maximalist


View Profile
May 03, 2023, 07:23:47 PM
Last edit: May 08, 2023, 04:58:22 PM by d5000
Merited by LoyceV (6), vapourminer (2), nutildah (2)
 #1

I'm a bit surprised by the success of the BRC-20 token protocol which is clogging the blockchain right now. BRC-20 seems to be a way to create and transfer fungible tokens storing a small JSON file in an Ordinal inscription.

That's how a BRC-20 inscription looks like:

Code:
{
  "p": "brc-20",
  "op": "mint",
  "tick": "soon",
  "amt": "1000"
}

Most readers of this subforum will know that there are already dozens of protocols allowing tokens on Bitcoin, the oldest probably being EPOBC (2012). Most are now based on data storage via OP_RETURN. The most popular - until BRC20 emerged - was were Omni (2013) and Counterparty (2014) which seem to be continuosly updated and improved. And there are advanced protocols with very efficient mechanisms like RGB and Taro (which can be used for much more things than tokens).

What I'm interested in is to know if BRC-20 has any advantage respect to the OP_RETURN based systems. Yes, a JSON file seems quite "elegant" or easy to create. But it's also terribly inefficient to store a dictionary of the needed data (i.e. token type, name, quantity of the transaction etc.) as a JSON text instead of storing only the values in an OP_RETURN string, for example using Protocol Buffers. It may not be a big advantage (a dozen or two of bytes, perhaps) but technically you'll still pay higher fees occupy more space with BRC-20 than even with the simplest OP_RETURN based approaches.

Someone knows if there's any advantage to use this method? My own interpretation is that it's simply popular "because Ordinals is popular". But is there more?



PS: I've made a small correction and it may be already answering my question: It's possible that while you occupy more space on the blockchain with BRC20, the witness discount is enough to counter any real space efficiency advantage and thus leading to equal or even less fees.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
1714649337
Hero Member
*
Offline Offline

Posts: 1714649337

View Profile Personal Message (Offline)

Ignore
1714649337
Reply with quote  #2

1714649337
Report to moderator
1714649337
Hero Member
*
Offline Offline

Posts: 1714649337

View Profile Personal Message (Offline)

Ignore
1714649337
Reply with quote  #2

1714649337
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714649337
Hero Member
*
Offline Offline

Posts: 1714649337

View Profile Personal Message (Offline)

Ignore
1714649337
Reply with quote  #2

1714649337
Report to moderator
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3214



View Profile
May 03, 2023, 11:43:28 PM
Merited by d5000 (1), ABCbits (1)
 #2

PS: I've made a small correction and it may be already answering my question: It's possible that while you occupy more space on the blockchain with BRC20, the witness discount is enough to counter any real space efficiency advantage and thus leading to equal or even less fees.

While witness data costs much less, a more efficient encoding in the witness data is still cheaper, so your point of using a more efficient encoding is still valid.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
sha420hashcollision
Member
**
Offline Offline

Activity: 98
Merit: 26


View Profile WWW
May 04, 2023, 04:03:24 AM
 #3

I'm a bit surprised by the success of the BRC-20 token protocol which is clogging the blockchain right now. BRC-20 seems to be a way to create and transfer fungible tokens storing a small JSON file in an Ordinal inscription.

That's how a BRC-20 inscription looks like:

Code:
{
  "p": "brc-20",
  "op": "mint",
  "tick": "soon",
  "amt": "1000"
}

Most readers of this subforum will know that there are already dozens of protocols allowing tokens on Bitcoin, the oldest probably being EPOBC (2012). Most are now based on data storage via OP_RETURN. The most popular - until BRC20 emerged - was Omni (2013) which seems to be continuosly updated and improved. And there are advanced protocols with very efficient mechanisms like RGB and Taro (which can be used for much more things than tokens).

What I'm interested in is to know if BRC-20 has any advantage respect to the OP_RETURN based systems. Yes, a JSON file seems quite "elegant" or easy to create. But it's also terribly inefficient to store a dictionary of the needed data (i.e. token type, name, quantity of the transaction etc.) as a JSON text instead of storing only the values in an OP_RETURN string, for example using Protocol Buffers. It may not be a big advantage (a dozen or two of bytes, perhaps) but technically you'll still pay higher fees occupy more space with BRC-20 than even with the simplest OP_RETURN based approaches.

Someone knows if there's any advantage to use this method? My own interpretation is that it's simply popular "because Ordinals is popular". But is there more?



PS: I've made a small correction and it may be already answering my question: It's possible that while you occupy more space on the blockchain with BRC20, the witness discount is enough to counter any real space efficiency advantage and thus leading to equal or even less fees.

The problem with these things is that they do not need to exist, you need an alternate network to verify them. So by that logic said alternate network could simply inscribe its logic into a commitment to a hash of a Bitcoin transaction and achieve cheaper, less spammy/cloggy, and more practical utility from the base layer.
NotATether
Legendary
*
Online Online

Activity: 1596
Merit: 6720


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 04, 2023, 06:32:53 AM
 #4

Am I the only one who doesn't understand how this is supposed to store an Ordinal in any way?

To me, it just looks like a (no offence) useless JSON file. I said useless because it is so small and doesn't appear to contain any useful data, let alone the contents of the inscription itself. So it makes me question why has this format become so popular, if image renderings of a JSON dictionary are the kinds of inscriptions you'll be showing to otbher people.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
tromp
Legendary
*
Offline Offline

Activity: 978
Merit: 1080


View Profile
May 04, 2023, 07:00:14 AM
Merited by nutildah (1)
 #5

if image renderings of a JSON dictionary

Of course they're not rendered as an image. Inscriptions can be any data format you want.
MCUKing
Member
**
Offline Offline

Activity: 115
Merit: 69


View Profile
May 04, 2023, 08:21:38 AM
 #6

Am I the only one who doesn't understand how this is supposed to store an Ordinal in any way?

To me, it just looks like a (no offence) useless JSON file. I said useless because it is so small and doesn't appear to contain any useful data, let alone the contents of the inscription itself. So it makes me question why has this format become so popular, if image renderings of a JSON dictionary are the kinds of inscriptions you'll be showing to otbher people.

Well, most people don't care about it (Meta-data) but still there can be the utility of the inscription for search purposes. As far as it's not storing the whole content. 
NotATether
Legendary
*
Online Online

Activity: 1596
Merit: 6720


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 04, 2023, 09:35:52 AM
 #7

Am I the only one who doesn't understand how this is supposed to store an Ordinal in any way?

To me, it just looks like a (no offence) useless JSON file. I said useless because it is so small and doesn't appear to contain any useful data, let alone the contents of the inscription itself. So it makes me question why has this format become so popular, if image renderings of a JSON dictionary are the kinds of inscriptions you'll be showing to otbher people.

Well, most people don't care about it (Meta-data) but still there can be the utility of the inscription for search purposes. As far as it's not storing the whole content. 

I might sound dumb for asking this but how is anyone supposed to get the real inscription from the JSON metadata?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7443


Crypto Swap Exchange


View Profile
May 04, 2023, 10:10:16 AM
Merited by d5000 (1)
 #8

PS: I've made a small correction and it may be already answering my question: It's possible that while you occupy more space on the blockchain with BRC20, the witness discount is enough to counter any real space efficiency advantage and thus leading to equal or even less fees.

With tiny size of JSON data, witness discount is negligible compared to various overhead to create an Ordinal inscription. By overhead, i mean 2 TX which usually has multiple input/output.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
MCUKing
Member
**
Offline Offline

Activity: 115
Merit: 69


View Profile
May 04, 2023, 01:49:06 PM
 #9

I might sound dumb for asking this but how is anyone supposed to get the real inscription from the JSON metadata?

Hmm looks like it was me who was lacking to explain own words anyway, Sir I didn't mean that JSON metadata is real inscription I was trying to say that most of the time people don't care about the metadata inscription they just ignore it but it can be useful for the historians and analysts for particular purposes. From the metadata, the location of the source can also be obtained Im not sure about the case in BRC 20 standard because I don't have proper information about it.

Secondly the reason behind its popularity so in my view, there is no such strong reason, it's just hype. This standard is experimental and most of the hype for this standard is because of the meme coins as pepe.
d5000 (OP)
Legendary
*
Offline Offline

Activity: 3906
Merit: 6142


Decentralization Maximalist


View Profile
May 04, 2023, 09:15:58 PM
 #10

Well, it seems that everybody is as clueless as I am why this format is so popular. odolvlobo is completely right that the witness discount doesn't compensate the overhead.

I also don't understand why so much data is needed for simply transfering tokens. In older token protocols, you only need the ID of the token and the amount and a very short identification string. Here you have the "p" and "op" parameters which look like they are occupying much more space than they should. Most other token protocols use less than 5 bytes for that "identification" of token and operation.

I might sound dumb for asking this but how is anyone supposed to get the real inscription from the JSON metadata?
What do you mean with "the real inscription"? AFAIK the JSON data are describing a token issuance/transfer completely, and there's no other inscription they point at. The ord software (perhaps with a brc-20 extension) then takes care to assign token balances processing these JSON files, block by block. I guess you misunderstand something or please clarify Smiley

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Online Online

Activity: 1596
Merit: 6720


bitcoincleanup.com / bitmixlist.org


View Profile WWW
May 05, 2023, 02:49:56 AM
 #11

I might sound dumb for asking this but how is anyone supposed to get the real inscription from the JSON metadata?
What do you mean with "the real inscription"? AFAIK the JSON data are describing a token issuance/transfer completely, and there's no other inscription they point at. The ord software (perhaps with a brc-20 extension) then takes care to assign token balances processing these JSON files, block by block. I guess you misunderstand something or please clarify Smiley

In the original Ordinals, the inscription of the desired data (as in image, GIF, text message) was directly inserted into the transaction output.

Here, there's just metadata. And judging by what you just wrote about BRC-20, there doesn't appear to be any inscription of that kind at all, but rather, the transaction for a shitcoin.

Blockchain pruning will no doubt take care of that, but it's going to be an eye-opener for us to find solutions that prevent transaction speed from getting throttled.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
sha420hashcollision
Member
**
Offline Offline

Activity: 98
Merit: 26


View Profile WWW
May 05, 2023, 03:06:29 AM
 #12

Ordinals are dead and were flawed from the start: https://twitter.com/super_testnet/status/1654212346171064328 tell your friends.
nutildah
Legendary
*
Offline Offline

Activity: 2982
Merit: 7961



View Profile WWW
May 06, 2023, 05:39:22 AM
Merited by d5000 (1)
 #13

The most popular - until BRC20 emerged - was Omni (2013) which seems to be continuosly updated and improved.

Hardly anybody uses Omni outside of Tether, which has largely migrated elsewhere. Some years back Tether forced a fork so they could perform rollbacks if need be and Omni went along with it. Since then, its been terribly unpopular.

https://tether.to/en/tether-critical-announcement/

In terms of tx volume, Counterparty is by far the more popular tokenization protocol for BTC, and it will be once again after the Ordinals fad dies down.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
d5000 (OP)
Legendary
*
Offline Offline

Activity: 3906
Merit: 6142


Decentralization Maximalist


View Profile
May 08, 2023, 04:41:38 AM
 #14

And judging by what you just wrote about BRC-20, there doesn't appear to be any inscription of that kind at all, but rather, the transaction for a shitcoin.
Exactly. "The token transfer" is the inscription. There's nothing more. And if ETFBitcoin is right, you need 2 transactions to transfer the tokens ...

Due to BRC20's disadvantages, which may cause lots of people lose money soon, I've written a warning about BRC-20 in the newbie forum. (Any feedback and/or occasional bumps Wink are appreciated.)

@nutildah: Wasn't aware of the Omni "rollback", thanks for posting that. Yep, I think also that Counterparty may be the superior protocol but I believed wrongly Omni had a bigger user base (although it's possible that if RGB catches on it may be the future gold standard due to its very efficient, lightning-friendly approach, just in April a new update was posted.).




█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!