Hale was built so a state root commits to more than balances.
We bind the action count, the last action’s timestamp, and the last block applied into each QMDB root.
This is so a proof can’t pair the right state with the wrong history
@manyworlds_ex proves every batch this way
every trade on Many Worlds runs twice.
first natively in Rust, offchain, so users get instant performance. Then the same Rust reruns inside SP1's zkVM, so users don't have to trust us.
our state transition function replays every fill, deposit and withdrawal against our Merkle database (QMDB), and a proof of the result is verified onchain.
a second zkVM program, inclusion, plays a part too. That's where one piece of safe blockspace lives. Counterfactually. It's very meta ;)
all of this via @UseFirewall's Hale framework. More soon.
We designed the core architecture of @manyworlds_ex via Hale by @UseFirewall to be cryptographically forward-looking from day 1.
On post-quantum readiness: everything around state storage, core provability, and withdrawals is already hash-based and quantum-resistant.
But there's still further hardening to be done.
@0xPolygon putting native PQ precompiles on devnet gives us a clean path to stay aligned with EVM standards as we upgrade the rest of the stack.
There's some quick easy internal wins for near-term hardening we'll complete once we finish our evaluation of standard PQ signature schemes.
External dependencies still on elliptic curves today include Polygon validators, Circle USDC/CCTP attestations, and Stork Fast price feeds.
Alongside our partners we're working and always evaluating the best options to ensure our full stack is PQ-ready. The coordination we're seeing across the industry is awesome. More details below.
Already quantum-resistant for Many Worlds, via Hale:
- state, history, and withdrawals: SHA-256 state storage via @commonwarexyz QMDB, a keccak256 hash chain covering every user trade and withdrawal, and a keccak256 withdrawal Merkle tree
- core execution proofs: purely hash-based SP1 v6 Hypercube STARKs via @SuccinctLabs
- safe blockspace: Hale's finality window adds programmatic safety to exclude different types of attacks, upgrade, and re-prove, including compromised classical keys
Longer-term protocol upgrades (gated by mainnet precompiles, PQ zkVM verifiers, and settled wallet standards):
- native PQ user signing verified inside Hale's Rust state machine and SP1 prover, so attackers cannot forge trades even if ECDSA breaks
- upgrading our contracts so withdrawals can be authorized with PQ signatures once Polygon's precompiles hit mainnet
- dropping the classical L1 proof wrapper: SP1's core STARKs are hash-based, but they get wrapped in an elliptic-curve proof (BN254) to keep L1 gas cheap
With Hale, your app is one Rust codebase.
Offchain parts run only in the sequencer, for speed. Onchain parts are proven in SP1 and verified by a contract.
You pick which is which, it handles both.
Add an inclusion program to guard against bugs in your app. More soon.
Like Lighter and StarkEx, Many Worlds has fast order matching with onchain verification of settlement proofs.
But we use a zkVM for app-specific logic in Rust without hand-writing custom circuits.
Orders are signed by a trader's signing key, sent to our API and put on a message bus along with derivation events (deposits, etc) from L1.
Core, our sequencer, executes each message against our app. Order placements and cancels are among offchain state only run in native Rust.
Matches and any balance movement get verified in the zkVM using the same Rust that runs in the sequencer.
Hale was built so a state root commits to more than balances.
We bind the action count, the last action’s timestamp, and the last block applied into each QMDB root.
This is so a proof can’t pair the right state with the wrong history
@manyworlds_ex proves every batch this way
every trade on Many Worlds runs twice.
first natively in Rust, offchain, so users get instant performance. Then the same Rust reruns inside SP1's zkVM, so users don't have to trust us.
our state transition function replays every fill, deposit and withdrawal against our Merkle database (QMDB), and a proof of the result is verified onchain.
a second zkVM program, inclusion, plays a part too. That's where one piece of safe blockspace lives. Counterfactually. It's very meta ;)
all of this via @UseFirewall's Hale framework. More soon.
@NekoCoiner@manyworlds_ex TL:DR of this past yr is revamped our tech to be ZK-based, way faster, and work with any chain or application
also built a serious perp dex that offers a new type of asset class w/ Many Worlds
post coming soon on this
every trade on Many Worlds runs twice.
first natively in Rust, offchain, so users get instant performance. Then the same Rust reruns inside SP1's zkVM, so users don't have to trust us.
our state transition function replays every fill, deposit and withdrawal against our Merkle database (QMDB), and a proof of the result is verified onchain.
a second zkVM program, inclusion, plays a part too. That's where one piece of safe blockspace lives. Counterfactually. It's very meta ;)
all of this via @UseFirewall's Hale framework. More soon.
Our latest tech is now live with the launch of @manyworlds_ex !
Many Worlds is a multiverse perpetual exchange. See below to use.
Our application framework is built with SP1 zkVM and QMDB architecture to create a frontier UX, alongside our many user asset safety features.
I swore not to tweet again until our tech was live for users. It’s time: @manyworlds_ex, a multiverse perpetuals exchange, showcases Firewall’s latest technology.
Many Worlds is NOT just another perps exchange. Our first market lets you trade the price of $NVDA if Jensen is fired again.
Bearish? You can open a leveraged $NVDA short, where your position is put on only IF Jensen is fired, at the price you secured today.
Deposit USDC and start trading now at https://t.co/2HHB78toss
Many Worlds is in alpha. Exercise caution, give us feedback. We’ll be shipping improvements rapidly. From this moment on we’re building alongside our first users in public. It feels great to be here!
See https://t.co/3LnwE0IsIM updated site for our developments this past year.
I swore not to tweet again until our tech was live for users. It’s time: @manyworlds_ex, a multiverse perpetuals exchange, showcases Firewall’s latest technology.
Many Worlds is NOT just another perps exchange. Our first market lets you trade the price of $NVDA if Jensen is fired again.
Bearish? You can open a leveraged $NVDA short, where your position is put on only IF Jensen is fired, at the price you secured today.
Deposit USDC and start trading now at https://t.co/2HHB78toss
Many Worlds is in alpha. Exercise caution, give us feedback. We’ll be shipping improvements rapidly. From this moment on we’re building alongside our first users in public. It feels great to be here!
See https://t.co/3LnwE0IsIM updated site for our developments this past year.
The story of Bunni is a great example of how DeFi market structure kills innovation, and rewards losers. Hoping you see my write-up on this @boredGenius@0x_marty@0xSzeth and @Psaul26ix.
I read their candid and raw post-mortem and I was inspired to put this piece together.
Often I talk about how we fail users by enabling theft, but this is a prime story of how we also fail those who bother to innovate, in this case the Bunni team.
Additionally, the path to PMF is corrupted. Web2 is more permissionless to build in.
I don't raise it as an ideological issue, but instead one that causes the downstream effects we all lose from, i.e. useless tokens, predatory teams, or a lack of utility.
Using our testnet I include a demo of how Charmander, our A.I. model within our EVM and execution client stops the Bunni exploit at run-time, as it objectively classifies the transaction as theft with math, and theft is an invalid action on safe blockspace.
The reality is Code is Law in DeFi. Whether you like it, or not. The question is irrelevant.
An attacker is going to rob every last user asset from a smart contract, if the smart contract lets them. No judge or court can stop that from happening.
Since Code is Law, the Code must need to be magnitudes better. With safe blockspace we believe "Code" means the system design, the chain itself.
Here are the facts:
- it is social consensus that exploits are theft, and theft is not "accepted" behavior
- yet chains are designed to accept theft today
- for a decade this industry has tried to prevent exploits at the app-layer and has completely failed
- failed to even stop the most fundamental exploit pattern of re-entrancy
- the system must evolve, to stop the billions in user assets stolen per year
@lessig , father of "Code is Law" correctly saw code as architecture that shapes how people interact with technology and the digital world, much like traditional laws regulate behavior in the physical world.
That we have responsibility for what we program, how we design these systems. Design them to exploit users and they will. They have. Are we ok with that? I am not. The system today is completely broken.
Safe blockspace is the implementation of a better designed system for DeFi and smart contracts.
Program the values we hold into the system, such as theft is an invalid action, while still retaining user rights. This is the real cypherpunk way. This is the future. Read any of my recent articles to understand how we accomplished this.
for those wondering what I'm referencing towards, it's from the recent docu described here:
- https://t.co/AgaZZrZ9ev
- https://t.co/GQBu2xOfrC
- https://t.co/Va3UVz08qR
- https://t.co/Si06nbSLyC
this spiel is not directed at @PatrickAlphaC or any of the posts I've tagged, much respect! I'm just glad to see the convo on this critical subject thanks to this great film.
h/t @jamescraig1111 @CodeIsLawFilm , and all involved. My full thoughts in my article below.
"A perfect spotlight on the absurd nature and tensions created by building a decentralized financial system...
You can feel the passion, intensity, and terror these events have on people’s lives."
-@iamoptmstc on @CodeIsLawFilm
Why are re-entrancy exploits Lindy? The answer helped us eliminate malicious re-entrancy from the EVM.
Safe Blockspace is a proof system for the app layer that disrupts the Lindy Effect.
Here's a $27M Penpie live exploit on Base and Firewall as a showcase:
Why are re-entrancy exploits Lindy? The answer helped us eliminate malicious re-entrancy from the EVM.
Safe Blockspace is a proof system for the app layer that disrupts the Lindy Effect.
Here's a $27M Penpie live exploit on Base and Firewall as a showcase:
The EVM now has a brain that has been badly missing.
Safe Blockspace has a built-in defender for your assets, meet Charmander.
Our A.I. model is implemented in rust, and is uniquely part of our ETH rollup client
Charmander, I choose you [to protect my $$]. Yes, the EVM now has a brain, and it is core to safe blockspace.
I demo’d this live with the $56M Kyber exploit.
Here's some of the how, strengths, and trade-offs we’ve designed around
Charmander, I choose you [to protect my $$]. Yes, the EVM now has a brain, and it is core to safe blockspace.
I demo’d this live with the $56M Kyber exploit.
Here's some of the how, strengths, and trade-offs we’ve designed around
some respite from the brutal price action, Proof of Tech begins... and yes it includes ***.testnet.usefirewall.com
in this write-up is a live demonstration of magic via @UseFirewall safe blockspace, what to expect from our testnet, and the magic link