Pallet
The Zero Network
supports privacy-preserving transactions. These functionalities are powered by pallets
. Followings are short summary of pallets.
The pallet-plonk
pallet is a wrapper of plonk library and in charge of proving and verifying the validity of computation.
The pallet-encrypted-balance
pallet provides balance encryption by default. This replaces balance storage value with encrypted value.
The confidential_transfer
pallet provides transfer function with hiding transfer amount. This pallet is coupling pallet-plonk
and pallet-encrypted-balance
, and changes the balance with encryped and checks the validity of computation.
You can import as adding dependencies to our crate.
[dependencies]
pallet-plonk = { version = "0.2.3" }