Building From Source
This is an advanced guide
For pre-compiled binaries or for information on running a node via Docker, visit Running a Node.
Building an Enjin Node
The process of building an Enjin node is time-consuming and can take up to 30 minutes, depending on your machine's specifications. Building the node locally is not required, but it is recommended.
First of all, the Enjin Matrixchain is written using the Substrate framework, which is written in Rust. Therefore, before compiling the code, you must ensure that your Rust development environment is set up.
This guide was tested in Ubuntu 20.04 and macOS 13 (Ventura).
The following steps will build the latest version of the Enjin Matrixchain node from the master branch:
- Install Rust and Substrate dependencies following the official Substrate installation guide.
- Clone the Enjin repository:
git clone https://github.com/enjin/matrixchain.git
cd matrixchain
- Checkout the latest version of the code:
git checkout v3.1.4
- Build the node:
cargo build --release
You will now find the compiled binary at ./target/release/matrix
You can follow these instructions on running the binary.
Updated 5 months ago