Documentation Index
Fetch the complete documentation index at: https://open-dbe26606.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Command overview
| Command | Description |
|---|
opendev tx <signature> | Full analysis of a confirmed transaction |
opendev simulate <input> | Simulate an unsigned transaction (base64 blob, file path, or source file) |
opendev batch <file> | Run analysis over a list of signatures from a JSON file |
opendev info | Show registered programs, decoder status, and coverage |
opendev login [provider] | Browser-assisted setup for AI insights (default: groq) |
opendev config set-key <provider> <key> | Save an AI provider API key from a script |
opendev config get-key [provider] | List configured keys (values masked) and their source |
opendev config remove-key <provider> | Delete a key from the credential store |
opendev config set-rpc <url> | Set the default Solana RPC URL |
Run opendev <command> --help for the full flag list for each command.
tx — Analyze a transaction
Fetch and analyze a confirmed Solana transaction on the blockchain.
opendev tx <signature> [options]
Examples
# Mainnet (default)
opendev tx 4W8cbHAkjJC3jKdFY39JFXtTakf5JK9rz6jyGPbbpKEqhweRYzwjveZasFin46WuApDeLoQRHieG3t5b3T7VXMRR
# Devnet with JSON output
opendev tx <signature> --network devnet --json
# Custom RPC
opendev tx <signature> --rpc https://your-rpc.example.com --json
simulate — Test unsigned transactions
Run a transaction simulation without on-chain confirmation.
opendev simulate <input> [options]
| Input | Treated as | Example |
|---|
| base64 string | base64 | AEqF0U1X... |
.b64 / .json file | path | ./tx.b64 or ./tx.json |
.ts / .mts / .cts file | ts-source | ./build_tx.ts |
.js / .mjs / .cjs file | js-source | ./build_tx.js |
.rs file | rust-source | ./build_tx.rs |
Directory with Cargo.toml | rust-source | ./my-rust-proj |
Examples
# Base64 blob
opendev simulate AEqF0U1X... --network devnet
# From file
opendev simulate ./sample-tx.b64
# From TypeScript source
opendev simulate ./build_tx.ts --network devnet
# From Rust project
opendev simulate ./build-tx
Shows a yellow EXECUTING USER CODE banner before running source files. Use --no-exec if you want to refuse source-file input (useful in CI).
batch — Process multiple transactions
Analyze a list of signatures from a JSON file.
opendev batch <file> [options]
{
"network": "mainnet",
"signatures": [
"4W8cbHAkjJC3jKdFY39JFXtTakf5JK9rz6jyGPbbpKEqhweRYzwjveZasFin46WuApDeLoQRHieG3t5b3T7VXMRR",
"..."
]
}
Examples
# CSV output
opendev batch ./signatures.json --csv --output batch-report.csv
# JSON output (one object per line)
opendev batch ./signatures.json --json > results.jsonl
info — Program coverage
Display supported programs and decoder status.
Shows:
- List of registered programs
- Decoder availability for each
- Overall coverage statistics
login — Set up AI insights
Interactive setup for AI-powered optimization suggestions.
Providers
| Provider | Setup |
|---|
groq (default) | console.groq.com/keys — no credit card required |
anthropic | console.anthropic.com — $5 minimum top-up |
Flow
- Opens provider’s key page in your browser
- Prompts you to paste the key (input is masked)
- Validates against the provider’s API
- Saves to
~/.opendev/credentials.json (chmod 600)
Examples
opendev login # defaults to groq
opendev login anthropic # use Anthropic instead
config — Manage configuration
Store API keys, RPC URLs, and other settings.
opendev config <subcommand> [arguments]
Subcommands
set-key
Save an API key for an AI provider:
opendev config set-key groq gsk_...
opendev config set-key anthropic sk-ant-...
get-key
List all configured keys (values are masked):
opendev config get-key [provider]
remove-key
Delete a key from storage:
opendev config remove-key groq
set-rpc
Set the default Solana RPC URL:
opendev config set-rpc https://your-rpc.example.com
Help
Get help for any command:
opendev --help # top-level help
opendev tx --help # tx command help
opendev batch --help # batch command help