Installation
The Metagraph Framework can be installed in several ways:
Euclid (recommended): Install an empty project in Euclid SDK using the
hydra install
command.Metagraph Examples (recommended): Explore ready-to-use examples of metagraph codebases in the metagraph-examples repo. These examples can also be installed automatically via the
hydra install-template
command.giter8: The Metagraph Framework is distributed as a g8 template project that can be customized for your organization. This template can be manually built using giter8. For more details, visit the project repository.
Quick Start
See the Euclid Quick Start guide for a walkthrough of framework installation within the Euclid Development Environment. This is the recommended development environment and installation method for most users.
Installation Using Giter8
note
Manual installation using giter8 necessitates pre-generated Tessellation dependencies. To generate these dependencies, execute the following commands in the tessellation repository on the desired tag:
Ensure Scala and giter8 are installed. Install giter8 with:
Then, install the template using the specified tag:
Compiling the Project
After installing your project and the Tessellation dependencies, compile the project to generate your local JAR files. You can compile as follows:
For metagraph-l0:
For currency-l1:
For data-l1:
Installation Using Metagraph Examples
Using Euclid, you can execute the following command to list the available examples:
To install the desired template, execute this command:
Compiling the Project
To compile the project using Euclid, you just need to run:
Last updated
Was this helpful?