Skip to content
Snippets Groups Projects
Hugo Trentesaux's avatar
Hugo Trentesaux authored
* v0.2.6

* add smith info to idty show

* update schema and improve error handling

* wip json + more info on idty show

* create gitlab issues instead of readme todos
685c1f7e
History

Resources

Graphql schema and queries for Duniter indexer

Update the schema with:

# install graphql client cli
cargo install graphql_client_cli
# download schema from node
graphql-client introspect-schema https://subsquid.gdev.coinduf.eu/graphql --output ./res/indexer-schema.json

...

Metadata

To update the scale-encoded Duniter metadata, spawn a node and run the subxt command.

# install subxt
cargo install subxt
# spawn a node listening on localhost:9944
duniter --dev
# fetch the metadata with subxt
subxt metadata -f bytes > res/metadata.scale