UNPKG

@nemoprotocol/points-sdk

Version:
14 lines 584 B
import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519'; /** * Create Ed25519Keypair from hexadecimal private key string * @param privateKeyHex hexadecimal private key string, can include or exclude 0x prefix * @returns Ed25519Keypair instance */ export declare function createKeypairFromHex(privateKeyHex: string): Ed25519Keypair; /** * Get Sui address corresponding to keypair * @param keypair Ed25519Keypair instance * @returns Sui address string */ export declare function getAddressFromKeypair(keypair: Ed25519Keypair): string; //# sourceMappingURL=keypair.d.ts.map