@0xsequence/wagmi-connector
v4.0.1
Published
Wagmi connector for the Sequence wallet
Downloads
3,512
Keywords
Readme
wagmi-connector
Wagmi connector for the Sequence wallet.
Install
pnpm install @0xsequence/wagmi-connector 0xsequence
Params
options.connectOptions
-- Connection options for the name of the app, projectAccessKey, etc...options.defaultNetwork
-- Starting networkoptions.walletAppURL
-- Url of sequence wallet to connect to
Example of usage
import { sequenceWallet } from '@0xsequence/wagmi-connector'
const connectors = [
seqeunceWallet({
connectOptions: {
app: 'Demo-app',
projectAccessKey: '...'
},
defaultNetwork: 137,
}),
...otherConnectors
]
const wagmiClient = createClient({
autoConnect: false,
connectors,
provider
})
A full demo is available at: https://github.com/0xsequence/demo-dapp-wagmi