aquadoggo

Embeddable p2panda network node


CI Status Crates.io version

Installation | API | Releases | Contributing


Configurable node server implementation for the [p2panda] network which can be embedded inside your Rust program.

Features

Example

Embed the node server in your Rust application or web container like [Tauri]:

```rust use aquadoggo::{Configuration, Node};

let config = Configuration::new(None)?; let node = Node::start(config).await; ```

Installation

With cargo-edit installed run:

sh $ cargo add aquadoggo

Development

Regenerate graphql schema

When you update the graphql code you'll need to manually regenerate the graphql schema files.

In the aquadoggo/aquadoggo directory:

sh cargo build --bin dump_gql_schema cargo run --bin dump_gql_schema > src/graphql/replication/client/schema.graphql

Note that the cargo build step is required first because the > in the run step truncates the schema file which is used for code generation.

License

GNU Affero General Public License v3.0 AGPL-3.0-or-later

Supported by


This project has received funding from the European Union’s Horizon 2020 research and innovation programme within the framework of the NGI-POINTER Project funded under grant agreement No 871528