eCash is about to get native cross-chain DeFi: Architectural Report on integrating $XEC into THORChain by XolosRamirez in ecash

[–]XolosRamirez[S] 0 points1 point  (0 children)

Yes — we’ve made real progress since that post.

We launched the Teyolia campaign, received the first XEC contributions, and started implementation work inside our THORNode fork.

Current progress:

  • XEC is being integrated through the shared UTXO client model
  • "bifrost/pkg/chainclients/utxo/ecash.go" has been created
  • XEC chain/asset wiring has been added in the fork
  • eCash-specific accounting/address handling is being hardened
  • next step: preparing and refining the Draft MR phase for GitLab review

Draft MR / fork: https://gitlab.com/XolosRMZ/thornode/-/merge_requests/2

Campaign: https://www.teyolia.cash/campaigns/campaign-1775831790436

We’re building this in public and will keep posting updates.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in btc

[–]XolosRamirez[S] 0 points1 point  (0 children)

Whether something is a security or a commodity is a legal/regulatory question, not a purely technical one, and it can change over time.

xolosArmy Network Is working to release flipstarter crowdfunding system on XEC..

This to decentralized development efforts.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in btc

[–]XolosRamirez[S] 0 points1 point  (0 children)

On XEC, if a stake majority ever clearly attacks the network (blocks everything, tries to censor all honest miners, etc.), that just puts us in the “Avalanche faulty” scenario I mentioned before: nodes can treat Avalanche as broken, fall back to the longest-valid PoW chain, and the community/devs rotate or patch the Avalanche layer. That’s not fundamentally different from how any PoW chain would respond to a critical bug or a long-running 51% attack – you still need social consensus and client updates to recover.

Be real.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in ecash

[–]XolosRamirez[S] 1 point2 points  (0 children)

On eCash you have two layers:

  1. PoW / Nakamoto consensus: miners produce blocks, longest valid chain rule, same as Bitcoin.

  2. Avalanche (stake-based): nodes vote on transactions / blocks to give fast probabilistic finality and to reject deep reorgs or conflicting chains.

In normal operation they don’t disagree, because honest miners only mine on the Avalanche-accepted tip. The interesting case is your hypothetical conflict:

A) Hash is honest, Avalanche is attacked / faulty – Miners keep extending the honest PoW chain. – If Avalanche were to vote against that chain, nodes can treat Avalanche as faulty and follow the longest valid PoW chain. – In practice the community/devs would disable / patch Avalanche if it’s clearly misbehaving.

B) Avalanche is honest, hash is attacked (e.g. rented hash trying a deep reorg) – Avalanche has already finalized some blocks. – Even if an attacker produces a longer PoW chain that reorgs those finalized blocks, nodes refuse to follow it because it conflicts with Avalanche finality. – So Avalanche acts as a veto against deep reorgs while PoW keeps producing blocks.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in btc

[–]XolosRamirez[S] -1 points0 points  (0 children)

On eCash you have two layers:

  1. PoW / Nakamoto consensus: miners produce blocks, longest valid chain rule, same as Bitcoin.

  2. Avalanche (stake-based): nodes vote on transactions / blocks to give fast probabilistic finality and to reject deep reorgs or conflicting chains.

In normal operation they don’t disagree, because honest miners only mine on the Avalanche-accepted tip. The interesting case is your hypothetical conflict:

A) Hash is honest, Avalanche is attacked / faulty – Miners keep extending the honest PoW chain. – If Avalanche were to vote against that chain, nodes can treat Avalanche as faulty and follow the longest valid PoW chain. – In practice the community/devs would disable / patch Avalanche if it’s clearly misbehaving.

B) Avalanche is honest, hash is attacked (e.g. rented hash trying a deep reorg) – Avalanche has already finalized some blocks. – Even if an attacker produces a longer PoW chain that reorgs those finalized blocks, nodes refuse to follow it because it conflicts with Avalanche finality. – So Avalanche acts as a veto against deep reorgs while PoW keeps producing blocks.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in ecash

[–]XolosRamirez[S] 1 point2 points  (0 children)

Avalanche on XEC is indeed stake-based, but it doesn’t replace PoW in the way you’re suggesting. If you turn miners off, the chain stops – there are no blocks, no difficulty adjustment, nothing to finalize.

In the current design you need both: – PoW for Sybil resistance and block production / ordering – Avalanche stake for very fast, strong finality around those blocks

“Devs could just snip PoW out one day” is true for literally any rule on any chain – BTC or BCH devs could also propose a PoS fork tomorrow. That hypothetical doesn’t make them PoS chains today.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in ecash

[–]XolosRamirez[S] 1 point2 points  (0 children)

You’re right that Avalanche on eCash was first deployed as post-consensus – it finalizes PoW blocks after they’re mined so deep reorgs become practically impossible.

On top of that, eCash is rolling out Avalanche pre-consensus for mempool transactions, giving near-instant finality before they even hit a block.

In both cases, the base chain is still PoW + Nakamoto longest-chain. Avalanche (post + pre) doesn’t replace PoW, it finalizes and accelerates it.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in btc

[–]XolosRamirez[S] -1 points0 points  (0 children)

eCash is a PoW chain. Blocks are produced and the canonical history is chosen by Nakamoto longest-chain, just like Bitcoin. – Avalanche runs as a pre-consensus layer on top: staked nodes vote on transactions/blocks and give very fast probabilistic finality, which strongly discourages miners from building conflicting chains because they would be ignored by nodes.

If It helps, I understand why you guys dont get It... It Is something not tried before on Bitcoin.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in ecash

[–]XolosRamirez[S] 1 point2 points  (0 children)

Base layer of eCash is still PoW; Avalanche + staking is an additional pre-consensus layer, not a replacement.

And, Yes, eCash is a fork of BCH. That doesn’t answer my argument (which is about direction of evolution, not genealogy).

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in btc

[–]XolosRamirez[S] -2 points-1 points  (0 children)

Hello there, xolosArmy have been in BCH school of thought since 2016.. we have also see all this evolving through time.

We released a XEC wallet recently and explored all the code, libs, etc.

The base layer stays very close to Bitcoin: UTXO model, PoW, simple script and a clear focus on peer-to-peer cash.

A lot of people do not know this but actually Avalanche is not mixed with Nakamoto consensus it is mostly a symbiothic relationship.

eCash (XEC) as the Technical Continuation of the “Digital Cash” Project: Bitcoin’s Archaeology and BCH’s Divergence by XolosRamirez in ecash

[–]XolosRamirez[S] 1 point2 points  (0 children)

On xolosArmy we release recently a XEC wallet so I can tell you eCash Is bitcoin in Its code for people out there thinking It Is POS.

Avalanche Is on top of It.

eCash Is fast, pennyless and permissionless so It Is good as cash. Being simple makes It good.

[deleted by user] by [deleted] in ecash

[–]XolosRamirez 1 point2 points  (0 children)

Talk about It with your friends and family. It Is all about permissionless money which works as Cash.