UNPKG

filecoin-pin

Version:

Bridge IPFS content to Filecoin Onchain Cloud using familiar tools

14 lines 533 B
import type { CLIAuthOptions } from '../utils/cli-auth.js'; /** * Get the RPC URL from the CLI options. * * This should only be called from commands using commander, so ENV vars are already handled. * * Network selection priority: * 1. Explicit --rpc-url (highest priority) * 2. RPC_URL environment variable * 3. --network flag or NETWORK environment variable (converted to RPC URL) * 4. Default to calibration */ export declare function getRpcUrl(options: CLIAuthOptions): string; //# sourceMappingURL=get-rpc-url.d.ts.map