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 摘要。