Skip to content
Snippets Groups Projects
Commit 10a823de authored by Éloïs's avatar Éloïs
Browse files

deps: upgrade gva

parent 0f6af484
No related branches found
No related tags found
No related merge requests found
......@@ -896,7 +896,7 @@ dependencies = [
[[package]]
name = "duniter-bda"
version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [
"anyhow",
"arrayvec 0.7.0",
......@@ -1054,7 +1054,7 @@ dependencies = [
[[package]]
name = "duniter-gva"
version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [
"anyhow",
"arrayvec 0.7.0",
......@@ -1084,7 +1084,7 @@ dependencies = [
[[package]]
name = "duniter-gva-conf"
version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [
"anyhow",
"duniter-core",
......@@ -1096,7 +1096,7 @@ dependencies = [
[[package]]
name = "duniter-gva-db"
version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [
"bincode",
"chrono",
......@@ -1112,7 +1112,7 @@ dependencies = [
[[package]]
name = "duniter-gva-dbs-reader"
version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [
"anyhow",
"arrayvec 0.7.0",
......@@ -1126,7 +1126,7 @@ dependencies = [
[[package]]
name = "duniter-gva-gql"
version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [
"anyhow",
"arrayvec 0.7.0",
......@@ -1146,7 +1146,7 @@ dependencies = [
[[package]]
name = "duniter-gva-indexer"
version = "0.1.0"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#02b68de3e8fef089688bf4c2c19b4417323372a6"
source = "git+https://git.duniter.org/nodes/rust/modules/duniter-gva#a09ef437750c40d2c8a3d79cc3dc0e934e3b7510"
dependencies = [
"anyhow",
"bincode",
......
......@@ -6,18 +6,18 @@ GVA is a [graphql] API.
Each Duniter node with GVA enabled have three endpoints :
| Prefix in peer card | Default path | Usage |
|:-:|:-:|:-:|
| `GVA` | `/gva` | for graphql queries and mutations |
| `GVASUB` | `/gva` | for graphql subscriptions |
| n/a | `/gva-playground` | for [graphql playground] |
| Path | Usage |
|:-|:-:|
| `/gva` | for graphql queries and mutations |
| `/gva/subscription` | for graphql subscriptions |
| `/gva/playground` | for [graphql playground] |
To learn how to use the GVA API, we recommend you to use the playground, which provides you with a documentation of all requests in the DOCS tab on the right of the screen.
## List of known GVA playgrounds
* https://g1.librelois.fr/gva-playground
* https://duniter-g1.p2p.legal/gva-playground
* https://g1.librelois.fr/gva/playground
* https://duniter-g1.p2p.legal/gva/playground
## Schema
......@@ -43,7 +43,7 @@ These limitations apply only to non-whitelisted IPs:
### Send a transaction
```
```graphql
mutation {
tx(
rawTx: "Raw transaction..."
......@@ -55,7 +55,7 @@ mutation {
### Get transactions
```
```graphql
query {
txsHistoryBc(script: "78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8") {
both {
......@@ -87,7 +87,7 @@ query {
### Batch request
```
```json
[
{"query": "{
idty(pubkey: \"D2meevcAHFTS2gQMvmRW5Hzi25jDdikk4nC4u1FkwRaU\") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment