@chain-lens/shared
v0.0.4
Published
Shared types, ABIs, addresses, and task-type registry for ChainLens (Type 2 MVP).
Readme
@chain-lens/shared
Shared TypeScript types, contract ABIs, deployed addresses, chain configs, and task-type registry for ChainLens — a Web2-data relay market for autonomous agents on Base.
Used internally by:
@chain-lens/mcp-tool— MCP client for Claude Desktop@chain-lens/backend— gateway service@chain-lens/frontend— marketplace UI
Install
npm install @chain-lens/sharedUsage
import {
ApiMarketEscrowV2Abi,
SellerRegistryAbi,
baseSepolia,
INITIAL_TASK_TYPE_NAMES,
PaymentStatus,
} from "@chain-lens/shared";Exports include:
- ABIs —
ApiMarketEscrowV2Abi,SellerRegistryAbi,TaskTypeRegistryAbi - Addresses —
ESCROW_V2_ADDRESS,SELLER_REGISTRY_ADDRESS,TASK_TYPE_REGISTRY_ADDRESS,USDC_ADDRESS(Base Sepolia) - Chains —
baseSepolia,baseMainnet(viemChainobjects) - Task types —
INITIAL_TASK_TYPE_NAMES, schemas,OnChainTaskTypeConfig - Types —
PaymentStatus,ApiStatus,ApiListingPublic,PreparePaymentResponse
License
MIT