0xMiden / 0xMiden/faucet

Fetch mint status with `getNetworkNoteStatus`

未关闭
#294 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
10
派生
12
平均合并
1 天 15 小时
30 天内合并 PR
9

描述

Currently the faucet returns the P2ID note id, so the frontend polls it with `getNotesById` and would only time out when the network does not mint.

Instead, it could return also the MINT note id, so the frontend would be able to check its status with `getNetworkNoteStatus`, and resolve when it returns `NULLIFIER_COMMITTED`. This way, the frontend would be able to catch any errors during the network account minting.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。