solana-accept-risk

Gate Solana mainnet-beta write operations on explicit risk acceptance.

4|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/widnyana/eyay-toolkits --skill solana-accept-risk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solana-accept-risk
Source: https://github.com/widnyana/eyay-toolkits/tree/main/plugins/solana-onchain/skills/solana-accept-risk
Command: npx skills add https://github.com/widnyana/eyay-toolkits --skill solana-accept-risk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents accidental mainnet-beta writes by requiring explicit user acknowledgment of permanent, irreversible transaction risk before any real funds operations.

Core Features & Use Cases

  • Risk status gating: Checks the SOLANA_ACCEPT_RISK environment variable and blocks mainnet write operations when not acknowledged.
  • Explicit consent flow: Displays a clear risk disclosure, requires the user to type ACCEPT, and then enables mainnet write permissions.
  • Revoke and reset: Unsets SOLANA_ACCEPT_RISK to immediately block mainnet operations again.

Quick Start

Run /solana-accept-risk accept to display the disclosure and enable mainnet write operations after confirming with ACCEPT.

Frequently Asked Questions about solana-accept-risk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable Solana mainnet-beta transactions safely?

Solana mainnet-beta transactions are blocked by default to prevent accidental irreversible writes. You must explicitly acknowledge the risk by typing ACCEPT to set the SOLANA_ACCEPT_RISK environment variable before any mainnet operations are permitted.

Why are my Solana mainnet write operations blocked without confirmation?

Solana mainnet write operations are blocked because the SOLANA_ACCEPT_RISK environment variable is not set, requiring explicit user consent to prevent accidental irreversible fund transfers.

How do I revoke Solana mainnet access after accepting the risk?

You revoke Solana mainnet access by unsetting the SOLANA_ACCEPT_RISK environment variable, which immediately blocks all mainnet write operations and resets the consent gate.

Does Solana transaction safety require a consent gate for real fund operations?

Yes, a consent gate is required for Solana transaction safety on mainnet-beta. It enforces explicit risk acknowledgment to prevent accidental permanent losses during real fund operations.

What happens if I attempt mainnet-beta operations without prior risk acknowledgment?

Any attempted mainnet-beta operations without prior risk acknowledgment are refused. The system mandates a clear risk disclosure and explicit acceptance before enabling mainnet write permissions.