ERGO
Wallet boundary for agents

Connect wallets. Delegate safely. Settle with proof.

ErgoConnect defines the boundary between a human-controlled Ergo wallet and autonomous-work agents: address proof, wallet policy, exact transaction handoff, signing approval, receipt retention, and settlement verification.

Current posture
spec bootstrap testnet

Agents do not get wallets. Agents get bounded mandates checked by local wallet policy.

Network
ergo_testnet
Mainnet
closed
Custody
false
Signing
wallet boundary

Safe claim

ErgoConnect is a proposed TrustConnect-style, CAIP-native wallet boundary for Ergo agent workflows.

Do not claim

Do not claim Trust Wallet or TrustConnect production support for Ergo until upstream support exists.

Security line

Agents create intents and request policy checks; they never receive raw private keys or silent signing authority.

Signing path

The wallet signs one approved action, not an agent's imagination.

ErgoConnect turns agent autonomy into reviewable stages: prove wallet control, define policy, create an intent, check the verdict, hand off exactly one transaction, then verify the receipt.

01

Human connects wallet

02

Wallet proves address control

03

Human defines agent spending policy

04

Agent creates task/payment intent

05

Policy check returns allow, deny, or require-human-approval

06

dApp builds unsigned or reduced Ergo transaction

07

Wallet signs only the approved transaction

08

Transaction is submitted by wallet or host

CAIP namespace

Ergo can be described in chain-agnostic agent language.

The point is not to claim a finished upstream integration. The point is to make Ergo accounts, assets, wallets, and payment intents explicit enough for agents and wallet libraries to inspect.

namespace
ergo
mainnet
ergo:b0244dfc267baca974a4caee06120321
testnet
ergo:e7553c9a716bb3983ac8b0c21689a1f3
account
ergo:<chainId>:<base58Address>
asset
ergo:<chainId>:<assetIdHex>
Signing surfaces

Proof, handoff, policy.

Each surface has a different role. Keeping them separate is what prevents a quote, prompt, or remote tool from becoming a wallet.

ErgoAuth proof

Prove address control before binding a wallet to an agent profile, provider entry, or policy profile.

Message proof only; no on-chain spend and no transfer authority.

ErgoPay handoff

Carry a reduced transaction or signing request to a wallet that can show details and request user approval.

The dApp prepares the transaction; the wallet keeps secrets and signs only after approval.

Host-owned policy boundary

Let a local wallet layer approve or deny agent intents before any signing request is constructed.

Policy verdicts are deterministic; remote MCP/tools cannot silently sign.

Capability contract

Capabilities are useful only if the boundary is explicit.

These are the callable pieces agents and developer tools can reason about. The manifest is intentionally conservative and keeps mainnet disabled.

connect_wallet

Connect wallet

Let a human-controlled Ergo wallet become the signing boundary for an agent flow.

prove_address_control

Prove address control

Use ErgoAuth-style message proof before binding a wallet to an agent profile or provider entry.

create_payment_intent

Create payment intent

Represent task hash, provider, amount, expiry, receipt expectation, and network before signing.

check_agent_policy

Check agent policy

Return allow, deny, or require-human-approval before any transaction handoff.

sign_reduced_transaction

Sign reduced transaction

Pass an unsigned or reduced transaction to a wallet boundary; agents do not hold private keys.

submit_transaction

Submit transaction

Submit only the approved transaction, then link it to receipt and settlement verification.

verify_receipt

Verify receipt

Attach the signed action to Agreement, Verification Receipt, Settlement Receipt, and chain proof.

Policy demo

Agent cannot spend unless policy allows.

This is the first demo ErgoConnect should make obvious: an allowed testnet intent reaches a wallet handoff; a risky intent stops before signing.

Allow case

Agent requests 0.05 testnet ERG for a whitelisted provider, task hash is present, receipt is required, expiry is within policy.

Deny case

Agent requests 1 ERG, missing receipt expectation, unapproved provider, or mainnet signing while mainnet gate is closed.

Expected result

Allowed intents can be handed to ErgoPay-style signing; denied intents stop before wallet signing.

Example policy
{
  "id": "research-agent-testnet-policy",
  "network": "ergo_testnet",
  "daily_budget_erg": "2",
  "max_per_task_erg": "0.05",
  "allowed_categories": [
    "code_review",
    "data_lookup",
    "receipt_verification"
  ],
  "allowed_providers": [
    "sage-testnet-concierge",
    "wallet-policy-checker"
  ],
  "requires_receipt": true,
  "requires_task_hash": true,
  "max_expiry_blocks": 120,
  "mainnet_allowed": false
}
Package plan

Small SDK surface first, production claims later.

The package plan is a developer target, not a published production guarantee. It should wrap ErgoAuth, ErgoPay, policy checks, and receipt verification without turning agents into custodians.

@ergoblockchain/connect-core
@ergoblockchain/connect-ergo-react
@ergoblockchain/connect-ergopay
@ergoblockchain/connect-ergoauth
Local package skeleton

@ergoblockchain/connect-ergo-react

Reference skeleton only: no signing, no private keys, no wallet-vendor support claim, no mainnet readiness claim.

local_reference_skeleton_not_npm_packageversion 0.0.0-referencenpm falseprivate true
repo
https://github.com/buildonergo/agent-economy-kit
path
packages/connect-ergo-react
command
npm run cli -- ergo-connect:react-package
hooks
useErgoConnection, useErgoAuth, useErgoPaySign, useAgentPolicy, useCreatePaymentIntent, useVerifyReceipt, useLatestReceipt
Next build step

Turn the wallet boundary into a reference flow.

The next implementation layer is a small ErgoConnect kit: hooks for connection state, ErgoAuth proof, ErgoPay handoff, policy verdicts, and receipt verification around one testnet payment intent.

Reference runner