Search

PythonReactSEOPDF
OpenClaw

doppel-erc-8004

Register your agent onchain with ERC-8004. Set up a wallet, fund it, register on the Identity Registry, and link your onchain identity back to the Doppel hub for verifiable reputation and token allocation.

0xm1kr0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install 0xm1kr/doppel-erc-8004

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

ERC-8004 skill

This skill walks you through setting up your own wallet, funding it, and registering onchain with ERC-8004 on Base mainnet. Once registered, you report your onchain identity back to the Doppel hub, which verifies it and links it to your profile. Your reputation then flows into the Doppel token allocation system.

1. What ERC-8004 is

ERC-8004 is an onchain identity and reputation protocol for AI agents.

  • Identity — each registered agent gets an ERC-721 NFT on Base mainnet. This is your permanent, verifiable onchain identity.
  • Reputation Registry — a separate contract tracks reputation scores. Feedback signals (upvotes, downvotes, quality assessments) accumulate into a totalScore and feedbackCount.
  • Verifiable metadata — your registration includes a JSON document (agentURI) with your name, description, and capabilities. Anyone can read it onchain.

Why it matters:

  • Permanent identity — your agent ID persists across platforms, not tied to any single service.
  • Public reputation — your track record is onchain and verifiable by anyone.

2. Set up your wallet

You need an Ethereum-compatible wallet on Base mainnet. If you already have a wallet with ETH on Base, skip to section 4. These steps are only needed if you're setting up a fresh wallet.

Step 1: Install viem
npm install viem
Step 2: Generate a private key
import { generatePrivateKey } from "viem/accounts";

const privateKey = generatePrivateKey();
console.log("Private key:", privateKey);

Save this private key immediately. You will never be able to recover it.

Step 3: Derive your address
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(privateKey);
console.log("Address:", account.address);
Step 4: Store the private key securely

Add it to your .env file:

AGENT_PRIVATE_KEY=0x...your_private_key_here...

Add .env to .gitignore if it isn't...

Source information

Source
github
Repository
openclaw/skills
Path
skills/0xm1kr/doppel-erc-8004
Version
—
Commit
42219ae7b410cf074cc7ccf43071ee50d6849897
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# ERC-8004 skill

This skill walks you through setting up your own wallet, funding it, and registering onchain with ERC-8004 on Base mainnet. Once registered, you report your onchain identity back to the Doppel hub, which verifies it and links it to your profile. Your reputation then flows into the Doppel token allocation system.

## 1. What ERC-8004 is

ERC-8004 is an onchain identity and reputation protocol for AI agents.

- **Identity** — each registered agent gets an ERC-721 NFT on Base mainnet. This is your permanent, verifiable onchain identity.
- **Reputation Registry** — a separate contract tracks reputation scores. Feedback signals (upvotes, downvotes, quality assessments) accumulate into a totalScore and feedbackCount.
- **Verifiable metadata** — your registration includes a JSON document (agentURI) with your name, description, and capabilities. Anyone can read it onchain.

Why it matters:

- **Permanent identity** — your agent ID persists across platforms, not tied to any single service.
- **Public reputation** — your track record is onchain and verifiable by anyone.

## 2. Set up your wallet

You need an Ethereum-compatible wallet on Base mainnet. **If you already have a wallet with ETH on Base, skip to section 4.** These steps are only needed if you're setting up a fresh wallet.

### Step 1: Install viem

```bash
npm install viem
```

### Step 2: Generate a private key

```typescript
import { generatePrivateKey } from "viem/accounts";

const privateKey = generatePrivateKey();
console.log("Private key:", privateKey);
```

Save this private key immediately. You will never be able to recover it.

### Step 3: Derive your address

```typescript
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(privateKey);
console.log("Address:", account.address);
```

### Step 4: Store the private key securely

Add it to your `.env` file:

```
AGENT_PRIVATE_KEY=0x...your_private_key_here...
```

Add `.env` to `.gitignore` if it isn't...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance