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.
- 1 · Shield0.1 BNB would be locked in PublicRehearsal. On New L1, privDeposit is public too.
- 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 · 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.