Giter VIP home page Giter VIP logo

gx-agent's Introduction


Sphereon
Gaia-X Agent


These packages are in a very early development stage. Breaking changes without notice will occur at this point!

WARNING: This Gaia-X agent is compatible only with a non-official Gaia-X compliance service with Verifiable Presentation support

Gaia-X agent

The Gaia-X agent is an agent that can create Verifiable Credentials and Presentations out of Gaia-X self-descriptions. It can submit these to the Gaia-X Compliance Server, to get back Compliance Credentials. The agent can also issue and verify generic Verifiable Credentials and Presentations. Lastly the agent can export well-known resources, like DID:web and X.509 Certificate chains needed in a Gaia-X context.

Multiple scenario's

The Agent can be deployed and used in multiple scenarios:

Overview

If you quickly want to test out the agent features, we suggest the CLI

Prerequisites

Create X.509 keys and get SSL certificate

You will first need to have an existing X.509 EV SSL certificate or create a new one. This document explains how to setup a new X.509 certificate. Without following the steps in the document you cannot be onboarded as Gaia-X participant.

Setting up the agent

For now the CLI is the only documented way to setup the agent. In the future the other scenario's will be described as well.

Onboarding documentation and CLI documentation

The CLI Documentatation explains all the commands available in the CLI. However if you would like to follow a more structured process on how you can onboard using the Agent/CLI, you can also read this PDF document, which has additional information, and takes you through the process in consecutive order.

Developers

This is mono repository, with packages that handle steps for creating Gaia-X compliant Entities like self-descriptions compatible with Veramo modules.

This mono repo has the following packages:

  • gx-agent
    • an agent managing GX credentials, presentations and compliance service
  • gx-agent-cli
    • CLI support for the agent

Building and testing

Lerna

This package makes use of Lerna for managing multiple packages. Lerna is a tool that optimizes the workflow around managing multi-package repositories with git and npm / yarn.

Build

The below command builds all packages for you using lerna

yarn build

Test

The test command runs:

  • jest
  • coverage

You can also run only a single section of these tests, using for example yarn test:watch.

yarn test

Utility scripts

There are other utility scripts that help with development.

  • yarn prettier - runs prettier to fix code style.

Publish

There are scripts that can publish the following versions:

  • latest
  • next
  • unstable
yarn publish:[version]

gx-agent's People

Contributors

github-actions[bot] avatar ksadjad avatar nklomp avatar sanderpostma avatar sksadjad avatar sphereon-ci avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.