- start a mock network
> export NUM_NODES=1
> bazel run //src/assembly-dev:stop_mock_network
- create 2 key aliases
curl -X POST http://127.0.0.1:32100/api/v1/key_aliases\?sync\=true
curl -X POST http://127.0.0.1:32100/api/v1/key_aliases\?sync\=true
-
open an interactive graphql session at https://www.graphqlbin.com/v2
-
enter the graphql endpoint http://127.0.0.1:32100/api/v1/graphql (use the mock network port)
-
run a query to get the key aliases:
query Default {
keyAliases(first: 200, tx_index: "2") {
edges {
node {
id
}
}
}
}