Skip to main content

One doc tagged with "security"

View all tags

Smart contract security

Compact smart contracts on Midnight combine privacy-preserving computation with cryptographic guarantees. The compiler enforces certain rules and restrictions, but much of the responsibility for secure contract interaction is up to the developer writing the smart contract. For this reason, it is very important for smart contract developers to understand common pitfalls and adhere to security best practices.