a 1click client generated from the openapi spec, and a token list mapped through the registry #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #7
Scope
Generate a Rust client from
https://1click.chaindefuser.com/docs/v0/openapi.yaml(pin the spec incrates/wallet-data/spec/), wraptokens,quote(includingdry: true),deposit/submitandstatusbehindwallet_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.