Nightforce Learning Center

Shielded and unshielded operations

Sign in with Discord

Introduction

A payment system can check a transaction while keeping selected details out of public view.

What you’ll learn

Distinguish shielded ledger operations from private application state.

Lesson

An unshielded operation exposes ledger details according to the operation’s format. A shielded operation can use commitments and proofs to let the network check rules while hiding selected underlying details. A commitment binds a hidden value to a public representation. A nullifier can mark a shielded resource as used without publicly identifying the original note in the same way a transparent spend references its output.

Worked example. Nightforce wants a public treasury report and a separate confidential payment workflow. The treasury can choose unshielded operations where public visibility is intentional. The confidential workflow needs to evaluate the shielded asset’s guarantees and the information that remains visible, such as public transaction fields, sponsor policies, and any off-chain invoices. Contract state is a separate design choice. A public seat counter can accompany private credential data.

Practice quiz

Select one answer per question.

Answer key and explanations
  1. B. Unshielded operations where supported and appropriate.
  2. C. Shielding covers specified data. Public fields can still reveal information or support inferences.

Sign in with Discord to take this quiz and earn your badge.