Not private · devnet reads are real

The swap demo is a rehearsal.

ShieldedPool at 0x0000000000000000000000000000000000005000 is live on devnet, and this page reads it. Spending a note needs two PLONK proofs from the unpublished newl1-shield CLI. Until that exists, DarkSwap on BNB runs the same three hops in a public contract: shield, swap on a demo AMM, record the output. Owners and amounts stay visible. That is a simulation of the shape, not a privacy guarantee.

Chain1105block 13,074,542
Real pool shielded40.995 BNBdevnet native BNB, unaudited
This demoPublicrNOTE is not inside the pool
Deployed rehearsalLocalno testnet key in this environment

Public rehearsal

Quote a BNB to rNOTE swap.

The number is the same 0.30% constant-product quote the demo AMM uses, seeded with 10 BNB and 5,550 rNOTE (about 555 rNOTE per BNB). Nothing is sent from this page.

Quote: 54.78727 rNOTE.

  1. 1 · Shield0.1 BNB would be locked in PublicRehearsal. On New L1, privDeposit is public too.
  2. 2 · atomicCallThe rehearsal calls DemoAMM with that BNB. A real atomicCall is a type 0x77 proof this repo cannot build. The call target and the amount would be public even then.
  3. 3 · Reshield54.78727 rNOTE would be recorded as an open note. The real pool can reshield native BNB only, so this token note is not a shielded balance.

Run it: forge test in contracts/, or the anvil script in that folder’s README. A BSC testnet or New L1 deploy needs PRIVATE_KEY and testnet BNB. No key is generated here.