UNPKG

randomness-js

Version:

A library for consuming, verifying and using randomness from the dcipher network

26 lines (25 loc) 1.13 kB
export declare const DCIPHER_PUBLIC_KEY: import("@noble/curves/abstract/weierstrass").ProjPointType<import("@noble/curves/abstract/tower").Fp2>; export type NetworkConfig = { name: string; chainId: bigint; contractAddress: `0x${string}`; dst: string; gasLimit: number; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; gasBufferPercent: bigint; callbackGasLimitDefault: bigint; gasMultiplierDefault: bigint; }; export declare const FILECOIN_CALIBNET: NetworkConfig; export declare const FILECOIN_MAINNET: NetworkConfig; export declare const BASE_SEPOLIA: NetworkConfig; export declare const BASE_MAINNET: NetworkConfig; export declare const POLYGON_POS: NetworkConfig; export declare const AVALANCHE_C_CHAIN: NetworkConfig; export declare const OPTIMISM_SEPOLIA: NetworkConfig; export declare const ARBITRUM_SEPOLIA: NetworkConfig; export declare const SEI_TESTNET: NetworkConfig; export declare const SUPPORTED_TESTNETS: NetworkConfig[]; export declare const SUPPORTED_MAINNETS: NetworkConfig[]; export declare function configForChainId(chainId: bigint | number | string): NetworkConfig;