Skip to content

Commit f52c7ca

Browse files
committed
lint
1 parent a233b8a commit f52c7ca

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/hypergraph/src/identity/prove-ownership.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import { http, type Chain, type Hex, type WalletClient, createPublicClient, verifyMessage } from 'viem';
1+
//import { http, type Chain, type Hex, type WalletClient, createPublicClient, verifyMessage } from 'viem';
2+
import type { Chain, Hex, WalletClient } from 'viem';
23
import { privateKeyToAccount } from 'viem/accounts';
34

45
import type { SmartAccountClient } from 'permissionless';
56
import { DEFAULT_RPC_URL, GEOGENESIS } from '../connect/smart-account.js';
6-
import { publicKeyToAddress } from '../utils/index.js';
7+
//import { publicKeyToAddress } from '../utils/index.js';
78
import type { IdentityKeys } from './types.js';
89

910
export const getAccountProofMessage = (accountAddress: string, publicKey: string): string => {
@@ -58,6 +59,7 @@ export const verifyIdentityOwnership = async (
5859
chain: Chain = GEOGENESIS,
5960
rpcUrl: string = DEFAULT_RPC_URL,
6061
): Promise<boolean> => {
62+
console.log('verifyIdentityOwnership', accountAddress, publicKey, accountProof, keyProof, chain, rpcUrl);
6163
// const keyProofMessage = getKeyProofMessage(accountAddress, publicKey);
6264
// const publicClient = createPublicClient({
6365
// chain,

0 commit comments

Comments
 (0)