https://github.com/reseau-constellation/constellation.jl
Client Julia pour Constellation.
https://github.com/reseau-constellation/constellation.jl
constellation donnees-distribuees donnees-ouvertes ipfs julia orbit-db sfip
Last synced: 4 months ago
JSON representation
Client Julia pour Constellation.
- Host: GitHub
- URL: https://github.com/reseau-constellation/constellation.jl
- Owner: reseau-constellation
- License: agpl-3.0
- Created: 2022-11-10T08:55:08.000Z (over 3 years ago)
- Default Branch: principale
- Last Pushed: 2026-02-03T18:51:28.000Z (4 months ago)
- Last Synced: 2026-02-04T07:58:26.914Z (4 months ago)
- Topics: constellation, donnees-distribuees, donnees-ouvertes, ipfs, julia, orbit-db, sfip
- Language: Julia
- Homepage: https://docu.réseau-constellation.ca/avancé/autresLangages/julia.html
- Size: 118 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
Client Constellation Julia
Un client Julia pour communiquer avec le réseau Constellation.
## Installation
Vous pouvez l'installer ainsi :
```
pkg> add Constellation
```
Vous devrez également installer Constellation elle-même, soit l'[interface graphique](https://réseau-constellation.ca/t%C3%A9l%C3%A9chargements) (le plus facile), soit par la ligne de commande (vous aurez besoin de [Node.js](https://nodejs.org/fr/) et [pnpm](https://pnpm.io/), si vous ne l'avez pas déjà):
```sh
$ npm add -g pnpm
$ pnpm add -g @constl/ipa @constl/serveur
```
Et voilà !
## Guide
On vous recommande la [documentation complète](https://docu.réseau-constellation.ca/avanc%C3%A9/autresLangages/julia.html). Mais en bref, toutes les fonctionnalités de Constellation sont disponsibles.
```julia
import Constellation
# D'abord, lancer le nœud local
Constellation.avecServeur() do port, codeSecret
#
Constellation.avecClient(port, codeSecret) do client
# Écrire tout le reste de son code ici
# Par exemple :
idCompte = Constellation.action(client, "obtIdCompte")
@test occursin("orbitdb", idCompte)
idBd = Constellation.action(client, "bds.créerBd", Dict([("licence", "ODbl-1_0")]))
@test occursin("orbitdb", idBd)
end
end
```