Best Practices
Always Use Seismic Transactions for Shielded Parameters
// This function should ONLY be called via a Seismic transaction
function deposit(suint256 amount) external {
balances[msg.sender] += amount;
}Be Mindful of Gas-Based Information Leakage
Use Casting Carefully
Review Compiler Warnings
Test with sforge test
Keep Shielded Data in the Shielded Domain
Last updated

