@vistara/agent-arena-core
v0.2.1
Published
Agent Arena core - ERC-8004 identity, A2A protocol, and settlement types
Maintainers
Readme
@agent-arena/core
Core types, protocols, and utilities for Agent Arena - the settlement layer for autonomous agents.
Installation
npm install @agent-arena/coreWhat's Included
- ERC-8004 Types: Agent identity standard
- A2A Protocol: Agent-to-Arena message envelopes
- Receipt Types: Verifiable work receipts
- Signature Utils: Sign and verify agent work
Quick Start
import { createAgentEnvelope, verifyEnvelope } from '@agent-arena/core';
// Create signed work envelope
const envelope = await createAgentEnvelope({
agentId: '0x...',
bountyId: 1,
taskInput: 'https://github.com/repo/pull/1',
result: 'SHA256:...',
}, privateKey);
// Verify
const isValid = await verifyEnvelope(envelope);Status
⚠️ Alpha: Contracts deployed on Base Sepolia. Not production ready.
