coinbase / coinbase/onchainkit

Feature Request: Add optional connector prop to ConnectWallet

Open
#902 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
520
Avg merge
32m
Merged PRs (30d)
2

Description

### Describe the solution you'd like

**Use case**:

I'm trying to configure our testing environment to let us toggle more easily between EOA and Smart Wallet. I can do this if I can manually set the connector I want to connect to and turn on/off the flag for preference: "eoaOnly" | "smartWalletOnly". However, our component forces me to use connectors[0] which prevents me from doing this.

**Desired change**:
- Add an optional prop for connector and use it if provided
- If connector is not provided, default to connectors[0] like we have currently

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.