a 1click client generated from the openapi spec, and a token list mapped through the registry #38

Closed
opened 2026-09-15 12:40:23 +00:00 by grenade · 0 comments
Owner

Parent: #7

Scope

Generate a Rust client from https://1click.chaindefuser.com/docs/v0/openapi.yaml (pin the spec in crates/wallet-data/spec/), wrap tokens, quote (including dry: true), deposit/submit and status behind wallet_core::SwapProvider, and map the token list through the asset registry. The JWT is an optional header supplied by the relay, never a compile-time constant.

Acceptance

A dry quote for USDC on Base to NEAR returns an amount within the slippage the request asked for; the status enum round-trips every documented value.

Depends on

The asset registry.

Parent: #7 ## Scope Generate a Rust client from `https://1click.chaindefuser.com/docs/v0/openapi.yaml` (pin the spec in `crates/wallet-data/spec/`), wrap `tokens`, `quote` (including `dry: true`), `deposit/submit` and `status` behind `wallet_core::SwapProvider`, and map the token list through the asset registry. The JWT is an optional header supplied by the relay, never a compile-time constant. ## Acceptance A dry quote for USDC on Base to NEAR returns an amount within the slippage the request asked for; the status enum round-trips every documented value. ## Depends on The asset registry.
grenade added the child label 2026-09-15 12:41:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blackbeard/wallet#38