BlocksNew app

Blocks

31 blocks in six families. Each port has a type and a shape; only matching types snap together.

Port types

moneycircle

An amount of one asset (hSOL, SOL, USDC or any SPL mint), in base units.

persondiamond

A Solana wallet address: the visitor, the owner, a recipient or an auditor.

listsquare

Rows of person and amount, up to 15 per private transfer proof.

eventtriangle

Control flow: the moment the previous step finished. Every flow starts at a trigger.

numberhexagon

A plain number, such as a count or a percentage.

textbar

A string: a form value, a mint, a memo, a receipt or a viewing key.

Triggers Where a flow starts.

Wallet connected

in when out connected out wallet

The visitor connects Phantom, Solflare or Backpack and derives their Ring key with one signature.

On chain. One off-chain message signature. Its SHA-256 is the Ed25519 seed of the visitor's Ring key for this app, derived in the browser and never sent anywhere.

Observer. Nothing on chain until the Ring key is registered or used.

Form submitted

in fields in after out submitted out payload

Starts when the visitor submits the fields wired into it.

On chain. No transaction. The field values stay in the visitor's browser unless a later block sends them.

Observer. Nothing on chain.

Payment received

out received out amount out payer

Starts for each private payment that reached the owner's Ring, read in the owner's dashboard.

On chain. Reads the owner's encrypted notes from the Privacy Rings indexer and decrypts them in the owner's browser with the viewing key.

Observer. Sees that a transfer reached the owner's Ring address. Asset and amount stay encrypted.

Schedule

out due

A run the owner starts on a date. Nothing pulls money by itself.

On chain. No transaction until the owner opens the dashboard on or after the date and signs the run.

Observer. Nothing until the run.

Inputs What the visitor or the owner enters.

Amount field

in asset out amount

An amount, fixed by the owner or typed by the visitor, in hSOL, SOL or USDC.

On chain. No transaction. Converted to base units with the asset's decimals.

Observer. Nothing.

Recipient list

out rows

Wallet addresses and amounts, pasted or loaded from a CSV.

On chain. No transaction. Each row is checked as a Solana address before the run.

Observer. Nothing.

Text field

out value out as number

A line of text the visitor types: a name, an invoice number, a link.

On chain. No transaction. Wire it into a memo and it travels encrypted with the transfer.

Observer. Nothing, or an encrypted memo.

Asset picker

out mint

Lets the visitor choose which asset to pay with.

On chain. No transaction. Outputs the chosen mint.

Observer. Nothing.

Gates Rules a wallet must pass before the money moves.

Holds a token

in check in wallet out passed

Passes only if the wallet holds at least a minimum of one SPL or Token-2022 mint.

On chain. Reads the wallet's token accounts for the mint (SPL Token and Token-2022) at the moment of the check.

Observer. Nothing: it is a read.

Allowlist

in check in wallet out passed

Passes only wallets on a list the owner wrote.

On chain. No transaction. The list ships inside the published graph and its hash is anchored.

Observer. The published graph is public: so is the list.

Passcode

in check in typed out passed

Passes when the visitor types the code you share privately.

On chain. No transaction. Only the SHA-256 of the code is stored in the graph.

Observer. Nothing.

Date window

in check out passed

Passes between two dates, in UTC.

On chain. No transaction. Checked against the Solana cluster time of the latest slot.

Observer. Nothing.

Once per wallet

in check in wallet out first time

Passes the first time a wallet comes through, then refuses it.

On chain. No transaction. The wallet signs a claim message; Ringforge records the address against this app.

Observer. Nothing on chain. The app's run log holds the address.

Money Shield, transfer, split, swap and unshield.

Private transfer

in run in amount in to in rows in memo out sent out transaction

Moves an amount from one Ring to another. Asset, amount and memo are encrypted.

On chain. A Privacy Rings transact on the Default Ring: one Groth16 proof, verified by program ring1GaLC…ANW. With a list, up to 15 recipients per proof.

Observer. Sees sender address, recipient address, time and fee payer. Not the asset, the amount or the memo.

Split by percent

in amount out shares

Cuts an amount into shares that must add up to 100.

On chain. No transaction by itself. Feeds a Private transfer with one row per share.

Observer. Nothing; the shares travel encrypted in the transfer that follows.

Split equally

in amount in people out shares

Divides an amount evenly between the people in a list.

On chain. No transaction by itself. Rounds down to base units; the remainder stays in the sender's Ring.

Observer. Nothing; the shares travel encrypted.

Shield

in run in amount in into out shielded out amount

Deposits a public balance into a Ring. Needs no proof.

On chain. A Privacy Rings deposit (buildDepositTransaction) signed by the wallet. SOL goes to the SOL interface PDA, SPL tokens to their ring vault.

Observer. Sees the depositing wallet, the asset and the amount, like any public transfer. From there on the balance is encrypted.

Unshield

in run in amount in to out withdrawn

Withdraws from a Ring to a public wallet.

On chain. A Privacy Rings withdrawal (buildWithdrawalTransaction) with one Groth16 proof.

Observer. Sees the destination, the asset and the amount.

Swap through Jupiter

in run in amount out swapped out received

Swaps a public balance on Jupiter's best route.

On chain. A Jupiter swap transaction (lite-api.jup.ag /quote then /swap), signed by the wallet.

Observer. The swap is public when it executes: wallet, both assets, both amounts.

Convert to hSOL

in run in SOL out converted out hSOL

Turns SOL into hSOL, Helius staked SOL, through Jupiter.

On chain. A Jupiter route from SOL to mint he1ius…n9A, signed by the wallet. hSOL accrues staking rewards and swaps back with no cool-down.

Observer. Public when it executes, like any swap.

Disclosure Receipts and viewing keys, shared on purpose.

Receipt

in after in transaction out ready out receipt

A receipt link for the payer and the owner, pointing at the confirmed private transfer.

On chain. No transaction. Links the confirmed transfer: its addresses and time are public, its asset and amount stay encrypted. Sharing a per-transfer viewing key comes with the next SDK release.

Observer. Nothing, unless someone shares the link.

Share viewing key with an auditor

in after in auditor out shared out grant

Gives an auditor read access to this app's Ring. Read only: it cannot spend.

On chain. Encrypts the Ring's viewing key to the auditor's wallet in the owner's browser. The auditor decrypts it with one signature.

Observer. Nothing on chain. The auditor sees every amount in this Ring.

Statement

in after out statement

A dated statement of every private payment in the Ring for a period, decrypted locally.

On chain. Reads encrypted notes from the indexer and decrypts them in the owner's browser. Exports CSV.

Observer. Nothing.

Outputs The screens people see.

Checkout page

in show in price in fields out pay

A product, a price and a Pay button.

On chain. No transaction by itself. Pay starts the next block.

Observer. Nothing.

Claim page

in show in claimer out claimed out claims

Visitors claim; the owner pays every approved claim privately in one signing session.

On chain. The visitor signs a claim message (no transaction). The owner's payout session sends private transfers, 15 recipients per proof.

Observer. Sees the owner's Ring paying each claimer, never the amounts.

Payroll table

in show in rows out approved out rows

The owner reviews every row, then approves the whole run with one signing session.

On chain. No transaction by itself. Approve starts the private transfer that follows.

Observer. Nothing.

Tip page

in show out tip out amount

Suggested tips, a custom amount, and your name at the top.

On chain. No transaction by itself.

Observer. Nothing.

Webhook

in after in payload out sent

POSTs the step, the app and the transaction signature to your URL. Never an amount.

On chain. No transaction. Ringforge's server sends the POST after the signature confirms.

Observer. Your server sees the signature; the amount stays encrypted.

Confirmation screen

in show in receipt

The last screen: a message, the receipt, no email asked.

On chain. No transaction.

Observer. Nothing.