anza-xyz / anza-xyz/wallet-adapter

Slightly misleading error message (alternative included)

Aperta
#770 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
2k
Fork
1.1k
Merge medio
10h 19m
PR unite (30g)
3

Descrizione

**Describe the bug**

This error implies that wallet adapters must be installed for all wallets supported by the app:

> Your application is presently configured to use the `UnsafeBurnerWalletAdapter`. Find and remove it, then replace it with a
> list of adapters for wallets you would like your application to support. See https://github.com/solana-labs/wallet-
> adapter#usage for an example.

A possible alternative:

> Your application is presently configured to use the `UnsafeBurnerWalletAdapter`. Find and remove it. By default wallet-
> adapter supports all wallet-standard wallets, you may also wish to add specific adapters for wallets you would like your
> application to support. See https://github.com/solana-labs/wallet-adapter#usage for an example.

**To Reproduce**
Start the `packages/starter/example` project.

**Expected behavior**
An accurate message.

**Desktop (please complete the following information):**

```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
```

**Additional context**
Would send a PR but thought we'd want to discuss and tweak it a little.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.