PriorSeal

io.github.imokokok由 GitHub 账号 imokokok 发布v0.2.0更新于 Oct 29, 2026

Bounded authorization and independently verifiable execution evidence for agents.

已验证Streamable HTTP可网页运行金融开发者工具安全与监控

概览

AI 生成的概览

远程 MCP 服务器,让助手为 EVM 或 Solana 操作准备有边界的用户签名授权,并记录可独立验证的执行证据。

可以做什么
  • 查询部署能力,并准备有边界的授权,返回供人类主体签名的 EIP-712 类型化数据或 Solana 消息
  • 准备受控执行交接方案,整合授权与部署能力
  • 接收主体已签名的授权,并按标识符读回
  • 为已提交的 EVM 或 Solana 交易登记观察请求,并读取持久化观察任务状态
  • 读取已签名的执行回执,并用部署密钥注册表进行便捷验证
  • 获取付费证据包、链中立证据信封和新鲜证据检查的免费 x402 购买交接
适用场景
适合构建 EVM 或 Solana 智能体、资金管理自动化、钱包或交易基础设施的团队,需要记录谁授权了确切操作、何时授权以及事后观察到什么。当助手提出交易、但必须由人签名且第三方应能独立核验结果时适用。
运行要求
需要远程 MCP 端点,无需安装包,也未声明凭据。付费证据导出与新鲜检查走 x402 支付通道,观察功能依赖服务端已配置的对应链 RPC 端点。README 中的本地示例与 SDK 分别需要 Node.js 22+ 和 20+。
安装前请注意
接收授权和登记观察可能消耗已配置的 Agent 额度并改变服务状态,应使用幂等键。MCP 接口只返回购买交接,不包含付费内容本身,x402 支付会实际花费资金。有效回执只是签名声明的证据,并不保证安全;需用独立确认的签发者公钥在本地独立验证,下载包内的公钥仅为发现信息。

安装

在 SourceWeft 中

  1. 打开 控制台中的 PriorSeal,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.imokokok%2Fpriorseal/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "priorseal": {
      "type": "http",
      "url": "https://priorseal.xyz/mcp"
    }
  }
}

README

PriorSeal

Let Agents prepare EVM, Solana, and bounded HyperCore spot actions while users retain explicit, independently verifiable control.

[CI] [npm] [MIT License]

Live console · MCP adoption guide · TypeScript SDK · PriorSeal MCP · API specification · Pilot collaboration

An Agent can propose a transaction, but a transaction hash alone cannot show who authorized the action, what they approved, whether the observed execution matched it, or whether the user still had a final say. PriorSeal connects a principal-signed, time-bounded authorization to an identified EVM or Solana execution in a portable receipt that another party can verify independently. Its core is the relationship between what an Agent proposed, what was authorized before action, and what was observed afterward.

text
Agent proposal → Bounded intent → Principal signature → Acceptance + time evidence                                → EVM / Solana observation → Signed receipt → Independent review

PriorSeal is for teams building EVM and Solana Agents, treasury automation, wallets, trading applications, and transaction infrastructure. It sits beside the system that constructs, signs, and submits transactions; it does not hold wallet keys, move funds, or turn a single authorization into open-ended automation.

Choose your integration path

NeedStart here
Let an Agent prepare one user-controlled action with portable evidenceAgent usage and payment model · PriorSeal offline example
Inspect oracle data and assess its use in a tradeInsight and oracle-insight-guard
Prove who authorized an exact EVM call and what was observedPriorSeal offline example and priorseal-sdk
Start a reproducible exact-call integration and hand a reviewer a portable v3 receipt bundleExact-call partner reference
Bind a Solana mainnet transaction message to a wallet authorization and observed transactionSolana integration guide
Bind a Hyperliquid HyperCore spot IOC limit order to a cloid and observed fills, including an optional user-approved builder feeHyperliquid integration guide
Configure x402 payment for eligible read-only evidence exportsx402 payment integration · staged rollout
Use an eligible Base Wallet MCP call with Insight assessment and PriorSeal evidenceWallet MCP × Insight × PriorSeal · local skill package
Embed one bounded action in a wallet or Agent runtimeGuarded Action integration · Base Sepolia rehearsal
Bind an Insight Base or Monad lending risk decision to a user-authorized Aave/Morpho callBase binding · Monad binding
Close Insight's reviewed Base direct DEX swap path with ordered approval and swap evidenceBase Agent Swap Guard binding
Let an AI agent use PriorSeal's reviewed authorization and evidence workflowMCP adoption guide · PriorSeal MCP · controlled-execution example · compatibility proof · remote endpoint https://priorseal.xyz/mcp
Bind an ERC-8004 agent identity and trust evidence to authorizationERC-8004 integration guide and read-only inspector
Keep assessment, authorization, and execution evidence togetherBase swap v2 fixture and composite review manifests

Insight and PriorSeal work independently. Insight provides oracle transparency and risk intelligence; PriorSeal provides authorization and execution evidence. The combined path links assessment, authorization, execution, and review while keeping each product’s trust checks separate. Start with the offline example before connecting a wallet, RPC endpoint, or API key.

PriorSeal is designed as an Agent-facing, user-controlled, per-use authorization and evidence layer: an Agent can call the service and, where enabled, pay for an eligible evidence export or Fresh Evidence Check, but its service payment never gives it authority over a customer transaction. The principal's explicit single-use signed authorization remains separate. A Fresh Evidence Check re-observes the transaction named by an authorization-bound receipt, then returns a new issuer-signed report; it does not submit an action or make a future-safety claim. The free MCP surface provides discovery and a purchase handoff only—it cannot materialize a paid bundle or check. Live pricing, enabled rails and exact resources are available from GET /v1/capabilities. See the agent usage and payment model.

For x402 API payments, the aligned production rails are Ethereum, OP Mainnet, Polygon PoS, Monad, HyperEVM, X Layer, Sei, Base, Arbitrum One, Avalanche C-Chain, and Solana mainnet-beta. A rail is advertised only when its payee is configured and the selected facilitator currently supports it; execution observation still requires that chain's independently configured RPC endpoint.

What the evidence covers

  1. Authority. A user or organization signs a time-bounded, single-use EIP-712, ERC-1271, or Solana Ed25519 message authorization for an Agent and executor. An application-declared Agent ID can be bound into the signed authorization but is not an identity or performance proof without separate verification. A deployment policy can bind a reviewed principal identity to an account; without that registry, a human-readable principal ID is self-asserted.
  2. Ordering. PriorSeal accepts the authorization before execution. Production deployments require an independent pre-execution proof mode: RFC 3161 timestamp, witness quorum, or EVM anchor. The default development issuer mode provides only an issuer acceptance statement.
  3. Execution. PriorSeal observes a specified transaction through configured EVM or Solana RPC sources, or a bounded Hyperliquid HyperCore spot IOC order through its public Info API, and compares supported fields with the signed intent. Solana support binds the complete legacy, v0, or v1 compiled message, including resolved v0 address lookup accounts and v1 resource configuration, and currently observes confirmed mainnet-beta transactions. Hyperliquid support binds a cloid, IOC parameters, and matching fills; it does not submit exchange actions or hold API-wallet credentials. Pending, unavailable, reverted, and reorged states remain explicit.
  4. Review. An Ed25519-signed v3 receipt separates evidence validity, execution state, and authorization compliance. A reviewer can download it and verify its hashes, signatures, policy result, and binding locally with an independently confirmed issuer key. A paid x402 receipt-bundle export can additionally carry a signed payment-to-resource evidence statement without conflating the payment rail with the subject execution chain.

For EVM contract calls, the priorseal.intent.v2 exact-call profile binds the transaction envelope: chain, executor, nonce, target, calldata hash, and native value. The Solana transaction profile binds the signed message bytes represented as compiled instruction and account data. Optional context commitments bind digests of external decisions, assessments, or a block-pinned ERC-8004 identity snapshot without claiming that PriorSeal made those decisions. See the evidence relationship levels, the Solana integration guide, and the ERC-8004 integration guide.

For ERC-4337 smart accounts, a second intent.v2 profile binds the canonical UserOperation hash and supports commitments from Insight's signed risk assessments. EIP-7702 observation supports predelegated EntryPoint v0.7 accounts and marker-based v0.8/v0.9 flows, binding a signed authorization tuple when the operation requests a fresh delegation; all profiles pin delegate code and verify exact bundle calldata plus transaction-level delegation state. See the ERC-4337 integration guide for supported scope and the distinction between UserOperation evidence and ordinary bundler transaction observation.

A valid receipt is evidence of signed claims, not a guarantee of economic safety or an infallible RPC view. ERC-1271 authority and EVM anchors require additional chain-state checks for complete verification. A key included in a downloaded bundle is discovery data; the reviewer must establish trust in that key separately.

Try it

Use the hosted console

Open the PriorSeal console. Its quickstart checks the deployment's configured capabilities before wallet signing. You can create an authorization, observe a transaction, export the receipt, and review it in the local verifier. The console's activity list is browser-local; it is not a complete server-side history.

Run the offline example

Repository development requires Node.js 22+. This example generates a temporary key pair and a synthetic execution so you can inspect the receipt and verifier without an RPC endpoint or funds:

bash
npm cinpm run example:receiptnpm run verify:receipt

The verifier should report valid: true, code: OK, outcome: COMPLETED, executionStatus: CONFIRMED, and complianceStatus: COMPLIANT. These are results for the synthetic fixture, not proof of an on-chain transaction. Confirm the public key independently before relying on a receipt from another issuer.

The artifacts are written to the ignored examples/receipt-artifacts/ directory. To verify a different receipt and trusted public key:

bash
npm run verify:receipt -- /path/to/receipt.json /path/to/public-key.pem

Run the API and console locally

After npm ci, copy .env.example to .env.local, configure development issuer key-file paths and an RPC endpoint for the chain you want to observe, then start the API and UI in separate terminals:

bash
cp .env.example .env.localnpm run start:api
bash
npm --prefix web run dev

The UI uses Vite's displayed local URL and proxies API calls to port 3000. For database setup, key handling, and production configuration, use the operations runbook. Never put private keys, credential-bearing RPC URLs, or database secrets in Git.

Integrate with TypeScript

The published priorseal-sdk supports Node.js 20+ and modern browsers. It prepares wallet authorization, calls the API, resumes durable observations, and verifies receipts locally. It does not sign or broadcast execution transactions.

bash
npm install priorseal-sdk
ts
import { createPriorSealClient } from 'priorseal-sdk'
const priorseal = createPriorSealClient({ baseUrl: 'https://priorseal.xyz' })const capabilities = await priorseal.capabilities()
const flow = await priorseal.authorizeWithWallet({  intent,  audience: capabilities.audience,  principal: { type: 'user', id: 'user:42' },  delegate: { agentId: 'agent:treasury', executor: intent.sender },}, window.ethereum)
// Your execution system submits the authorized transaction and supplies txHash.const evidence = await priorseal.observeExecutionUntilFinal({  authorizationId: flow.accepted.authorization.authorizationId,  chainId: Number(intent.chainId),  txHash,  confirmations: 12,})

This is an integration outline: intent, txHash, and the wallet provider come from your application. For an executable example with no wallet or RPC dependency, use the offline example.

The SDK guide covers intent construction, recovery checkpoints, exact calls, and offline verification. The HTTP contract is available as OpenAPI; the main flow uses POST /v1/authorizations/prepare, POST /v1/authorizations, and POST /v1/executions/observe.

Examples and integrations

These examples have different evidence scopes. Read each example's README before treating its result as an integration or production claim.

ExampleWhat it demonstrates
Exact-call SDK integrationBinds a partner-owned call-envelope digest to a principal-signed authorization.
Base swap v2 fixtureCombines signed Insight advisory input, an agent-side policy decision, and PriorSeal authorization in a synthetic flow.
Base Sepolia live evidenceVerifies one real testnet transaction authorized before signing; it does not include a live Insight attestation.
RWA v2Links assessment evidence to exact calls and reports integrity, trust, time, policy, and execution separately.
APS decision bindingCorrelates an independently verified APS decision with authorization and synthetic execution evidence.
Open Evidence Lab exact-call matrixSynthetic, offline interoperability case for validating a signed request against its observed execution envelope.
Consumer disposition exampleApplies a small downstream policy to the matrix report: accept an exact completed match, reject mismatches, and hold incomplete evidence for review.

Other partner fixtures are under examples/. Insight can be used independently for assessment evidence; PriorSeal can be used independently for authorization and execution evidence; a combined workflow can bind the two without merging their trust roots.

Documentation

TopicStart here
Product scope, commercial direction and evidence limitsPositioning · First-release scope · Agent usage and payment model · Evidence relationship levels
Authorization and receipt semanticsSigned authorization · Temporal evidence and finality · Lifecycle · API compatibility
Security and operationsThreat model · Supply-chain controls · Operations · Agent/retail public operations · Cloudflare deployment
SDK and integration recoverySDK guide · Reliability runbook
Solana transaction authorization and observationSolana integration guide
Payment, observation, and advanced-profile boundaries by chainChain capability matrix
Agent and retail onboardingAgent and retail user guide · Agent usage model · public-launch record
x402 API payments on aligned EVM networks and Solanax402 payment integration · staged rollout
Sandbox adapter proposalAPS checkout-gate per-order limit check

Run npm run check for the repository checks, or npm run release:check for the full release gate. Production runs the API and console on Cloudflare Workers with D1 persistence; local Node deployments can use PostgreSQL.

Work with PriorSeal

For a pilot, choose one bounded EVM or Solana execution path and ask an independent reviewer to reproduce the authorization, timing, observation, and compliance result from its exported evidence. Public Issues are only for redacted developer collaboration. See the collaboration guide or open a redacted pilot request. Code contributions follow CONTRIBUTING.md; security reports follow SECURITY.md.

MIT licensed. See LICENSE.

来源:README.md,提交 dcb203f

工具

12

priorseal_get_capabilities

Read the live PriorSeal deployment capabilities before constructing a workflow.

无需输入参数。

priorseal_prepare_authorization

Canonicalize a bounded authorization and return the exact EIP-712 typed data or Solana message for a human-controlled principal to sign. This is read-only and never signs, submits, or executes a transaction.

输入参数input必填

priorseal_prepare_controlled_execution

Prepare a bounded authorization together with the deployment capabilities and a safe, explicit handoff plan. A human-controlled principal must still sign; this never accepts an authorization, signs, submits, or executes a transaction.

输入参数input必填

priorseal_accept_authorization

Verify and persist a principal-signed authorization. This can consume configured Agent credits and changes service state; send an idempotency key. It never signs, submits, or executes a transaction.

输入参数input必填

priorseal_get_authorization

Read an accepted authorization by its identifier.

输入参数authorizationId必填

priorseal_observe_execution

Persist an observation request for an already-submitted EVM or Solana transaction, then issue evidence when configured observation completes. A successful metered observation includes its first portable evidence bundle. This can consume configured Agent credits; send an idempotency key. It never broadcasts a transaction.

输入参数input必填

priorseal_get_observation_job

Read the durable status of an automatic finality-observation job.

输入参数jobId必填

priorseal_get_receipt

Read a signed execution receipt by its identifier.

输入参数receiptId必填

priorseal_get_evidence_bundle

Get a free x402 purchase handoff for the portable receipt evidence bundle. This MCP result never includes the paid bundle itself.

输入参数receiptId必填

priorseal_get_evidence

Get a free x402 purchase handoff for the chain-neutral Evidence API envelope. This MCP result never includes the paid envelope itself.

输入参数receiptId必填

priorseal_get_fresh_evidence_check

Get a free x402 purchase handoff for a newly signed, read-only chain re-observation of an authorization-bound receipt.

输入参数receiptId必填

priorseal_verify_receipt

Convenience-verify a PriorSeal receipt with the deployment key registry. Independent local verification remains required for trust decisions.

输入参数receipt必填

版本历史

3
  1. v0.2.0最新Oct 29, 2026
  2. v0.1.1Oct 18, 2026
  3. v0.1.0Oct 18, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分