Skip to content

Refactor: Move Provider Operations onto Provider Handles - #14

Merged
sephynox merged 7 commits into
mainfrom
feat/anchor-rs-update-p6
Jul 30, 2026
Merged

Refactor: Move Provider Operations onto Provider Handles#14
sephynox merged 7 commits into
mainfrom
feat/anchor-rs-update-p6

Conversation

@sephynox

@sephynox sephynox commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR update returns a provider handle bound to its client, and all per-provider operations and metadata queries live on that handle, matching how the TypeScript and Rust clients are used.

Related Issues

Changes Made

  • GetProviders and friends return AssetProvider / KycProvider handles
  • Transfers, forwarding, KYC sharing, and verification run on the handle
  • client.Provider(info) rebinds a stored snapshot to a live client
  • Disclaimers, anchor details, and token metadata parse on the info record
  • AssetSimulatedTransfer and AssetTransfer follow-ups route via their provider

Testing

  • make test: passes

Breaking Changes

  • The AssetProvider and KycProvider records are now AssetProviderInfo and KycProviderInfo
  • Replace client.Operation(provider, ...) with provider.Operation(...)
  • The GetProviderAnchorDetails is now GetAnchorDetails on the handle.

@sephynox
sephynox force-pushed the feat/anchor-rs-update-p6 branch from 079ba1d to 17c4f93 Compare July 29, 2026 18:33
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p6 branch from 17c4f93 to ad6e02b Compare July 29, 2026 19:01
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p6 branch from ad6e02b to a040ea3 Compare July 29, 2026 19:41
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p6 branch from a040ea3 to d2bb1d1 Compare July 29, 2026 19:53
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p6 branch from d2bb1d1 to b63f84a Compare July 29, 2026 20:00
@sephynox
sephynox force-pushed the feat/anchor-rs-update-p6 branch from b63f84a to e9108a6 Compare July 29, 2026 20:31
Base automatically changed from feat/anchor-rs-update-p5 to main July 29, 2026 20:37
@sonarqubecloud

Copy link
Copy Markdown

@sephynox
sephynox merged commit 296be5a into main Jul 30, 2026
12 checks passed
@sephynox
sephynox deleted the feat/anchor-rs-update-p6 branch July 30, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants