@river-build/sdk
Version:
For more details, visit the following resources:
16 lines • 643 B
TypeScript
import { RiverConfig } from '../../riverConfig';
import { ethers } from 'ethers';
import { LocalhostWeb3Provider } from '@river-build/web3';
import { SyncAgent, type SyncAgentConfig } from '../syncAgent';
export declare class Bot {
riverConfig: RiverConfig;
rootWallet: ethers.Wallet;
delegateWallet: ethers.Wallet;
web3Provider: LocalhostWeb3Provider;
constructor(rootWallet?: ethers.Wallet, riverConfig?: RiverConfig);
get userId(): string;
get signer(): ethers.Signer;
fundWallet(): Promise<boolean>;
makeSyncAgent(opts?: Partial<SyncAgentConfig>): Promise<SyncAgent>;
}
//# sourceMappingURL=bot.d.ts.map