#Shielded Actions education & messaging

1 messages · Page 1 of 1 (latest)

proper crest
#

i think we'll need to do some solid messaging and education around Shielded Actions, if anyone wants to collaborate

proper crest
#

@flat arrow how do Shielded Actions work? at the most basic level

this is likely outside of your domain of expertise, but you probably know how to get a god synopsis of this

next flare
#

Hi, which type of zk-SNARK will Namada use, Sapling or Halo2?

proper crest
flat arrow
#

Hi! Sry just seeing this. The MASP in Namada does indeed use an extended Sapling circuit. Here's the MASP repo if you want to peek around the cryptography: https://github.com/anoma/masp

versed snow
versed snow
#

WARNING: Some information might be leaked if your shielded wallet is not up to date, make sure to run `namadac shielded-sync` before running this command.

Why?

proper crest
quaint tapir
# versed snow ```WARNING: Some information might be leaked if your shielded wallet is not up t...

I can't go into the details because im not smart enough to understand it, but everytime a shielded payment is made, the on-chain masp UTXO is updated. When you shieldsync you basically sync your local UTXO with the on-chain masp UTXO. This means that, even if you didnt' shieldsync, you might have enough information locally to produce a valid masp spending transaction, but you will reveal that you have been able to spend a note with an older "version" of the masp UTXO. You are basically leaking some time information