An ALPHA implementation of the did:btco
DID method.. Not Financial Advice.
- Bun
- jq (if you want to validate DID documents)
- A bitcoin node
- An ordinals node with full sat index running as a server (can be ordinals.com for mainnet)
- Another ordinals node with full sat index to be used as a wallet
- UTXOs in the ordinals wallet
git clone https://github.com/aviarytech/btco.git
cd btco && bun install
Export API variables of interest
export ORD_API=https://ordinals.com
export ORD_SIGNET_API=https://signet.ordinals.com
export ORD_REGTEST_API=http://localhost:8080
This is still EXTREMELY alpha software. It is strongly recommend to get started on BTC test networks such as a
local regtest (-r)
or a broader network like signet (-s)
before commit to spending valuable outputs.
bun run btco list
Or to view blank and unwritten DIDs
bun run btco list --blank
bun run btco create <did:btco:51...> ./didDoc.json --fee-rate <feeRate>
bun run btco update <did:btco:51...> ./didDoc.json --fee-rate <feeRate>
bun run btco deactivate <did:btco:51...> --fee-rate <feeRate>