Running Matrixchain Nodes

There are two different ways in which you can a Node, the first one being through Docker, and the second one through a Binary (either precompiled or Built from Source).


Currently, it is not possible to run a Enjin Matrixchain collator node.

This guide will be updated once that option is available.



The Docker Image can be found on Docker Hub at: enjin/matrixchain

You can use the following docker-compose.yml file:

    container_name: matrxichain
    image: enjin/matrixchain:latest
      - 9944:9944
      - 9615:9615
      - 30333:30333
      - 30334:30334
      - /MY/LOCAL/DIRECTORY:/chainstate
    command: [

Simply run the command docker-compose up -d to run the container.



$ ./matrix --name "enjin-matrix-docker" --rpc-external --chain mainnet  
    -- --name="enjin-matrix-docker" --port 30334 --chain enjin

Connecting to your node

Depending on the use case, there are a couple of ways to connect to the node:

  • WebSocket Connection: ws://localhost:9944
  • HTTP Connection: http://localhost:9944

Archive Node

In order to run an archive node, the following argument needs to be passed to either the binary or added to the command section of the docker-compose.yml file:

--pruning archive

These two arguments should be appended after line 19 in the docker-compose.yml file, or just before the backslash (\) on line 1 (end of line) of the Binary execution command.