Reference > CLI
CLI reference
Document Quovra npm scripts and operational commands.
CLI reference
Quovra uses npm scripts for app, keeper, and TxLINE operations.
npm run dev
Start the Next.js development server.
bash
cd app
npm run devExit code 0 means the command stopped cleanly. During normal development it stays running.
npm run build
Build the production app.
bash
cd app
npm run buildExpected result:
- Next.js build succeeds.
scripts/ensure-next-package.mjscompletes.
npm run lint
Run ESLint.
bash
cd app
npm run lintnpm run test
Run Vitest.
bash
cd app
npm run testnpm run keeper:settle
Dry-run keeper scan.
bash
cd app
npm run keeper:settleFlags:
| Flag | Description |
|---|---|
--execute | Submit live settlement transactions |
--watch | Keep scanning |
Example:
bash
SOLANA_KEYPAIR=~/.config/solana/quovra-dev.json npm run keeper:settle -- --executenpm run keeper:watch
Run the keeper continuously in execute mode.
bash
cd app
SOLANA_KEYPAIR=~/.config/solana/quovra-dev.json npm run keeper:watchnpm run txline:activate
Activate a TxLINE token subscription and write local proof credentials.
bash
cd app
npm run txline:activateRequired environment:
- TxLINE network settings.
- Wallet/keypair capable of submitting subscription transaction.
Generated credentials must stay out of source control.
Anchor commands
bash
cd onchain
anchor build
anchor deploy --provider.cluster devnetRelated pages
Search keywords
CLI, npm scripts, keeper, txline activate, Anchor deploy
Last updated: [YYYY-MM-DD]