3.0.1 • Published 10 months ago
@web3-wallet/walletconnect v3.0.1
Walletconnect
Install
pnpm add @web3-wallet/walletconnect
Usage
@web3-wallet/walletconnect is a wrap on top of WalletConnect v2.0. Walletconnect v2.0 is NOT backwards-compatible with v1.0. WalletConnect v1.0 and v2.0 offer essentially the same end-user experience, however they work very differently internally.
import { Walletconnect } from '@web3-wallet/walletconnect';
import { createWallet } from '@web3-wallet/react';
const wallet = new WalletConnect({
providerOptions: {
// your projectId
// see: https://docs.walletconnect.com/2.0/advanced/migration-from-v1.x/what-changed-from-v1.0#project-id
projectId: 'xxx',
rpcMap,
/**
* @note Chains that your app intents to use and the peer MUST support.
* If the peer does not support these chains, the connection will be rejected.
* @default [1]
* @example [1, 3, 4, 5, 42]
*/
chains: [1],
/**
* @note Optional chains that your app MAY attempt to use and the peer MAY support.
* If the peer does not support these chains, the connection will still be established.
* @default [1]
* @example [1, 3, 4, 5, 42]
*/
optionalChains: [25],
showQrModal: true,
optionalMethods: ['eth_signTypedData', 'eth_signTypedData_v4', 'eth_sign'],
qrModalOptions: {
// 'dark' | 'light'
themeMode: 'dark',
},
},
});
3.0.1
10 months ago
3.0.0
10 months ago
2.3.0
12 months ago
2.0.3
1 year ago
2.2.0
1 year ago
2.0.2
1 year ago
2.1.0
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.1.2
1 year ago
0.9.11
2 years ago
0.9.10
2 years ago
0.9.9
2 years ago
0.9.8
2 years ago
0.9.7
2 years ago
0.9.6
2 years ago
0.9.5
2 years ago
0.9.4
2 years ago
0.9.3
2 years ago
0.9.2
2 years ago
0.9.1
2 years ago
0.9.0
2 years ago
0.8.0
2 years ago
0.7.0
2 years ago
0.6.0
2 years ago
0.5.0
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.3.1
2 years ago
0.3.0
2 years ago
0.2.5
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago