This is a graphql plugin for Handshake Daemon.
This is just a proof of concept. Only block(height)
method is currently implemented.
Let me know if you think this project deserves more attention.
In your HSD directory:
npm i hsd-graphql
Then, reload HSD with the plugins flag:
./bin/hsd --plugins hsd-graphql
The following flags are allowed:
Params | Default value | Description |
---|---|---|
--graphql-port | 4000 | GraphQL Server's port. |
--graphql-playground | false | Enable the GraphiQL (UI). |