|
1 | | -import { http, type Chain, type Hex, type WalletClient, createPublicClient, verifyMessage } from 'viem'; |
| 1 | +import { createPublicClient, http, verifyMessage, type Chain, type Hex, type WalletClient } from 'viem'; |
2 | 2 | import { privateKeyToAccount } from 'viem/accounts'; |
3 | 3 |
|
4 | 4 | import type { SmartAccountClient } from 'permissionless'; |
@@ -64,13 +64,13 @@ export const verifyIdentityOwnership = async ( |
64 | 64 | chain, |
65 | 65 | transport: http(rpcUrl), |
66 | 66 | }); |
67 | | - console.log('publicClient', publicClient); |
68 | | - console.log('rpcUrl', rpcUrl); |
69 | | - console.log('chain', chain); |
| 67 | + // console.log('publicClient', publicClient); |
| 68 | + // console.log('rpcUrl', rpcUrl); |
| 69 | + // console.log('chain', chain); |
70 | 70 |
|
71 | | - console.log('accountProof', accountProof); |
72 | | - console.log('accountAddress', accountAddress); |
73 | | - console.log('publicKey', publicKey); |
| 71 | + // console.log('accountProof', accountProof); |
| 72 | + // console.log('accountAddress', accountAddress); |
| 73 | + // console.log('publicKey', publicKey); |
74 | 74 |
|
75 | 75 | const accountProofMessage = getAccountProofMessage(accountAddress, publicKey); |
76 | 76 | const validAccountProof = await publicClient.verifyTypedData({ |
|
0 commit comments