📗
Edge Matrix Documentation
EN
EN
  • 🌐EMC Network
    • Overview
    • Future Roadmap and Development
    • Frequently Asked Questions (FAQ)
    • Tokenomics
      • Token Allocation
      • Token Utility
      • Revenue Model
  • 🌐Products
    • EMC Mainnet
      • Network Information
      • Consensus Mechanism : PoAW (Proof of AI Work)
      • Block Parameters
      • Transaction Performance
      • JSON RPC
      • Bridge
        • Bridge Contracts
        • Bridge Mechanism
        • Supported Cross-Chain Asset Pair
      • DEX
    • EMC Hub
      • EMC Protocol
      • Network Operation and Topology
  • EMC DAO
    • DAO Architecture: Principles and Processes
    • Proposals and Voting: How Token Holders Shape Decisions
    • Community Treasury: Resource Allocation and Incentive Structures
  • Run an EMC Node
    • GPU Mining Guide
Powered by GitBook
On this page
  • Requirements
  • System Requirements
  • 1.Install Docker、Nvidia Virtualization
  • 2.Deploy EMC and EMC Cloud
  • 3.Regist Wallet For Reward
  • 4.Bind Wallet Address And Stake
  • 5.Validate And Query Commands
  • Reinstallation
  1. EMC Network

How to Deploy EMC node

Last updated 1 year ago

Requirements

The EMC testnet currently prioritizes GPU providers from EPN (EdgeMatrix Partner Network) partners.

If you represent a global IDC or computing power center, consider joining the EPN program,

If you are an individual node operator capable of providing stable computing power for global AI applications and clients, feel free to contact us to join the whitelist for the testnet. Please reach out to the administrators on for further details before following below instructions or stake $EMC to your node.

System Requirements

sytem: Ubuntu 22.04

nvidia driver: 535、graphics memory: >=12G

1.Install Docker、Nvidia Virtualization

# 1.install dependencies
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
# 2.config source
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# 3.install Docker
sudo apt update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# 4.install NVIDIA GPU Docker Virtualization
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
      && curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
      && curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | \
            sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
            sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker
# 5.validate
sudo docker run --rm --gpus=all nvidia/cuda:11.8.0-base-ubuntu22.04 nvidia-smi

2.Deploy EMC and EMC Cloud

# Linux
curl -s https://install.edgematrix.pro/setup_linux.sh |sh #Initialize EMC
curl -s https://install.edgematrix.pro/setup_cloud_linux.sh |sh #Initialize EMC CLOUD
# start node
cd emc
./start.sh
# start EMC CLOUD
cd ../cloud
./cloud_client.sh

3.Regist Wallet For Reward

# 'xxxxxx' change to your owner Arb chain wallet address
cd ../emc
./edge-matrix node register --commit set --node computing --owner xxxxxx

4.Bind Wallet Address And Stake

First, ensure that the node is running normally, otherwise, you cannot register the ARB wallet address (which is the wallet address for staking and receiving rewards on the node)

url:https://dashboard.edgematrix.pro/#/nodes/xxxxxx

ps. change 'xxxxxx' to your Node ID(The Node ID will be displayed in start emc cloud).

5.Validate And Query Commands

# show version
./edge-matrix version
# show node ID
./edge-matrix secrets output --data-dir edge_data
# show node status
./edge-matrix node status

To validate nodes and routing nodes, EMC tokens must be staked, hence most ordinary users mainly register as computing power nodes. If you need to register as a validator node or a routing node, please contact us.

Reinstallation

You need backup the emc/edge_data folder when you have to reinstall. It can make sure use the same nodeid and wallet address.

# 1.kill the emc process
sudo pkill edge-matrix 
sudo pkill nomad
# 2.backup the emc/edge_data folder
cd emc
sudo cp -r edge_data ../
# 3.remove the emc and cloud folder, remove emc_cloud_linux_64.tgz and emc_linux_64.tgz file
cd ..
sudo rm -rf emc cloud emc_cloud_linux_64.tgz emc_linux_64.tgz
# 4.go to the first page of e and reinstall
# 5.copy the edge_data back when reinstall finish
sudo cp -rf edge_data emc/

Please reach out to the administrators on for further details on whitelist before staking $EMC to your node.

If you have any questions, you can leave a message on or .

🌐
Discord
Discord
Telegram
Discord