Manage mainnet risk acceptance. Required before any mainnet write operations.
Review: $ARGUMENTS
Instructions
status (default)
- Check
SOLANA_ACCEPT_RISKenvironment variable. - If
true— show acceptance is active. - If not set — show that mainnet operations are blocked and how to accept.
accept
- Show risk disclosure:
- Transactions are permanent and irreversible
- Sending to wrong address = permanent loss
- No customer service or recovery
- User accepts full responsibility
- Ask user to confirm by typing
ACCEPT. - On confirmation — set
SOLANA_ACCEPT_RISK=trueand record timestamp. - Show safety reminders:
- Always simulate before executing
- Triple-check recipient addresses
- Start with tiny test amounts
- Keep keypair secure
revoke
- Confirm user wants to revoke.
- Unset
SOLANA_ACCEPT_RISK. - Confirm mainnet operations are now blocked.
- Tell user to run
/solana-accept-risk acceptto re-enable.
Mainnet safety gate
Before ANY mainnet write operation, check:
SOLANA_ACCEPT_RISKistrue- If not — refuse the operation and tell user to run
/solana-accept-risk
For large amounts on mainnet, request extra explicit confirmation showing:
- Recipient address
- Amount and approximate USD value
- That this is mainnet with real SOL
Scope
- Acceptance is per-session by default (resets on Claude Code restart).
- Can be persisted via plugin settings if user configures it.
- Does NOT affect devnet/testnet/localnet operations.