0xMiden / 0xMiden/web-sdk

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

Abierto
#108 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
1
Forks
21
Merge medio
12 h 14 min
PR fusionados (30 d)
41

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.