0xMiden / 0xMiden/faucet

Fetch mint status with `getNetworkNoteStatus`

Open
#294 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
10
Forks
12
Avg merge
1d 15h
Merged PRs (30d)
9

Description

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.

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.