btc-ordinal-dids
v0.0.10
Published
![Bitcoin Ordinals DID Method Logo](./logo.png)
Downloads
1
Readme
BTC Ordinals DIDs
This is an implementation of the did:btco method.
It follows the DID Registration specification, uses DID
It uses the following options:
- Client-managed secret mode
Prerequesites
- Bun
- jq
- A bitcoin node
- An ordinals node with full sat index running as a server
- Another ordinals node with full sat index to be used as a wallet
- UTXOs in the ordinals wallet
Core Methods
The core methods are implemented as follows
create(method = 'btco', did = null, options, secret, didDocument) -> jobId, didState, didRegistrationMetadata, didDocumentMetadata
update(did, options, secret, didDocumentOperation, didDocument) -> jobId, didState, didRegistrationMetadata, didDocumentMetadata
deactivate(did, options, secret) -> jobId, didState, didRegistrationMetadata, didDocumentMetadata
resolve(did, options) -> didDocument, didResolutionMetadata, didDocumentMetadata
Utility Methods
A number of utility methods are used to enable the core methods.
listAvailable() -> dids[]