CLI quickstart
Clone the repository, run the demo, then check the live testnet room without any key. Everything on this page needs no mnemonic and no funded account.
Needs Node 22.13 or newer and pnpm 11. Foundry is needed only for the contract tests.
Run the demo
pnpm install pnpm run demo The demo runs five real attacks, most of them by a legitimate member (“bob”), against a raw QoreSeal envelope and against Liro. It needs no network and no keys, takes a couple of seconds, and exits with code 1 if any defence fails.
Build the signer
pnpm --filter @liro/signer build Every command below is node packages/signer/dist/cli.js <command>.
What you can check without any key
The shipped contract is the built-in default, so no configuration is needed.
# which keys has alice registered on chain?
node packages/signer/dist/cli.js status --address qor1lgwn74jvwlqymec04gk2myzqmyl989fz84zx94
# does the contract list a live grant for alice on the demo document?
node packages/signer/dist/cli.js check-access
--doc 0x83321acf2317eb48c0277a1bfa38537ccf629c37a2007ba34ad400c127429e16
--who qor1lgwn74jvwlqymec04gk2myzqmyl989fz84zx94
# is a recipient card genuine? (see the note on card age below)
node packages/signer/dist/cli.js verify-card cards/alice.card.json --max-age-days 365 Recipient cards carry only an issue date, and Liro's default maximum age is 30 days. The committed demo cards were issued on 2026-12-01, so the default check rejects them from 2026-12-31. That is why the examples pass --max-age-days 365, the largest value the CLI accepts.
Every command has --help
--help or -h on any command prints its usage and exits 0, and never runs the command. Commands that send a transaction are a dry run unless you pass --broadcast.
Next
Keyless verification checks a whole published document. Seal and open is the flow for your own accounts.