This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useWallets, useSign7702Authorization } from '@privy-io/react-auth'; | |
import { useState, useCallback } from 'react'; | |
import { encodeFunctionData, createPublicClient, http, createWalletClient, custom } from 'viem'; | |
import { baseSepolia } from 'viem/chains'; | |
import { toMultichainNexusAccount, createMeeClient, getMEEVersion, MEEVersion } from '@biconomy/abstractjs'; | |
// UserRegistry contract deployed on Base Sepolia | |
const USER_REGISTRY_ADDRESS = '0x79dF139b1b18eD0f05daa5945FB5bf793ECdB80c'; | |
// Nexus v1.2.0 implementation |