0xMiden / 0xMiden/faucet

Dynamically derive the network for connecting the wallet

Aperta
#106 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
blocked
Lingua principale
Rust
Stelle
10
Fork
12
Merge medio
1g 15h
PR unite (30g)
9

Descrizione

The wallet adapter only supports `WalletAdapterNetwork::Testnet` variants.
This means that connecting the wallet on devnet / localhost will result in an incorrect (`mtst`-prefixed) bech32 encoding of the `Address`.

Needs https://github.com/demox-labs/miden-wallet-adapter/issues/38

_Originally posted by @mmagician in https://github.com/0xMiden/miden-faucet/pull/100#discussion_r2388442303_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue references a dependency on an external wallet adapter issue (#38 in demox-labs/miden-wallet-adapter). First, examine the current wallet adapter usage in the codebase to understand how WalletAdapterNetwork::Testnet is hardcoded. Then, check the linked upstream issue to see if the necessary changes are available. The goal is to dynamically detect the network (devnet/localhost) and adjust the bech32 address encoding accordingly, likely in the wallet connection logic.

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

Valutazione

Stack tecnologico
rust
Ambito
backend, blockchain
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.