UNPKG

@okxweb3/coin-stellar

Version:

@okxweb3/coin-stellar is a Stellar SDK for building Web3 wallets and applications. It supports Stellar and PI blockchains, enabling private key management, address generation, transaction signing, trustline creation, and asset transfers

26 lines (25 loc) 865 B
export class Keypair { static fromSecret(secret: string): Keypair; static fromRawEd25519Seed(rawSeed: Buffer): Keypair; static master(networkPassphrase: string): Keypair; static fromPublicKey(publicKey: string): Keypair; static random(): Keypair; constructor(keys: any); type: any; _secretSeed: any; _publicKey: any; _secretKey: Buffer | undefined; xdrAccountId(): any; xdrPublicKey(): any; xdrMuxedAccount(id?: string | undefined): xdr.MuxedAccount; rawPublicKey(): Buffer; signatureHint(): any; publicKey(): string; secret(): string; rawSecretKey(): Buffer; canSign(): boolean; sign(data: Buffer): Buffer; verify(data: Buffer, signature: Buffer): boolean; signDecorated(data: Buffer): xdr.DecoratedSignature; signPayloadDecorated(data: Buffer): xdr.DecoratedSignature; }