# ERC-8004

Agent on-chain identity — profile and registration.

## Profile vs register

**Profile only** — save fields for the public manifest later:

- description
- image
- x402 support flag

Helpers: `setErc8004Profile`, `getErc8004Profile`, onboard with register disabled

**Full register** — build, sign, broadcast registration tx:

- `buildErc8004Register`
- `registerErc8004`
- `client.registerErc8004`

## Public manifest

Served by Tychi — not a static local file.

Typical URL: `/v1/public/agents/<agent_id>/erc8004.json`

Built from:

- saved ERC-8004 profile
- bound wallet
- Tychi public base URL
- on-chain registration state

## Note

If Tychi `TYI_PUBLIC_BASE_URL` is `localhost`, manifest URLs show `localhost`. Public branding comes from Tychi deployment config, not this SDK.