dwnpm
Version:
Decentralized Registry Package Manager (DRPM) helps developers publish, install, find and manage Decentralized Packages (DPKs) published to Decentralized Web Nodes (DWNs). DRPM does this by looking up a Decentralized Identifier (DID) to find its DID docum
19 lines • 700 B
TypeScript
import { DidMethod, DidResolutionOptions } from '@web5/dids';
type DidBtcResolutionOptions = DidResolutionOptions & {
transactions: string[];
didIndex?: number;
};
export declare class DidBtc extends DidMethod {
/**
* Name of the DID method, as defined in the DID BTC specification.
*/
static methodName: string;
/**
* @param _didUri DID URI to resolve; NOT USED
* @param _options DID resolution options; MOSTLY NOT USED, contains required transactions and optional didIndex
* @returns DID Document from BTC blockchain
*/
static resolve(_didUri: string, _options?: DidBtcResolutionOptions): any;
}
export {};
//# sourceMappingURL=did-btc.d.ts.map