Problem
The YieldStreamClient currently only supports raw Keypair instances for signing, lacking the TODO implementation for browser-based wallet providers like Freighter.
Expected behavior
The constructor and configuration interfaces are expanded to accept an abstract wallet provider or signer callback, allowing the frontend dashboard to delegate signing without exposing raw private keys.
Files to update
src/client.ts
src/modules/vault.ts
Project relevance
This is critical for integrating the SDK seamlessly into the Next.js yieldstream-dashboard where non-custodial wallet extensions are the primary interaction method.
Acceptance criteria
Problem
The
YieldStreamClientcurrently only supports rawKeypairinstances for signing, lacking theTODOimplementation for browser-based wallet providers like Freighter.Expected behavior
The constructor and configuration interfaces are expanded to accept an abstract wallet provider or signer callback, allowing the frontend dashboard to delegate signing without exposing raw private keys.
Files to update
src/client.tssrc/modules/vault.tsProject relevance
This is critical for integrating the SDK seamlessly into the Next.js
yieldstream-dashboardwhere non-custodial wallet extensions are the primary interaction method.Acceptance criteria
YieldStreamConfigaccepts an optionalwalletProviderinterface