UNPKG

evx-sdk

Version:

The Evx SDK is a developer toolkit designed to simplify interaction with the Evx decentralized liquidity protocol. It provides an abstraction layer over the smart contracts, allowing developers to easily build applications, integrate liquidity pools, fetc

21 lines (20 loc) 637 B
import { IRPC } from '../interfaces/providers/IRPC'; import { JsonRpcProvider } from 'ethers'; /** * @title RPC Provider * @notice Manages the RPC connection for the SDK * @dev Provides a singleton instance of JsonRpcProvider for blockchain interactions */ export declare class RPC implements IRPC { provider: JsonRpcProvider | null; /** * @notice Creates a new RPC provider instance * @dev Initializes with a default localhost provider */ constructor(); /** * @notice Sets a new RPC provider URL * @param newRPC The new RPC URL to connect to */ setProvider(newRPC: string): void; }