First spend with the CLI
Deposit, wait for approval, withdraw and read the receipt from a terminal.
You need Node 22, the Plaza repository with backend built, and a funded Solana CLI keypair. Commands run from backend.
-
See the sets. Note the Open Set's
id.sh node cli/plaza.mjs sets -
Deposit. 0.01 SOL, in lamports:
sh node cli/plaza.mjs deposit --keypair ./id.json --mint So11111111111111111111111111111111111111112 --amount 10000000 -
Wait for approval. List your notes until the new one shows
approvedunder the set's id insets. The Open Set approves after its screening delay, 30 seconds on localnet.sh node cli/plaza.mjs notes --keypair ./id.json -
Withdraw the whole note, proven against the set:
sh node cli/plaza.mjs withdraw --keypair ./id.json --note NOTE_ID --set SET_ID --to DESTINATION -
Read the receipt at
/proof/followed by the signature the command printed, or withcurlonGET /proof/{signature}.
Every command and flag is on CLI.