anza-xyz / anza-xyz/wallet-adapter

Slightly misleading error message (alternative included)

Open
#770 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2k
Forks
1.1k
Avg merge
10h 19m
Merged PRs (30d)
3

Description

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.