UNPKG

@b3dotfun/leaderboards

Version:

SDK to interact with leaderboards smart contract

11 lines (10 loc) 389 B
import type { Address } from "viem"; import type { Chain } from "viem/chains"; import { b3, b3Sepolia, base } from "viem/chains"; export interface Config { chain: Chain; rpcUrl: string; leaderboardFactoryContractAddress: Address; } export type SupportedChainId = typeof b3.id | typeof b3Sepolia.id | typeof base.id; export declare const getConfig: (chainId: number) => Config;