@qrkit/wagmi
v0.0.1
Published
wagmi connector adapter for QR-based airgapped wallet flows.
Downloads
83
Readme
@qrkit/wagmi
wagmi connector adapter for QR-based airgapped wallet flows.
Builds on @qrkit/core and @qrkit/react. Exposes Shell as a first-class wallet choice in a wagmi wallet list. The connector opens a QR modal for connect, signMessage, and eventually sendTransaction — no injected provider required.
Install
pnpm add @qrkit/wagmiwagmi 2+, viem 2+, and React 18+ are required as peer dependencies.
Planned API
import { createConfig } from 'wagmi'
import { qrkitConnector } from '@qrkit/wagmi'
const config = createConfig({
connectors: [
qrkitConnector({ appName: 'My dApp' }),
],
...
})// Add the modal host somewhere in your tree
import { QRKitModalHost } from '@qrkit/react'
function App() {
return (
<>
<YourApp />
<QRKitModalHost />
</>
)
}The connector will pause connect and signMessage until the user completes the QR exchange in the modal, then resolve the wagmi call normally.
