0xMiden / 0xMiden/web-sdk

Expose explicit input note setters

Aperta Adatta ai principianti
#381 0 commenti 0 reazioni 1 assegnatario Rivendicata da @ricomateo Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
1
Fork
21
Merge medio
12h 14m
PR unite (30g)
41

Descrizione

> @igamigo thanks, confirmed that `TransactionRequestBuilder::explicit_input_notes` in 0.16.0 covers the Rust side of this, but the web SDK does not expose it yet. `@miden-sdk/miden-sdk` 0.16.0 (built on miden-client 0.16.0) only has `withInputNotes`, and I could not find a binding, issue, or PR for it in `0xMiden/web-sdk`. Is this work planned/tracked anywhere?

_Originally posted by @haseebrabbani in [#2523](https://github.com/0xMiden/rust-sdk/issues/2523#issuecomment-5630989122)_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Look at the TransactionRequestBuilder class in the web SDK to see how `withInputNotes` is currently implemented. Compare with the Rust SDK's `explicit_input_notes` method in version 0.16.0. The task is to add a similar method to the TypeScript bindings, likely in the same class. Check for existing tests for input notes to understand the expected behavior and add a test for the new setter.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, typescript
Ambito
api, backend-api-design
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.