@gotake/gotake-sdk
Version:
SDK for interacting with GoTake blockchain contracts
30 lines • 863 B
TypeScript
export declare enum NetworkId {
ETHEREUM_MAINNET = 1,
ETHEREUM_GOERLI = 5,
ETHEREUM_SEPOLIA = 11155111,
BASE_MAINNET = 8453,
BASE_GOERLI = 84531,
BASE_SEPOLIA = 84532
}
export interface NetworkConfig {
id: NetworkId;
name: string;
rpcUrl: string;
blockExplorer: string;
nativeCurrency: {
name: string;
symbol: string;
decimals: number;
};
maxPriorityFeePerGas: string;
contracts?: {
videoPayment?: string;
ipnft?: string;
erc6551Registry?: string;
mockERC20?: string;
};
}
export declare const NETWORKS: Partial<Record<NetworkId, NetworkConfig>>;
export declare function getNetworkByName(name: string): NetworkConfig | undefined;
export declare function getNetworkById(id: number): NetworkConfig | undefined;
//# sourceMappingURL=networks.d.ts.map