@avalanche-sdk/client
Version:
A TypeScript SDK for interacting with the Avalanche network through JSON-RPC APIs. This SDK provides a comprehensive set of tools to interact with all Avalanche chains (P-Chain, X-Chain, C-Chain) and various APIs, including wallet functionality for transa
25 lines • 2.94 kB
TypeScript
export type { Address } from "viem";
export { HDKey } from "@scure/bip32";
export { czech, english, french, italian, japanese, korean, portuguese, simplifiedChinese, spanish, traditionalChinese, } from "viem/accounts";
export { generateMnemonic, generatePrivateKey, hdKeyToAccount, mnemonicToAccount, privateKeyToAccount, toAccount, type GenerateMnemonicErrorType, type GeneratePrivateKeyErrorType, type HDKeyToAccountErrorType, type HDKeyToAccountOptions, type MnemonicToAccountErrorType, type MnemonicToAccountOptions, type PrivateKeyToAccountErrorType, type PrivateKeyToAccountOptions, type ToAccountErrorType, } from "viem/accounts";
export { createNonceManager, nonceManager, parseAccount, privateKeyToAddress, publicKeyToAddress, serializeSignature, setSignEntropy, sign,
/** @deprecated Use `serializeSignature` instead. */
serializeSignature as signatureToHex, signAuthorization, signMessage, signTransaction, signTypedData, type CreateNonceManagerParameters, type NonceManager, type NonceManagerSource, type ParseAccountErrorType, type PrivateKeyToAddressErrorType, type PublicKeyToAddressErrorType, type SerializeSignatureErrorType,
/** @deprecated Use `SignatureToHexErrorType` instead. */
type SerializeSignatureErrorType as SignatureToHexErrorType, type SignAuthorizationErrorType, type SignAuthorizationParameters, type SignAuthorizationReturnType, type SignErrorType, type SignMessageErrorType, type SignMessageParameters, type SignMessageReturnType, type SignParameters, type SignReturnType, type SignTransactionErrorType, type SignTransactionParameters, type SignTransactionReturnType, type SignTypedDataErrorType, type SignTypedDataParameters, type SignTypedDataReturnType, } from "viem/accounts";
export type { Account, AccountSource, CustomSource, HDAccount, HDOptions, JsonRpcAccount, LocalAccount, PrivateKeyAccount, } from "viem/accounts";
export { privateKeyToAvalancheAccount } from "./privateKeyToAvalancheAccount.js";
export { memonicsToAvalancheAccount } from "./memonicsToAvalancheAccount.js";
export { privateKeyToXPAddress } from "./utils/privateKeyToXPAddress.js";
export { publicKeyToXPAddress } from "./utils/publicKeyToXPAddress.js";
export { xpSignMessage } from "./utils/xpSignMessage.js";
export { xpSignTransaction } from "./utils/xpSignTransaction.js";
export { xpVerifySignature } from "./utils/xpVerifySignature.js";
export { xpRecoverPublicKey } from "./utils/xpRecoverPublicKey.js";
export { privateKeyToXPPublicKey } from "./utils/privateKeyToXPPublicKey.js";
export { hdKeyToAvalancheAccount } from "./hdKeyToAvalancheAccount.js";
export type { AvalancheAccount, LocalXPAccount, XPAccount, XPAddress, } from "./avalancheAccount.js";
export { parseAvalancheAccount } from "./utils/parseAvalancheAccount.js";
export { privateKeyToXPAccount } from "./privateKeyToXPAccount.js";
export type { HDKeyToAvalancheAccountOptions } from "./hdKeyToAvalancheAccount.js";
//# sourceMappingURL=index.d.ts.map