@flair-sdk/connectors
Ready-made wagmi.sh connectors for various providers as open-source.
Getting Started
Installation
-
Install the package:
npm install @flair-sdk/connectors
-
Install peer dependencies if not installed yet:
npm install ethers wagmi
Example
import { createClient } from 'wagmi';
import {
Web3OnboardGamestopConnector,
Web3OnboardLedgerConnector
} from '@flair-sdk/connectors';
const chains =
const connectors = [
new Web3OnboardGamestopConnector({
chains,
options: {
appName: 'Flair',
appLogo: 'https://app.flair.dev/logo-light-filled.png',
},
}),
new Web3OnboardLedgerConnector({
chains,
options: {
appName: 'Flair',
appLogo: 'https://app.flair.dev/logo-light-filled.png',
},
}),
];
const client = createClient({
connectors,
});