📗
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
  • Part 1: Prepare AWS for GPU Access
  • Part 2: Launch GPU Instance
  • Part 3 Connect to Your Instance Using PuTTY
  • Part 4: Install EMC Node and Cloud Software
  • Part 5: Monitor and Stake
  • 🔐 Why Stake $EMC?
  • 📜 Staking Rules
  1. Run an EMC Node

GPU Mining Guide

PreviousCommunity Treasury: Resource Allocation and Incentive Structures

Last updated 22 days ago

Overview:

This guide will walk you through the process of setting up an EMC Node on AWS EC2 with a Virtual GPU. It includes step-by-step instructions for GPU setup, Docker installation, EMC software configuration, and node registration.

Note: This configuration is a starting point to help you get up and running. Feel free to adjust settings such as instance type, region, and storage to suit your specific needs and preferences.

Recommended: For optimal performance and increased AI task rewards, we suggest using a GPU with 24GB VRAM or higher (e.g., RTX 4090, A100).

Part 1: Prepare AWS for GPU Access

1.1 Create an AWS Account

  1. Go to

  2. Click "Create an AWS Account"

  1. Complete the signup process

1.2 Request GPU Quota

  1. Choose "Amazon EC2"

  1. Search for "Running On-Demand G"

  1. Request for a quota increase for g4dn.xlarge (8–16 vCPUs)

  2. Provide justification: "Running EMC Node workloads"

  3. Wait for approval (24–48 hours)


Part 2: Launch GPU Instance

2.1 Configure and Launch

  1. Open the EC2 Dashboard and click "Launch instance"

  1. Set a custom instance name (e.g., EMC-GPU-Node)

  1. Choose AMI: Ubuntu Server 22.04 LTS (HVM)

  1. Select instance type: g4dn.xlarge (or choose another instance type based on your needs)

  1. Create and download a new Key Pair (.ppk format for PuTTY)

  1. Under Network Settings:

    1. Enable Auto-assign Public IP

    2. Enable Allow SSH

  1. Set storage to at least 30GB

  1. Click "Launch instance"

  1. Once the green success notification bar appears, your setup is complete, and you’re ready to proceed.


Part 3 Connect to Your Instance Using PuTTY

  1. Find Public IP Address:

    • Open the AWS EC2 dashboard and select your instance.

    • Locate the Public IPv4 address field in the bottom panel.

    • Click the copy icon to copy the IP address.

  2. Connect Using PuTTY:

    • Open PuTTY.

    • In the left-hand menu, click on "Session" under the Category section.

    • Enter ubuntu@your-instance-public-ip in the Host Name field.

    • Navigate to Connection > SSH > Auth > Credentials in the left sidebar.

    • Click Browse, select your .ppk private key file.

    • Go back to the Session category.

    • Enter a name (e.g., "EMC Node") in Saved Sessions, then click Save.

    • Click Open to connect.

    • Click Accept if prompted with a security alert.


3.2 Install NVIDIA Drivers and Docker

After launching the PuTTY terminal, make sure to run each command one by one to ensure everything works smoothly.Update and upgrade system:

sudo apt update && sudo apt upgrade -y
sudo apt install -y ubuntu-drivers-common
sudo ubuntu-drivers autoinstall
sudo reboot

Reconnect to your instance after reboot.Install Docker:

curl -fsSL https://get.docker.com -o get-docker.sh && chmod +x get-docker.sh && bash get-docker.sh

Set up NVIDIA container toolkit:

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

Test GPU access:

nvidia-smi
sudo docker run --rm --gpus=all nvidia/cuda:11.8.0-base-ubuntu22.04 nvidia-smi

Part 4: Install EMC Node and Cloud Software

4.1 Install EMC Software

curl -s https://install.edgematrix.pro/setup_linux.sh | sh
curl -s https://install.edgematrix.pro/setup_cloud_linux.sh | sh

4.2 Run with tmux (persistent terminal sessions)

sudo apt install tmux -y

Run EMC node:

tmux new -s emc-node
cd ~/emc
./start.sh

(Detach using Ctrl+B, then press D)Run EMC cloud client:

tmux new -s emc-cloud
cd ~/cloud
./cloud_client.sh

(Detach using Ctrl+B, then press D)


4.3 Register the Node

cd ~/emc
./edge-matrix-computing node register --commit set --node computing --owner 0xYourWalletAddress

Replace 0xYourWalletAddress with your Arbitrum wallet address.


Part 5: Monitor and Stake

5.1 Check Node Status

./edge-matrix-computing version
./edge-matrix-computing secrets output --data-dir edge_data
./edge-matrix-computing node status

After 30 minutes to 1 hour, run this command sudo docker ps | grep edgematrix and you will see the following output

Step 6: Bind Wallet & Stake Tokens

1. Open Your Node Dashboard

2. Bind Your Wallet

Click on “Bind” to link your wallet to the node; after connecting, a “Bind Node Success” message will display.

3. Stake EMC Tokens

Ensure your wallet address is whitelisted on EMC, then stake EMC tokens to activate rewards for your node.

4. Check Your Rewards

Once staked, monitor your node rewards from the same dashboard. Click the top right on your wallet address and check your active EMC Node rewards

Note:Rewards will only appear on the dashboard UI after surpassing 1000 EMC rewards, as shown as an example below:

🔐 Why Stake $EMC?

Staking $EMC isn’t just a requirement, it’s how you earn, contribute, and gain influence in the EMC ecosystem.By staking, you're not only supporting the backbone of a decentralized AI compute network, you're also unlocking your potential to earn consistent rewards while helping secure a global infrastructure built for AI and DePIN.Here’s what staking $EMC means for you:

  • Earn More, Do More: Active stakers receive priority rewards for task validation and GPU compute participation.

  • Boost the Network: Your stake helps strengthen EMC’s reliability and ensures AI workloads are processed securely across nodes.

  • Contribute Security: Stakers are considered core contributors to the ecosystem’s safety and reliability.


📜 Staking Rules

Minimum Stake: A minimum of 10 $EMC is required to begin staking.Recommended Stake: 1000 $EMC or more for better reward share, and increased contribution recognition within the network.Unstaking Period: Once you initiate unstaking, your tokens will enter a 30-day cooldown period before they become withdrawable. This ensures network stability and fairness for all participants.

Go to

Download PuTTY: Install PuTTY from if you don’t have it.

🔗 Replace xxxxxx with your Node ID and visit:

Ensure you have whitelist eligibility by opening a ticket on the before staking.

Smart Contract Address deployment:

🚨 If you encounter any issues or bugs, feel free to reach out on Official .

https://console.aws.amazon.com/servicequotas/
https://www.putty.org/
https://dashboard.emc.network/nodes/xxxxxx
EMC Discord
https://arbiscan.io/address/0xaefdd38de2ad3c301b234be320a2305db082426f
EMC Discord
https://aws.amazon.com