0xMiden / 0xMiden/web-sdk

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

Đang mở
#108 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1
Fork
21
Merge trung bình
12 giờ 14 phút
Pull request đã merge (30 ngày)
41

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.