UNPKG

@keccak256-evg/passport-sdk

Version:

T-REX Passport SDK for interacting with Passport and Registry contracts

22 lines (21 loc) 553 B
import { PublicClient, WalletClient, Chain } from 'viem'; import { Address } from './common'; import { Environment } from '../constants/environment'; export interface PassportSDKConfig { chain: any; registryAddress: Address; client: any; account?: any; } export interface ViemPassportSDKConfig { publicClient: PublicClient; walletClient?: WalletClient; network: Chain; env: Environment; registryAddress?: Address; rpcUrl?: string; } export interface CreateClientOptions { rpcUrl: string; chain?: Chain; }