drelayer
is a standalone Go daemon that allows any Handshake TLD owner to offer portions of their DDRP blob space to other people.
- Install the
go
toolchain. - Install
postgres
. - Install the required dependencies:
go-swagger
.migrate
.
- Create a
postgres
database to containdrelayer
's data. - From the root of the project, run
migrate -source file://./store/migrations -database <your-databse-dsn> -verbose up
. - Run
make drelayer
to build the daemon. - Start a DDRP node.
- Copy
config.example.yml
toconfig.yml
, and modify the values as appropriate for your system. - Start
drelayer
by running./build/drelayer -c <config-path>
.
drelayer
exposes a REST API. You can generate API stubs and documentation from the swagger.yml
file in the swagger
directory, or paste its contents into the online Swagger Editor.
To extract ddrpcli
private keys for use with the relayer, run xxd -c 64 -p ~/.ddrpcli/identity
.