@keplr-ewallet/ewallet-sdk-cosmos
Version:
6 lines (5 loc) • 393 B
TypeScript
import type { ChainInfo } from "@keplr-wallet/types";
export declare function getCosmosAddress(pubKey: Uint8Array): Uint8Array<ArrayBufferLike>;
export declare function getEthAddress(pubKey: Uint8Array): Uint8Array<ArrayBuffer>;
export declare function getBech32Address(address: Uint8Array, prefix: string): string;
export declare function isEthereumCompatible(chainInfo: ChainInfo): boolean;