Add blossom support

This commit is contained in:
Jon Staab
2025-06-06 13:52:53 -07:00
parent bc65b96d46
commit d13ea745ff
10 changed files with 304 additions and 37 deletions
+7 -1
View File
@@ -526,6 +526,12 @@ export declare const hexToBech32: (prefix: string, hex: string) => `${Lowercase<
export declare const bech32ToHex: (b32: string) => string;
// Converts an array buffer to hex format
export declare const bufferToHex: (buffer: ArrayBuffer) => string;
export declare const bytesToHex: (buffer: ArrayBuffer) => string;
// Converts a hex string to a Uint8Array buffer
export declare const hexToBytes: (hex: string) => Uint8Array;
// Computes SHA-256 hash of binary data
export declare const sha256: (data: ArrayBuffer | Uint8Array) => Promise<string>;
```