Skip to content

Documentation

Using Outcome

Outcome turns what you want to do into a Solana transaction plan you can read, simulates the exact message, and asks your wallet to sign only after you approve the review. This page covers what it supports, how to use it, and how to run and configure it.

Supported actions

  • Read a wallet: SOL, token accounts with mint addresses and decimals, recent signatures.
  • Transfer SOL.
  • Transfer a classic SPL token, or a Token-2022 token whose mint has only supported extensions.
  • Inspect the delegates set on your SPL token accounts.
  • Revoke a delegate from a token account you own.

Not supported: swaps, staking, NFTs, bridging, tokens with transfer fees or transfer hooks, multi-signature wallets, and anything that would sign on your behalf. The Transparency page has the full status list.

Connect a wallet

Open the app and choose Connect wallet. Outcome lists the Solana wallets installed in your browser that announce themselves through the Wallet Standard (Phantom, Solflare, Backpack and others). It never asks for a seed phrase or a private key.

Network. The network is chosen in the app header, and a coloured strip under it always says which one is active: orange for mainnet, striped charcoal for test networks. Outcome reads, simulates and broadcasts through its own RPC for that network. Set your wallet to the same network so the preview it shows agrees with the review here. Outcome never changes network by itself, and a plan is discarded if you switch network or account while it is open.

Prepare a transfer

  1. Go to Transfer. Choose SOL or a token. Tokens are listed with their mint address; to send one that is not listed, choose “Another token” and paste its mint address. A symbol does not identify a token.
  2. Enter the amount as a plain number. The form shows the exact base units it will send and refuses more decimal places than the token has; it never rounds.
  3. Paste the recipient's wallet address. Not a token account, not a name.
  4. Choose Validate and simulate. Nothing is signed at this step. Outcome reads the chain, applies your rules, builds the message and simulates it.
  5. Read the review. If something stops the plan, the failed check says what and why.
  6. Choose Approve in wallet and compare the wallet's own preview with the review before you confirm there.
  7. Watch the status: submitted, confirmed, finalized. The signature links to the Solana Explorer.

Recipient has no token account. The transaction creates the recipient's associated token account and funds it with a rent deposit from your wallet (about 0.002 SOL for a classic token). The review lists that deposit apart from the network fee: it stays in the new account.

Priority fee. Optional, under Advanced. You set a price in micro-lamports per compute unit; Outcome adds the two Compute Budget instructions and the fee on the review includes it. Outcome does not pick a priority fee for you.

Reading a review

  • Calculated. Outcome's own arithmetic from the plan: what each named account should gain or lose.
  • Observed in simulation. The account state the RPC returned after executing the exact message, compared with a read taken just before. “Matches” means the two agree for that account.
  • Not available. What the RPC did not return. Nothing is filled in to cover a gap.
  • What the message contains. The instructions decoded from the bytes your wallet will sign: program, accounts, amount.
  • Checks performed. Every validation, chain check, rule and simulation check with its result.

Simulation estimates the result against a particular chain state. It does not guarantee execution or eliminate risk. The chain can change between the simulation and the moment your transaction lands.

If the plan goes stale. A transaction carries a recent blockhash that expires after about a minute. If it gets too old while you read, Outcome stops and asks to prepare again: the message is rebuilt, simulated again, and shown for a new review.

If the status is unknown. The signature is saved. Use Check status, which only reads. Send the same transaction again re-submits the identical signed bytes, which the network can process at most once. Do not prepare the action again until the first one has landed or its blockhash has expired.

Delegations

An SPL token account can name one delegate that may move up to a set amount of its tokens. Delegations lists the delegate, the delegated amount and the owner for the token accounts it could read, and prepares a Revoke through the same review flow.

It is not a scan for every permission. Solana has no allowance list like ERC-20 tokens have; program-specific authorities, escrows and session keys are not covered, and the inspector makes no judgement about whether a delegate is safe. A permanent delegate set on a Token-2022 mint cannot be revoked by an account owner; it is shown as a notice.

Rules

Under Rules you set a cap per asset for one transfer, the SOL that must remain afterwards, an optional list of approved recipients, and the programs a plan may call. They are stored in this browser, separately for each network, and are enforced by this application only. They do not restrict your wallet anywhere else.

Receipts

Activity keeps a local receipt for each prepared plan: your request, the validated plan, the checks, the simulation with its time and slot, your approval, the signature and the latest known state. Receipts are separate for each wallet and network, can be exported as JSON, and can be cleared. They are notes in your browser, not on-chain records.

The assistant

When the deployment has an AI provider configured, the overview page accepts one sentence, for example “Send 20 USDC to … and keep enough SOL for fees”. The model returns a typed proposal; code validates it and opens the transfer form with the fields filled in. You still run validation, simulation and review yourself.

Without a provider the page says so and offers the forms, which do everything the assistant could only suggest.

Run it yourself

Requirements: Node.js 22.12 or newer and pnpm 9.

pnpm install
cp .env.example .env.local      # optional: every value has a working default
pnpm dev                        # http://localhost:32300

pnpm check                      # typecheck, lint, unit tests
pnpm build && pnpm start        # production build on http://localhost:32310

With no configuration the app offers mainnet and devnet through key-free public RPC endpoints. Reads, simulation and sending work; listing every token account does not on the mainnet default, so only registry mints and mints you add are shown there.

Configuration

VariableMeaning
NEXT_PUBLIC_SOLANA_CLUSTERSClusters offered in the app, comma separated: mainnet-beta, devnet, localnet. Default: mainnet-beta,devnet.
NEXT_PUBLIC_DEFAULT_CLUSTERCluster selected on first visit. Default: mainnet-beta.
SOLANA_RPC_URL_MAINNETServer-side mainnet RPC URL, may contain a key. Default: a key-free public endpoint with reduced token coverage.
SOLANA_RPC_URL_DEVNETServer-side devnet RPC URL. Default: api.devnet.solana.com.
SOLANA_RPC_URL_LOCALNETA local validator, for end-to-end tests. Only used when localnet is in the cluster list.
ANTHROPIC_API_KEYEnables the assistant through the Anthropic API.
AI_GATEWAY_API_KEY / AI_GATEWAY_OIDC=1Enables the assistant through the Vercel AI Gateway instead (key, or the deployment’s own OIDC token).
AI_MODELModel id for the assistant. Default: claude-opus-5-5.
AI_DAILY_LIMIT, AI_DAILY_LIMIT_PER_CLIENTAssistant request ceilings per server instance per day. Defaults: 500 and 60.
NEXT_PUBLIC_SITE_URLPublic address of the site, for metadata.
config/links.jsonNot a variable: the site address and the X and GitHub links live in this file.
config/token.jsonNot a variable: the token record. Written by pnpm token:ca after the mint has been read from mainnet.

RPC URLs and AI keys are read on the server only and are never sent to the browser. The browser calls /api/rpc/<cluster>, which forwards an allow-list of JSON-RPC methods to the configured endpoint for that cluster and nowhere else.

Checking a real transfer on devnet

The automated end-to-end flow runs on a local validator. Devnet needs a person, because its faucet no longer serves scripts. To check the same flow against devnet with your own wallet:

  1. Switch your wallet to Devnet (in Phantom: Settings, Developer Settings, Testnet Mode).
  2. Get test SOL for your address at faucet.solana.com.
  3. Open /app, select Devnet in the header, connect, and confirm the SOL balance appears.
  4. Transfer 0.01 SOL to a second address you control. Expect: review, wallet prompt, Submitted, Confirmed, Finalized, and a receipt under Activity.
  5. For a token transfer, get devnet USDC from Circle's faucet and repeat with the devnet USDC mint from the registry.
  6. To check revocation, approve a delegate on a token account with any SPL tool, then revoke it from Delegations.

MCP adapter (local)

pnpm mcp starts a Model Context Protocol server on standard input and output. It runs on your machine and exposes four tools on the same services the app uses: read_wallet, inspect_delegations, prepare_transfer and simulate_plan.

prepare_transfer validates and simulates a transfer for an address you name and returns a review link. The link carries only the request fields; opening it fills in the transfer form and nothing else. The MCP server has no key and cannot sign. There is no hosted proposal service and no remote endpoint: a shared proposal store with expiry and authentication is listed as planned.

{
  "mcpServers": {
    "outcome": {
      "command": "pnpm",
      "args": ["--dir", "/path/to/outcome", "mcp"],
      "env": { "OUTCOME_APP_URL": "http://localhost:32300" }
    }
  }
}