Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ For VPS/cloud hosts, avoid third-party "1-click" marketplace images when possibl

## x402 / Daydreams Router

If you want to use [Daydreams Router (x402)](/providers/x402) with on-device wallet signing via SAW, use the fork installerit handles SAW setup, gateway install, and x402 onboarding in one command:
If you want to use [Daydreams Router (x402)](/providers/x402) with either Taskmarket or SAW-based wallet signing, use the fork installer. In an interactive terminal it asks which wallet tooling to install; in non-interactive shells it installs both. It then handles the selected wallet setup, gateway install, and x402 onboarding in one command:

```bash
curl -fsSL https://raw.githubusercontent.com/daydreamsai/openclaw-x402-router/main/scripts/install-openclaw-fork.sh | bash
Expand Down
18 changes: 12 additions & 6 deletions docs/providers/x402.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,19 @@ per request so you can pay for inference with USDC.
## One-line install (recommended)

The fork installer sets up everything in one shot: the SAW (Secure Agent Wallet)
daemon for on-device key management, the OpenClaw gateway, and x402 onboarding.
daemon, the Taskmarket CLI, the OpenClaw gateway, and x402 onboarding.

```bash
curl -fsSL https://raw.githubusercontent.com/daydreamsai/openclaw-x402-router/main/scripts/install-openclaw-fork.sh | bash
```

What it does:

1. **Phase 1 — SAW daemon**: downloads SAW binaries, generates an EVM wallet key on-device, writes a conservative spending policy, and starts the daemon (systemd on Linux, LaunchAgent on macOS).
2. **Phase 2 — OpenClaw gateway**: installs the CLI globally from a prebuilt release tarball (fast, no build tools needed).
3. **Phase 3 — Onboarding**: runs `openclaw onboard --auth-choice x402` if a TTY is available; otherwise prints the manual command.
1. **Wallet choice**: if a TTY is available, the script asks whether to install SAW, Taskmarket, or both. In non-interactive shells it defaults to installing both.
2. **Phase 1 — SAW daemon**: when selected, downloads SAW binaries, generates an EVM wallet key on-device, writes a conservative spending policy, and starts the daemon (systemd on Linux, LaunchAgent on macOS).
3. **Phase 2 — OpenClaw gateway**: installs the CLI globally from a prebuilt release tarball (fast, no build tools needed).
4. **Phase 2.25 — Taskmarket CLI**: when selected, installs the `taskmarket` binary globally so Taskmarket wallet onboarding can rely on it being present.
5. **Phase 3 — Onboarding**: runs `openclaw onboard --auth-choice x402` if a TTY is available; otherwise prints the manual command.

To skip SAW setup (e.g. you already have a wallet):

Expand All @@ -37,8 +39,12 @@ See the [script header](https://github.com/daydreamsai/openclaw-x402-router/blob
## Quick setup

1. Run onboarding and select Daydreams Router (x402).
2. Enter your wallet private key and router URL.
3. Set the default model:
2. Choose one of the auth methods:
- `Taskmarket wallet keystore`
- `Secure Agent Wallet (SAW)`
- `Wallet private key`
3. If you choose Taskmarket and no keystore is present yet, onboarding can run `taskmarket init` for you.
4. Set the default model:

```json5
{
Expand Down
Loading
Loading