Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • dyn-import
  • ipfs-QmXZQ7JCMiQVzUvyMXaQeJ9m8svZvwPNWX3q1UrUDfZ6Lj
  • ipfs-Qmbj6J9jrr5xmn4sCkdg2nr5TZikV7nJfSEDXEFawtfXpz
  • ipfs-QmR2YAUqVUKYQmYtBJEcTvYacMLVEwUaY678UHQafPXz5G
  • ipfs-QmbRo9ED4hoDiSGqXkBymeL9DFTmsW5wyueySLtrNsT6uZ
  • ipfs-QmTqgbRwgLDpJE1U5KdLwQmPNUF2F2FaR2JYNKpZ697qDZ
  • ipfs-QmaHnwqCnbcD7BDW5XgauS5sJ6vZea4EpgBXdM6xao87qW
  • ipfs-Qme1f16aCCzKD4mKehaW8hWg6P1NEGgHDQkSzJ9RRQXZoV
  • ipfs-QmancDvQKQ5PRtvVwa1H8joZehJBEyfDtz6M57SzRKHVe6
  • ipfs-QmUvmMy3iT2d6S82Zy6q1rGt2fgNaMXeHjjDvm3HWm3HL4
11 results

README.md

Blame
  • Forked from Hugo Trentesaux / duniter-vue
    19 commits behind the upstream repository.

    duniter-vue

    Duniter Panel, application en Vue pour explorer les fonctionnalités de Duniter v2 et de l'écosystème associé.

    Développer

    Installer les dépendances et lancer l'app localement en mode dev.

    pnpm install
    pnpm dev

    Mettre à jour les API

    Pour mettre à jour les schémas graphql et les métadonnées du runtime.

    # get schema and generate types
    pnpm exec get-graphql-schema https://${SUBSQUID_DOMAIN}/v1/graphql > src/squid/schema.graphql
    pnpm exec get-graphql-schema https://${DATAPOD_DOMAIN}/v1/graphql > src/datapod/schema.graphql
    pnpm run generate:graphql:squid
    pnpm run generate:graphql:datapod
    # get metadata and use them to generate types
    curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "state_getMetadata", "params":[]}' http://localhost:9944 -o rsrc/metadata.json
    ./node_modules/.bin/polkadot-types-from-defs --endpoint ./rsrc/metadata.json --input ./interfaces --package duniter-vue
    ./node_modules/.bin/polkadot-types-from-chain --endpoint ./rsrc/metadata.json --output ./interfaces --package duniter-vue