TBD54566975 / did-dht-method

the did:dht method

Home Page:https://did-dht.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

godoc did-dht-method go version 1.22.1 license Apache 2 issues push

did-dht-method

The did:dht method. Home to the DID DHT Method Specification, and a reference implementation of a gateway server in Go.

Build & Run

Quickstart

To build and run in a single command ./scripts/quickstart.sh.

Usage: ./scripts/quickstart.sh [options]

Builds and runs the did-dht server

Options
  -h, --help          show this help message and exit
  -c, --commit=<hash> commit hash for `docker build` (default: HEAD)
  -t, --tag=<tag>     tag name for `docker build` (default: did-dht:latest)
  -d, --detach        run the container in the background (default: false)
  -k, --keep          keep the container after it exits (default: false)
  -n, --name=<name>   name to give the container (default: did-dht-server)
  -p, --port=<port>   ports to publish the host/container (default: 8305:8305)
  --skip-run          skip running the container (default: false)

docker

To build and run the gateway server, from the impl directory run:

docker build \
  --build-arg GIT_COMMIT_HASH=$(git rev-parse head) \
  --tag did-dht \
  --file build/Dockerfile .

and then

docker run \
    --publish 8305:8305 \
    --publish 6881:6881/udp \
    did-dht

Implementations

Language Client Server Link
Go Yes Yes did-dht-go
Typescript Yes No did-dht-ts
Kotlin Yes No did-dht-kotlin
Swift Yes No Coming soon!
Rust Yes No Coming soon!

Project Resources

Resource Description
Specification The DID Method specification
CODEOWNERS Outlines the project lead(s)
CODE_OF_CONDUCT.md Expected behavior for project contributors, promoting a welcoming environment
CONTRIBUTING.md Developer guide to build, test, run, access CI, chat, discuss, file issues
GOVERNANCE.md Project governance
LICENSE Apache License, Version 2.0

About

the did:dht method

https://did-dht.com/

License:Apache License 2.0


Languages

Language:Go 97.5%Language:Shell 2.2%Language:Dockerfile 0.3%