AGENT SKILL

ethereum-ecosystem

Comprehensive map of Ethereum trust primitives Bastion orchestrates. Covers wallets (Safe, EOA, AA), identity (ERC-8004, ENS, A2A), payments (x402, Pact), attestations (EAS, Sign, zkTLS), shared trust (EigenLayer), oracles (Chainlink, Pyth), bridges (Across, LayerZero), indexing (The Graph, Blockscout MCP), agent platforms (Olas, Virtuals), and developer tooling (ethskills, Base MCP, Foundry, Scaffold-ETH 2). Use when building on Ethereum trust standards.

License 许可
Apache-2.0
所属仓库
zkos-labs/bastion
最近更新
2026-11-13
Stars
★ 3
Forks
1

01 前言 Front Matter

name
ethereum-ecosystem
description
Comprehensive map of Ethereum trust primitives Bastion orchestrates. Covers wallets (Safe, EOA, AA), identity (ERC-8004, ENS, A2A), payments (x402, Pact), attestations (EAS, Sign, zkTLS), shared trust (EigenLayer), oracles (Chainlink, Pyth), bridges (Across, LayerZero), indexing (The Graph, Blockscout MCP), agent platforms (Olas, Virtuals), and developer tooling (ethskills, Base MCP, Foundry, Scaffold-ETH 2). Use when building on Ethereum trust standards.

03 SKILL.md 正文

Ethereum Ecosystem Standards for Bastion

Bastion is the Programmable Trust Runtime - it orchestrates, not replaces, Ethereum's trust primitives. This skill maps every standard, protocol, and tool Bastion composes.


1. Agent Identity & Reputation

ERC-8004 - Agent Identity Registry

Deployed: January 29, 2026. On 20+ chains. Same addresses everywhere.

  • IdentityRegistry: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432
  • ReputationRegistry: 0x8004BAa17C55a88189AE136b182e5fdA19dE9b63
  • ValidationRegistry: Crypto-economic, zkML, TEE attestation models
  • Agent identity = ERC-721 NFT. Multi-dimensional reputation (uptime, quality, success rate).
  • Resource: https://www.8004.org | https://eips.ethereum.org/EIPS/eip-8004

ERC-8126 - AI Agent Verification

Standardized verification results and risk scores consumed during policy evaluation.

ENS - Ethereum Name Service

Human-readable names for agent identities (agent.eth). Composable with ERC-8004.

A2A - Agent-to-Agent Protocol (Google)

Standard for autonomous agent discovery and communication. ERC-8004's service registry maps A2A endpoints.

Privado ID / Polygon ID - Decentralized Identity

Privacy-preserving identity for agents and users. VC-based claims (KYC, credentials).


2. Wallets & Account Abstraction

ERC-4337 - Account Abstraction

UserOperations, bundlers, paymasters. EntryPoint v0.7: 0x0000000071727De22E5E9d8BAf0edAc6f37da032. Major implementations: Kernel (ZeroDev), Biconomy, Alchemy Account Kit, Pimlico.

ERC-7579 - Modular Smart Accounts

Validators, executors, hooks. Bastion's policy validator plugs as an ERC-7579 module.

EIP-7702 - Smart EOAs (Live May 2025)

EOAs get smart-contract delegation without migration. Batching, gas sponsorship, session keys. Still early for production agents - use standard EOAs or Safe until tooling matures.

Safe (Gnosis Safe) - Multisig Wallets

For AI agents: 2-of-3 Safe (agent hot wallet + human hot wallet + human cold wallet). If agent key is compromised, human removes it. Agent can batch transactions.

Coinbase Smart Wallet / Base Account

Embedded wallet with passkey auth. Used by Base MCP for agent wallets.

Privy - Embedded Wallets

Wallet infrastructure for apps. Embedded wallets, email/social login, user-owned accounts.

Dynamic - Wallet-Based Auth

Embedded wallets + multi-wallet auth + smart accounts.

wagmi / viem - Frontend Wallet Libraries

React hooks (wagmi) + low-level primitives (viem). The standard stack for EVM dApp frontends.


3. Payments & Settlement

x402 - HTTP Payment Protocol (Coinbase)

Production-ready HTTP 402 micropayments. Server returns 402 Payment Required → client pays via EIP-3009 → server settles onchain. Bastion's Web2 firewall proxies x402 calls.

  • SDKs: @x402/core @x402/evm @x402/fetch @x402/express (TS) | pip install x402 (Python)
  • Resource: https://www.x402.org

Pact Network - Payment Refunds

On-chain chargeback for x402. Solana mainnet program 5bCJcdWdKLJ7arrMVMFh3z99rQDxV785fnD9XGcr3xwc. Premium per call → refund (principal+premium) on API failure from USDC coverage pool.

EIP-3009 - Transfer With Authorization

Gasless token transfers via signed authorizations. USDC implements it. Powers x402.

ERC-2612 - Permit (Gasless Approvals)

Gasless token approvals via signatures. Widely adopted across DeFi.


4. Attestations & Provenance

EAS - Ethereum Attestation Service

On-chain attestation registry. Bastion stores execution approvals, compliance attestations, human approvals, and policy outcomes.

Sign Protocol - Cross-Chain Attestations

Portable trust records verifiable across ecosystems. Bastion emits Sign attestations for cross-chain trust.

zkTLS / Reclaim / zkPass - Verified Web Data

Cryptographic proofs of web API responses. Bastion uses verified data as policy inputs (e.g., "this agent has a verified GitHub org membership").

Sigil - On-Chain Provenance

Verifiable records of agent actions and decisions.


5. Shared Trust & Cryptoeconomic Security

EigenLayer - Restaking & AVS

Cryptoeconomic trust for verifiable services. Bastion coordinates workflows against EigenLayer-secured oracles.

Lit Protocol - Threshold Cryptography

Programmable key management and threshold decryption. Bastion uses Lit as a trust primitive for confidential execution policies.


6. Oracles & Data Feeds

Chainlink - Decentralized Oracle Network

Price feeds, VRF (verifiable randomness), Automation (keeper network), CCIP (cross-chain). Bastion consumes Chainlink price feeds for policy thresholds and VRF for unbiased randomness.

Pyth Network - Low-Latency Oracles

High-frequency price feeds optimized for Solana and EVM. Pull-based model (cheaper than push).

Chronicle - MakerDAO-Backed Oracles

Verifiable oracle protocol originally built by MakerDAO. Scribe model for gas-efficient updates.


7. Bridges & Interoperability

Across - Intents-Based Bridging

Fast cross-chain transfers via relayers and intents. Optimistic oracle for dispute resolution.

LayerZero - Omnichain Messaging

Arbitrary cross-chain message passing. Powers cross-chain agent actions.

Wormhole - Cross-Chain Messaging

Generic message passing + token bridging. Solana-native origins, now multichain.

Hyperlane - Permissionless Interop

Permissionless cross-chain messaging. Anyone can deploy to new chains without governance.


8. Indexing & Data

The Graph - Blockchain Indexing

Subgraph-based indexing for fast on-chain data queries. ERC-8004 agent registrations can be indexed for fast discovery.

Blockscout MCP - AI Agent Blockchain Data

Model Context Protocol server for structured blockchain data. Multi-chain (mainnet + all major L2s).

Dune Analytics - On-Chain SQL

Query blockchain data with SQL. Dashboards for protocol analytics.

Dune Sim - Realtime On-Chain APIs

REST/WebSocket APIs for wallet intelligence, token analytics, and real-time data.


9. Agent Platforms & Frameworks

Virtuals Protocol - Agent Economy

Agent identity, capital formation, tokenized agents, and agent marketplaces.

ElizaOS (ai16z) - Agent Framework

Multi-chain agent framework with plugin system. Bastion provides the trust runtime for ElizaOS agents.

Olas (Autonolas) - Autonomous Agent Services

On-chain agent service registry. Agent bonding, staking, and service composability.

Wayfinder - Agent Routing

Agent discovery and routing infrastructure.


10. Developer Tooling

ETHSKILLS

19 Ethereum skills for AI agents (Solidity, wallets, gas, L2s, standards, DeFi, security, testing, deployment).

Base MCP

Base Account wallet via MCP server. Send, swap, sign, batched calls, x402 payments, 20+ DeFi plugins.

Build on Base

Complete Base development playbook: network config, contract deployment, wallet auth, payments, Farcaster.

Foundry

Solidity-native dev toolchain (forge, cast, anvil). Fast compilation, testing, fuzzing, deployment.

Scaffold-ETH 2

Full-stack Ethereum toolkit: Solidity + Next.js + Foundry. Auto-generates TypeScript types.

Hardhat 3

TypeScript-first Ethereum dev environment. Solidity testing, fuzzing, Rust internals (Aug 2025).

abi.ninja

Paste any verified contract address → interactive UI for all functions. Multi-chain. Zero setup.

RPC Providers

  • LlamaNodes: https://eth.llamarpc.com (free)
  • Alchemy: 300M CU/month free tier
  • Infura: MetaMask default
  • QuickNode: Performance-focused

11. Bastion's Trust Lifecycle Map

                         Applications
              AI Agents · Enterprises · DAEMON
                                │
    ────────────────────────────────────────────────────────────
                         Bastion Runtime
    ────────────────────────────────────────────────────────────
    Policy Compiler  · Risk Engine      · Transaction Firewall
    Trust Graph      · Evidence Aggregator · Audit Log
    Agent Session Manager · Human Approval Engine
    ────────────────────────────────────────────────────────────

    Identity & Trust              Agent Interoperability
    ├── ERC-8004 · ERC-8126      ├── A2A
    ├── ENS · DID/VC             ├── MCP
    └── Privado ID               └── ACP (future)

    Policy Backends               Wallet Infrastructure
    ├── OPA · Cedar              ├── ERC-4337 · EIP-7702
    ├── Runtime Rules            ├── ERC-7579 · ERC-7715
    └── Human Approval           ├── Session Keys · Safe
                                 └── Coinbase Smart Wallet

    Evidence & Provenance         Confidential Compute
    ├── EAS · Sign Protocol      ├── Arcium MXE (MPC)
    ├── Sigil · zkTLS            ├── SP1 (ZKVM)
    └── Reclaim · zkPass         ├── Lit (Threshold Crypto)
                                 ├── Nillion (Blind Compute)
    Trust Services               └── Aztec (ZK Private State)
    ├── Attestation: EAS · Sign
    ├── Identity: ERC-8004 · ENS  Execution
    ├── Oracles: Chainlink · Pyth ├── Solana
    │   · Chronicle              ├── Starknet (ZK + native AA)
    ├── Randomness: VRF          ├── Ethereum
    └── Restaking: EigenLayer    └── Midnight (ZK privacy)

    Settlement & Security         Connectivity & Bridging
    ├── Ethereum                 ├── Across
    ├── Pact Network             ├── LayerZero
    └── EigenLayer               ├── Wormhole
                                 └── Hyperlane

    Payments
    ├── x402
    ├── Pact Network
    └── EIP-3009 · ERC-2612
    ────────────────────────────────────────────────────────────
                Applications
    AI Agents · Enterprises · DAEMON

                      │

               Bastion Runtime

────────────────────────────────────────────────────

Identity Policy Wallet ├── ERC-8004 ├── OPA ├── ERC-4337 ├── ERC-8126 ├── Runtime Rules ├── EIP-7702 ├── ENS ├── Human Approval ├── ERC-7579 ├── A2A └── Chainlink VRF ├── Safe (multisig) ├── Privado ID ├── Coinbase Smart Wallet └── DID/VC └── wagmi/viem

Evidence Execution Settlement ├── EAS ├── Solana ├── Ethereum ├── Sign Protocol ├── Arcium (MPC) ├── Pact Network ├── zkTLS/Reclaim └── Midnight (ZK) └── EigenLayer ├── Sigil └── The Graph

Trust Primitives Bridging Payments ├── EigenLayer ├── Across ├── x402 ├── Lit Protocol ├── LayerZero ├── Pact Network ├── Chainlink/Pyth ├── Wormhole └── EIP-3009 └── Chronicle └── Hyperlane


---

## 12. Resources

| Category | Resource |
|----------|----------|
| All Ethereum skills | https://ethskills.com/SKILL.md |
| Base agent skills | https://github.com/base/skills |
| ERC-8004 agent identity | https://www.8004.org |
| x402 payments | https://www.x402.org |
| Pact Network | https://pactnetwork.io/docs |
| Blockscout MCP | https://mcp.blockscout.com/mcp |
| Scaffold-ETH 2 | https://docs.scaffoldeth.io |
| Foundry | https://book.getfoundry.sh |
| SpeedRun Ethereum | https://speedrunethereum.com |
| Ethereum.org dev | https://ethereum.org/en/developers |
| ETH Tech Tree | https://www.ethtechtree.com |

---

**Built by zkOS Labs** - the Programmable Trust Runtime for Autonomous Systems.

04 同仓库更多 Skills

zkos-labs
zkos-labs/bastion

bastion

Programmable Trust Runtime for Autonomous Systems. Orchestrates identity, policy, privacy, durable execution, and multi-chain settlement.

★ 3
zkos-labs
zkos-labs/bastion

web2-api-firewall-administrator

Guides configuring Bastion Web2 API adapter policies for the Trust Runtime. Covers endpoint allowlists, provider budgets, rate limits, content inspection (PII/secrets detection), header filters, and OpenAPI spec-based auto-configuration. Use when configuring API call security for AI agents, setting provider spending caps, inspecting outbound API traffic, or setting up the Web2 adapter.

★ 3
zkos-labs
zkos-labs/bastion

transaction-screening-workflow-concepts

Educational map of transaction-centric compliance screening-transfer as the atomic unit, deposit vs withdrawal direction, single and CSV import, transaction list and detail views, per-transfer screening, rescreen, and STR-style exports. Use when the user asks how monitoring UIs treat tx hashes, directions, or regulatory reporting hooks-not for legal filing advice or evading reporting.

★ 3
zkos-labs
zkos-labs/bastion

solana-tracing-specialist

Guides Solana-specific on-chain forensics-ATA resolution, SPL instruction parsing, transaction history via RPC and indexers (e.g. Helius-style APIs), fund-flow graphs, Solana clustering heuristics, and program authority review. Use when the user investigates Solana wallets, SPL tokens, DEX/Jito flows, rug or phishing patterns on Solana, or needs evidence-structured tracing reports with public data only.

★ 3
zkos-labs
zkos-labs/bastion

solana-onchain-intelligence-resources

Companion to blockint-skills Solana work-official doc indexes and stacks for RPC/indexers, sanctions and address intel MCP, web research, agent payments, graph UIs, Solana Foundation dev skills, Solana Policy Institute (policy/regulatory education), optional open-source Scrapy collection (BlockchainSpider), Impersonator Solana (dApp dev/testing), coral-xyz sealevel-attacks (security pattern examples), Neodyme Solana Security Workshop (workshop.neodyme.io), and Osec Solana auditor introduction blog (osec.io). Use when the user needs pointers to Helius, Range AI, Tavily, PayAI x402, React Flow, Solana.com skills, or SPI alongside on-chain forensics-not as a substitute for reading current provider docs, legal counsel, or API keys.

★ 3
zkos-labs
zkos-labs/bastion

solana-defi-vulnerability-analyst-agent

Guides discovery and documentation of Solana DeFi protocol risks from public code and chain state-Anchor/native programs, PDAs, CPIs, oracles, pools, SPL mechanics, and historical tx reconstruction. Use when the user asks for Solana program security review, DeFi vulnerability triage, PDA or CPI safety, oracle or liquidity-pool risk, launchpad/bonding-curve issues, or evidence-backed severity findings without exploits or private keys.

★ 3