FlexGas BCH

Cashtokens need this to keep up with Binance Smart Chains latest innovation

I wish to promote MUSD & ParityUSD as soon as possible to the merchants in Venezuela that The Real Bitcoin Club had been educating on USDT & BNB ever since BCH had its latest peak

One argument for that transition was the transaction cost but UX is an even bigger argument…

So right now with FlexGas the USDT is beating MUSD from a UX perspective

Users here barely understand why MUSD is cooler and they dont understand DEX or privacy issues, yes some understand but most dont

So the argument for change must be superior UX for most that are currently on USDT

Superior UX would be lower fees as soon as the more relevant UX FlexGas would be available for Cashtokens on BCH

1 Like

I think that being able to offer miners fees in PUSD and MUSD could be a positive thing for the BCH ecosystem (this may be true for other CashTokens as well, and I don’t think being able to do that would harm BCH as a native currency in any way). At nodes level, I suppose a tool/option could be added so that miners can enable accepting tokens and the nodes can relay transactions that pay fees with tokens (specifying which ones they accept, what amounts per byte, etc). In other words, rather than requiring a major protocol upgrade, we can technically see a token output in a transaction which anyone-can-claim as a reward for a miner (or whoever pays the tx fee with BCH).

This reminds me that, when similar ideas were proposed for SLP tokens, the community discussed a solution called “Postage Protocol”. The basic idea was that a server (integrated as a service in one or more wallets) could accept those tokens/stablecoins and pay the fee in BCH, earning a small difference (like a post office making money by selling small postage stamps). I think it’s a valid solution to remember/consider. I think the idea of the “Postage Protocol” is a valid idea to consider and remember…

If I remember correctly, it was related to Badger Wallet (an SLP wallet from Bitcoin./com).

On the other hand, Selene Wallet recently launched its "stablecoin mode," which allows, at the application level, a behavior in which, if you receive BCH with stablecoin mode activated, that balance is converted to the stablecoin you have selected (PUSD or MUSD), and when you pay to a no-token-aware BCH address, the wallet converts the amount you send to BCH (and that is what the person receives).

Based on my observation of Selene Wallet, the wallet retains a small portion of BCH during the swap to cover the tx fee costs (please correct me if I’m mistaken on this specific detail @kzKallisti @BitcoinCashPodcast ), which means the user doesn’t need to worry about holding BCH themselves.

Furthermore, if I understand correctly, all CashTokens transactions could, in theory, include outputs with enough BCH to cover the fees for a future standard transaction (in the event that the user lacks a sufficient balance). This, once again, leaves room for solutions to be implemented at the wallet level.

Regarding “EIP-7702, a new standard that enhances EOAs (Externally Owned Accounts) with smart account features without giving up self-custody”, it’s my understanding that this specific functionality was exploited in the recent hack of Binance. In that sense, I believe we cannot simply copy every EVM innovation—whether from Ethereum or Binance Smart Chain—because not all of them are necessarily secure enough for the powerful yet conservative scripting system of BCH.

But the general idea of not having to worry about having BCH to pay the transaction fee sounds valid to me for improving the UX of people without much technical knowledge.

Considering that, I think we can consider that many of the possible solutions, or the solutions we need, may come at the wallet and service level, rather than by changing the BCH consensus. And I think this conversation can give us a starting point to be able to track down solutions that can be applied, or even to mention which solutions have already been implemented or are underway…

1 Like

This is actually very easy to implement on BCH: if you only have a token you can perform a Cauldron swap in the same transaction you make payment with. You’d be on-the-fly converting some small amount of PUSD into BCH to pay the TX fee! That’s the power of UTXO architecture and CashTokens.
Caveat: since AMM UTXOs are anyone-can-spend there’s a risk of that TX being cancelled so 0-conf is unreliable.
Maybe a system specifically designed as postage protocol could avoid the contention and offer better parallelism. Building blocks are all there, all we need is Some One™ to build it.

4 Likes

Can you start a PUSD to BCH swap even if you don’t have BCH for the fee? How is this handled? Spending the BCH “dust” that lives inside the UTXO of each CashToken? Or, when offering PUSD, do you take a portion of the BCH that would otherwise go to you and allocate it as a reward for the transaction?

Sorry if I don’t fully understand or interpret how CashTokens works, I’m not a developer.

So, this is an example of how 1-minute blocks could mitigate the “0-conf” risk for certain DeFi transactions, right? I mean, this might seem like an exceptional case, but if it’s implemented in many wallets, it could become a very common solution. I suppose the UI of the wallets that receive them, in case that happens, might show a small warning similar to the one we see with “parent not confirmed”.

In any case, for scenarios like this, waiting for a single ~1-minute confirmation is definitely better than waiting 10 minutes, which is what this type of solution enables.

Well, it’s a shame that I can’t develop something like that myself. Unfortunately, I don’t have the knowledge or experience. But I hope it was positive to remember that that idea existed at some point.

1 Like

Yes!

Yes, exactly that.

Yup, the TX gets DSP score 0 and receiver’s wallet would somehow warn. A service like Bitgree that implements DSP spec to the letter would automatically degrade the TX to 1-conf.

2 Likes

This could be a solution; from what I can see, it was presented in BCH Blaze and appears to be a prototype. It’s not a server; it’s a covenant. I’m excited to see this today.

“FEEPASS”. I hope it will be the right solution for many use cases.

@realbitcoinclub hopefully this could be better than FlexGas* in BCH.

1 Like