Aranya Documentation An overview of the Aranya project

Example Application

An example application has been built to provide a practical demonstration of Aranya’s core functionality while also serving as a useful reference for developers integrating Aranya capabilities into their own solutions. The app is available in both C and Rust, and executes the steps outlined in the walkthrough guide.

For instructions on running the app in language of your choice, see the links below:

Note: Windows is not supported.

Overview

The Rust example uses the Rust client library of Aranya (aranya-client) while the C example uses the C wrapper APIs (aranya-client-capi).

The example app will automatically execute the steps from the Walkthrough guide, whis includes the creation of 5 daemons - one for each static role in the default policy - to represent different devices communicating over a common Aranya graph:

  1. Prepare the environment 2: Configure, build and run 5 daemons
  2. Owner to create and populate the team
  3. Admin creates an AQC label
  4. Operator assign the AQC label to Member A and Member B
  5. Member A creates a QUIC channel with Member B
  6. Member A sends a message over the channel to Member B
  7. Member B sends a message back to Member A

Notes

  • The actions performed by each role are based on the permissions assigned in the default policy.
  • Graph states are synced automatically in the background throughout the execution