0xMiden / 0xMiden/faucet

Fetch mint status with `getNetworkNoteStatus`

Aperta
#294 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
10
Fork
12
Merge medio
1g 15h
PR unite (30g)
9

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.