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 分