0xMiden / 0xMiden/web-sdk

React SDK useConsume uses proxy signer, fails recipient verification in custom scripts

Offen
#108 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
1
Forks
21
Ø Merge
12 Std. 14 Min.
Gemergte PRs (30 T.)
41

Beschreibung

## Context

Reported by multiple builders during Miden Day (agentic template feedback).

`useConsume` from the React SDK uses a proxy signer account created by `MidenFiSignerProvider`, not the real wallet account. Any note script that verifies `active_account::get_id()` fails because the consuming account ID doesn't match the intended recipient.

The React SDK (WebClient) can execute custom note scripts but uses the wrong account. The wallet adapter has the right account but can't execute custom scripts. These two worlds are disconnected.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.