Documentation

How Sendof works, and what it does not do yet

Sendof lets you write a mandate for a trading agent, review what the agent proposes, sign the trades you accept in your own wallet, and keep a record you can check against the chain. This page says exactly which parts are live on Solana mainnet today.

What works now

  • Wallet connection through the Wallet Standard. Phantom, Solflare and other compatible wallets are detected automatically.
  • Real balances read from Solana mainnet, with a dollar value only where a price exists.
  • Real quotes from Jupiter, turned into a transaction that is simulated and checked before your wallet sees it.
  • User-signed swaps: you approve each transaction; Sendof tracks the signature and reads the result back from the chain.
  • Mandates saved as drafts and versions, with the enforcement status of every rule shown next to it.
  • One reference agent, Cadence, that proposes scheduled purchases inside a mandate.
  • A record of the trades you sign through Sendof, with reference-price comparisons, fees and exports.
  • Reviews and recommendations computed from that record, which change nothing unless you approve them.

Not live: autonomous execution. No agent can trade without your signature, because the onchain program that would enforce a mandate for a delegated agent is not configured. See Delegated execution.

Live status

This table is produced by live calls from this deployment when you open the page. It is the source of truth for what is configured here.

Reading the status of this deployment…

Execution modes

User-signed mode (active)

Every trade is one transaction that you review and approve in your wallet. An agent can create a proposal; it cannot execute one. Sendof holds no key, no token delegate and no approval over your wallet. Mandate rules are checked by the application before a transaction is prepared. They are not an onchain constraint: a swap you make in another app is not limited by them.

Delegated agent mode (not configured)

In this mode an agent would sign trades itself, and a Solana program would hold the funds and enforce the mandate in the same transaction as each swap. That needs a deployed, verified program. None is configured, so activation is unavailable everywhere in the app. Sendof never falls back to an unrestricted delegation: a token delegate on its own is not a policy system, and a setting in a web page is not a constraint.

What is enforced where

Each rule of a mandate has one of four statuses, shown in the mandate editor exactly as below.

  • Onchain enforced: a program rejects the transaction if the rule is broken. Nothing has this status today.
  • Checked by application: Sendof checks the rule when a proposal is created and again when its transaction is prepared. A failed check means no transaction is prepared.
  • Requires monitoring worker: the rule is evaluated only when the schedule evaluator runs. Between runs nothing watches it.
  • Unavailable in current mode: the rule is not set, or cannot be enforced in the current mode.
RuleUser-signed mode, todayDesigned for delegated mode
AgentChecked by application. Only proposals from this agent are accepted under this mandate.The policy account names one agent signer. Any other signer is rejected by the program.
Allowed assetsChecked by application. A proposal for any other asset is rejected before a transaction is prepared.Input and output mints are compared with the allow list stored in the policy account.
Maximum trade amountChecked by application. Checked when a proposal is created and again when its transaction is prepared.The program compares the input amount, in base units of the quote asset, with the stored limit.
Buy budgetChecked by application. Counts purchases recorded through Sendof under this mandate, in USDC base units. Trades you make elsewhere are not counted.The program keeps a spending counter per window in the policy account and updates it in the same instruction as the swap.
Slippage limitChecked by application. The tolerance is fixed when the transaction is prepared. Its minimum received is then part of the transaction you sign, where the swap program enforces it.The program computes the minimum output itself and fails the transaction if the vault receives less.
Reference-price deviation limitChecked by application. The quote is compared with a Pyth reference price read from the chain. Assets without a verified, fresh reference cannot be proposed.The program reads a pinned price account, rejects stale or unverified prices, and compares the result with the oracle value.
ExpiryChecked by application. After this time no proposal is created and none can be prepared.The program compares the cluster clock with the stored expiry on every execution.
Pause thresholdRequires monitoring worker. Evaluated from recorded portfolio valuations each time the schedule evaluator runs. It stops new proposals. It cannot sell anything and does not cap a loss.A pause flag in the policy account blocks execution. Setting it from a drawdown needs an external worker to observe prices and call the program.

One thing is enforced onchain in user-signed mode, by the swap program rather than by Sendof: the minimum received of the transaction you sign. If the swap would deliver less, the whole transaction fails.

How the budget is measured

Budgets and trade limits are amounts of USDC in base units (six decimals). A purchase counts by the USDC that actually left the wallet, read from the transaction’s balance records. A prepared or submitted trade reserves its full amount until it settles, fails or expires. Amounts of different tokens are never added together as if they had equal value. The window is rolling: the last 24 hours or the last 7 days.

The pause threshold

A drawdown threshold pauses a mandate: no new proposals are created. It is evaluated from recorded valuations of your whole wallet, and only when the schedule evaluator runs. It does not sell anything. Prices can gap, liquidity can vanish and a fall can pass the threshold long before the next check. It is not a guaranteed limit on losses.

Agents and proposals

Agents are defined by the operator of a deployment in config/agents.json. The directory lists only what is configured there, and the activity shown for an agent is counted from the database, never typed in.

Cadence, the reference agent

Cadence proposes one fixed-size purchase per interval, paid in USDC, for an asset on your mandate. With several assets it rotates through them in the order you listed. Its decision is a pure function of the mandate and the clock; no language model takes part in it. It never sells and never changes its own size.

When proposals are created

A proposal is created when the schedule evaluator runs and finds that the current interval has none yet. The evaluator runs when you press Check schedule now on the agent’s page, and when a cron job or the worker script calls /api/cron/tick. Between those calls nothing runs: a web request handler is not a continuously running agent. Intervals that passed without a run are not made up afterwards.

Decision notes

Each proposal carries a note written by the agent: intent, reason, the inputs it used, the proposed trade and the checks it expects. The note is an agent-provided explanation, shown apart from verified transaction facts. Its SHA-256 hash is written into the swap transaction itself as a memo, so the note and the trade land together or not at all; a note cannot be attached to a trade afterwards. The activity page can recompute the hash in your browser and compare it with the memo on chain.

What the public pages show

Nothing on the landing page is a recording or a sample. Each panel runs a part of the product:

  • The sandbox mandate and the live check. The rules you set on the landing page and the purchase you pick are evaluated by the same check engine the app uses, with a quote and a reference price read at that moment. The result can pass or fail on any check. Nothing is prepared, signed or stored, and the sandbox is not an account.
  • The operator reference mandate. One public mandate is kept in use for Cadence by the scheduled background pass: SOL, JUP and JTO in rotation, 25 USDC every 4 hours. The proposals listed on the landing page and on Cadence’s page are the ones the scheduler really created for it, with the checks and the reference price of that moment.
  • The published rule. The recommendation panel runs the rule described under Review and recommendations in your browser, on figures you enter. It is labelled as your inputs, not as a record.

The reference mandate belongs to no wallet: its owner is a fixed label that is not a Solana address, so no sign-in can ever own or edit it and nobody can sign its proposals. They expire unsigned. Its execution record therefore stays empty and its review reads “Insufficient history”. That is the honest state of a mandate nobody trades, and it is shown as such.

Trading

  1. Quote. Jupiter’s Swap API V2 (Router path) returns the route, the quoted output and the minimum received. A quote is valid for 30 seconds and is for display only.
  2. Prepare. Sendof asks for a fresh route, assembles the transaction, reads the route’s lookup tables from the chain, simulates that exact transaction and runs structural checks on it: who pays, which programs are called, where SOL moves, which token accounts are opened, how much priority fee is attached.
  3. Review. Your browser runs the same structural checks again on the bytes it received. You see the amounts, the fees, the simulation result and, where one exists, the comparison with an independent reference price.
  4. Sign. Your wallet asks for approval. What it returns is compared with what was reviewed; a changed instruction is refused.
  5. Track. The signature is recorded, then the transaction is sent. The status stays Pending until the network reports a result, and becomes Expired only after the transaction can no longer land and the network repeatedly has no record of it. A status is never set by a timer.

Sendof charges no fee. The Router path carries no Jupiter swap fee. You pay the network fee, and rent for a token account when one is opened.

The record

Three states are kept apart, in separate tables:

  • Prepared: Sendof built a transaction for you to review. Nothing happened.
  • Submitted: your wallet returned a signature and the transaction was sent. Not a result.
  • Verified: the transaction was read back from the chain, succeeded, was paid for by your wallet and contains the exact swap instruction Sendof prepared. Spent and received amounts come from the transaction’s own balance records, never from the quote.

Coverage is always stated as “Transactions recorded through Sendof”. Other swaps made with the same wallet are not listed, are not labelled as Sendof executions, and an agent’s record here is not its lifetime record.

Reference prices

Fills and quotes are compared with Pyth Network price feed accounts read from Solana mainnet. They are independent of the quote provider. The list is short and verified against the chain: SOL, USDC, USDT, JUP, JTO, PYTH, mSOL, JitoSOL. Any other asset has no reference price here, and the app says so instead of using another figure. A fill is compared with a reference only when that price was published within two minutes of the block time.

Review and recommendations

There is no composite trust score. A review shows the figures themselves, each with the size and age of its dataset:

  • Number of recorded trades, and the USDC spent.
  • Shortfall against a time-aligned reference price. Shown from 3 comparable trades; before that it reads “Insufficient history”.
  • Network fees observed on chain.
  • Drawdown of the whole wallet, from recorded valuations. Shown once 8 valuations span 7 days.
  • Policy rejections, counted only from Sendof’s own checks at proposal and preparation time. Nothing is inferred from successful trades.

The recommendation rule

A recommendation needs at least 8 recorded trades over 14 days, 6 of them with a time-aligned reference. With less, the answer is “Insufficient history” and the missing data is listed.

  • If the worst shortfall is past the mandate’s deviation limit, the median is past half of it, or two or more proposals were rejected for tolerance: a lower maximum trade amount is suggested (25% lower).
  • If the median shortfall is within a quarter of the limit, with no tolerance rejections and no failed submissions: a higher maximum trade amount is offered (25% higher, never above the window budget).
  • Otherwise: no change.

A recommendation changes nothing. Approving one is a signed-in action by the owner that writes a new mandate version. An agent has no credential that can approve, edit or extend a mandate. A larger limit is never presented as better: it raises the amount at risk on every trade.

AI summaries

When a model provider is configured, a language model can write a short summary of a proposal or a review from facts Sendof already computed. It takes no part in any check, decision or recommendation, and its text is labelled as an AI summary. Without a provider the feature is shown as not configured and everything else works unchanged.

Token compatibility

A token is identified by its mint address. A symbol is a label and is not unique. Before a trade is prepared, Sendof reads the mint account from the chain and decides whether the token behaves in a way it can check:

  • Supported: SPL Token mints, and Token-2022 mints with descriptive extensions only (metadata and similar).
  • Supported with a warning: a transfer fee of at most 10% (the simulation and the recorded amounts include it), a permanent delegate, a pausable mint that is not paused, scaled display amounts. Agent proposals do not cover these tokens.
  • Not supported: a transfer hook, a non-transferable mint, accounts frozen by default, paused transfers, a transfer fee above 10%, and any extension Sendof does not recognize.

The $SENDOF token

The project has named a token, $SENDOF, and has not published a contract address. The site shows “CA: Soon” until one exists. The address will appear on the home page first, together with what can be read from the mint on Solana mainnet. An address offered anywhere else before that is not from this project.

  • Sendof does not use the token. Mandates, proposals, trading and the record work without it.
  • No fee is paid in it and holding it gives no access, discount or yield in the app.
  • This site states no price, supply plan, allocation or schedule for it. Only facts read from the chain are shown, once there are any.
  • A token can lose all of its value. Nothing here is an offer or advice to buy it.

Delegated execution

Delegated agent mode depends on a Solana program that is not part of this release. It is described here so the dependency is clear; none of it is live. A program suitable for Sendof has to enforce all of the following, in the same instruction that performs the swap:

  • The owner alone creates and changes the policy; the agent is one explicit signer named in it.
  • Allowed token mints, allowed venues or route programs, a maximum input per trade, and a spending budget per window measured in base units of one quote asset.
  • An authorization expiry, a pause flag and revocation, all controlled by the owner.
  • A minimum output computed by the program, and a limit on deviation from an oracle price that must be fresh and fully verified. Assets without a supported oracle are excluded.
  • Output goes only to token accounts owned by the vault. The agent can never withdraw, change ownership or raise a limit.
  • Every account and every program invoked is validated. No arbitrary instruction forwarding and no uncontrolled destination.
  • Owner withdrawal and revocation work by sending instructions to the program directly, without this website.

Such a program needs its own tests on a local validator (unauthorized agent, expired authorization, revocation, disallowed asset, oversized trade, exhausted budget, stale price, wrong destination, unapproved program, minimum output, owner-only withdrawal) and an independent review before real funds touch it. Until one is deployed and configured, SENDOF_DELEGATED_PROGRAM_ID stays unset and the app shows “Delegated execution not configured”.

Revoking permissions

In user-signed mode

There is nothing onchain to revoke: Sendof and its agents hold no authority over your wallet. To stop an agent from proposing, pause or archive the mandate (Mandates, or Settings). To stop using Sendof, disconnect the wallet; nothing remains that could act for you. If a transaction is waiting in your wallet, declining it ends it.

In delegated mode

Not available. When a program exists, revoking will be an instruction that the owner’s wallet sends to that program, which any Solana client can build. It will be documented here with the program’s address and instruction layout, so that it never depends on this website.

Risk information

  • Trading digital assets can lose everything you trade. Nothing here is financial advice, and Sendof is not a broker, an adviser or a custodian.
  • Past results do not predict future results. A good record is not a reason to expect good results.
  • Limits reduce what an agent can propose. They do not guarantee a price, a profit or a maximum loss.
  • A quote is a promise by a route, not a result. Prices move between a quote and a landed transaction; the minimum received is the only bound.
  • A simulation shows what would happen against the chain state of that moment. It is not a guarantee.
  • Reference prices can be stale, wrong or missing. Sendof refuses stale and unverified prices, and still cannot prove a price is right.
  • Tokens can have authorities that freeze accounts or change supply. Read the warnings shown for a token.
  • Providers can fail: the RPC endpoint, the quote provider, the price sources. When data is missing, Sendof shows that it is missing.
  • The software has not been audited.

Setup

Run locally

pnpm install
cp .env.example .env.local     # every value is optional for a first run
pnpm dev                       # http://localhost:32500

With no configuration Sendof uses a shared public RPC endpoint, keyless Jupiter access and an embedded database in .data/. That is enough to connect a wallet, read balances, get quotes, write mandates and sign trades. It is rate limited and token discovery is partial.

Configuration

VariableNeeded forWithout it
SOLANA_RPC_URLYour own mainnet RPC endpoint (server side only; the browser never sees it).A shared public endpoint: rate limited, partial token discovery.
JUPITER_API_KEYNormal quote throughput. Free at developers.jup.ag/portal.Keyless access: one request every two seconds for the whole deployment.
DATABASE_URLPostgreSQL for mandates, proposals and the record. Required on serverless hosts.An embedded database file locally; on a serverless host, records and sign-in are unavailable.
SESSION_SECRETSigning session cookies (32 characters or more). Required in production.Development generates one in .data/. In production, sign-in is unavailable.
CRON_SECRETLetting a cron job or the worker call the schedule evaluator.The evaluator runs only when an owner presses Check schedule now.
ANTHROPIC_API_KEYOptional AI summaries of proposals and reviews. On Vercel, SENDOF_AI_PROVIDER=gateway uses the AI Gateway instead and needs no key.Summaries show as not configured; nothing else changes.
SENDOF_DELEGATED_PROGRAM_IDReserved. This release ships no adapter for a delegated program.Delegated execution not configured (the expected state).

The full list, with defaults, is in .env.example. No secret is read from a NEXT_PUBLIC_ variable, and pnpm secrets:scan checks a production build for leaked values.

Build and deploy

pnpm check        # types, lint, unit and integration tests
pnpm build        # production build
pnpm start        # http://localhost:32510

The web app runs on any Node host or on a serverless platform. On a serverless platform set DATABASE_URL and SESSION_SECRET. The schema is created at start-up; with AUTO_MIGRATE=0 it is applied once by pnpm db:migrate instead, which is the better choice when many instances start at the same time.

The schedule evaluator

Scheduled proposals, the pause threshold and follow-up on in-flight signatures all happen in one pass: GET /api/cron/tick with Authorization: Bearer $CRON_SECRET. Call it from your platform’s cron, or keep pnpm worker running next to the app; the worker simply calls the same endpoint on an interval. Nothing else runs in the background.

Known limitations

  • Delegated execution is not available. Every trade needs the owner’s signature.
  • One agent ships: Cadence. It only buys, only with USDC, and only assets with a verified reference price.
  • Reference prices cover a short list of assets. Elsewhere there is no independent price check.
  • On the shared public RPC endpoint, token discovery checks a list of well-known mints only, and says so.
  • Tokens kept outside the wallet’s standard token accounts are not counted in balances for trading.
  • Wallets that cannot sign messages cannot sign in, and so cannot prepare trades here.
  • Drawdown is measured on the whole wallet from hourly valuations at most, not per agent, and only while Sendof is used.
  • Mandate checks are application checks. They do not constrain trades made outside Sendof.
  • The in-memory rate limits apply per server instance.

Launch App