@0xsequence/rainbowkit-plugin v2.1.7
rainbowkit-plugin
Rainbowkit plugin for the Sequence wallet.
Install
npm install @0xsequence/rainbowkit-plugin 0xsequence
or
yarn add @0xsequence/rainbowkit-plugin 0xsequence
Params
chains
-- Chains supported by app.connect
-- (optional) Connect options of the Sequence wallet, includes the name of the app and default network id.
Example of usage
import { sequenceWallet } from '@0xsequence/rainbowkit-plugin'
...other imports
const connectors = connectorsForWallets([
{
groupName: 'Recommended',
wallets: [
sequenceWallet({
chains,
defaultNetwork: 1,
shimDisconnect: true,
connect: {
app: 'My app'
}
}),
...otherRainbowKitWallets
]
}
])
export const wagmiConfig = createConfig({
autoConnect: true,
connectors,
publicClient,
webSocketPublicClient
})
A full demo is available at: https://github.com/0xsequence/demo-dapp-rainbowkit
3 months ago
4 months ago
4 months ago
10 months ago
10 months ago
9 months ago
10 months ago
9 months ago
10 months ago
8 months ago
10 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago