@mak201010/bluefin-v2-client
Version:
The Bluefin client Library allows traders to sign, create, retrieve and listen to orders on Bluefin Exchange.
21 lines (20 loc) • 822 B
TypeScript
import { Keypair, OnChainCalls, SignatureScheme } from "@mak201010/library-sui";
/**
* Generates random number
* @param multiplier number to multiply with random number generated
* @returns random number
*/
export declare const generateRandomNumber: (multiplier: number) => number;
export declare function getKeyPairFromSeed(seed: string, scheme?: SignatureScheme): Keypair;
export declare function getSignerFromSeed(seed: string): Keypair;
export declare function readFile(filePath: string): any;
export declare function setupTestAccounts(deployerWallet: OnChainCalls, testWallets: any[], faucetURL: string): Promise<boolean>;
/**
* @description
* Generate a new wallet
* @returns private key and public address
* */
export declare function createWallet(): {
privateKey: string;
publicAddress: string;
};