mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 09:08:03 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
export * from './address/types.js';
|
||||
export * from './json/types.js';
|
||||
export interface Keypair {
|
||||
/** The publicKey for this pair */
|
||||
publicKey: Uint8Array;
|
||||
/** The secretKey for this pair */
|
||||
secretKey: Uint8Array;
|
||||
}
|
||||
export interface Seedpair {
|
||||
/** The publicKey for this pair */
|
||||
publicKey: Uint8Array;
|
||||
/** The seed used to construct the pair */
|
||||
seed: Uint8Array;
|
||||
}
|
||||
/** The supported types of pairs */
|
||||
export type KeypairType = 'ed25519' | 'sr25519' | 'ecdsa' | 'ethereum';
|
||||
export interface VerifyResult {
|
||||
/** The detected crypto interface, or 'none' if not detected */
|
||||
crypto: 'none' | KeypairType;
|
||||
/** The validity for this result, false if invalid */
|
||||
isValid: boolean;
|
||||
/** Flag to indicate if the passed data was wrapped in <Bytes>...</Bytes> */
|
||||
isWrapped: boolean;
|
||||
/** The extracted publicKey */
|
||||
publicKey: Uint8Array;
|
||||
}
|
||||
Reference in New Issue
Block a user