based-auth
Version:
A Next.js/Node.js authentication and wallet API kit for Ethereum and Solana, with utilities for serialization and contract interaction, designed for serverless and API route usage.
13 lines (12 loc) • 577 B
TypeScript
export { useSimpleKit } from './context/SimpleKitContext';
export { useAccount, useChainInfo, useBalance, useTokenBalance, useBalanceAsync, useTokenBalanceAsync, useDisconnectAccount, useReadContractAsync, useWriteContractAsync, } from './hooks';
export declare function SimpleKitProvider({ chains, host, name, description, icon, projectId, children, signMessage, }: {
chains: any;
host: string;
name: string;
description: string;
icon: string;
projectId: string;
signMessage: string;
children: any;
}): import("react/jsx-runtime").JSX.Element;