0xMiden / 0xMiden/web-sdk

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

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1
Forks
21
Avg merge
12h 14m
Merged PRs (30d)
41

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.