filecoin-pin
Version:
Bridge IPFS content to Filecoin Onchain Cloud using familiar tools
18 lines • 472 B
TypeScript
/**
* Deposit/top-up command for Filecoin Pay
*
* Provides two modes:
* - Explicit amount: --amount <USDFC>
* - By duration: --days <N> (fund enough to keep current usage alive for N days)
*/
export interface DepositOptions {
privateKey?: string;
rpcUrl?: string;
amount?: string;
days?: number;
}
/**
* Run the deposit/top-up flow
*/
export declare function runDeposit(options: DepositOptions): Promise<void>;
//# sourceMappingURL=deposit.d.ts.map