EMETH White Paper
  • EMETH White Paper
  • 1. Introduction
    • 1-1. The Need for a Global Distributed Computing Platform
  • 2. Project
    • 2-1. EMETH's Vision
    • 2-2. Overview of EMETH Project
      • 2-2-1. Data Privacy Protection
      • 2-2-2. Hybrid Parallel Processing
      • 2-2-3. EMETH L2 Roll Up
  • 3.Token Economy
    • 3-1. EMETH ($EMETH) Token Overview
    • 3-2. Token Allocation
    • 3-3. EMETH Token Utility
    • 3-4. GPU Mining Program
      • 3-4-1. Staking Program.
    • 3-5. Calculation Method for JOB Execution Fees
    • 3-6. Overview of fee state transition
  • 4. Node
    • 4-1. Benefits that EMETH node can enjoy
    • 4-2. How to Become a EMETH Node
      • 4-2-1. How to set up EMETH Node for Windows users
      • 4-2-2. How to set up EMETH Node for Ubuntu users
      • 4-2-3. How to set up EMETH Portable for mobile device users
  • 5. Service
    • 5-1. AI Inference
      • 5-1-1 Pricing
    • 5-2. Rent GPUs
  • 6. DAO
    • 6-1. EMETH DAO
  • 7. EMETH Architecture
    • 7-1. Overview
      • 7-1-1. Splitter
      • 7-1-2. Aggregator
      • 7-1-3. Verifier
      • 7-1-4. Signer
    • 7-2. Layer 1 Entire Process
    • 7-3. Layer 2 Entire Process
  • 8. ROADMAP
Powered by GitBook
On this page
  • ◇ Set up flow
  • 1. Initial Environment Preparation
  • ◇ Ubuntu Installation Reference
  • ◇Guide for how to prepare MATIC
  • 2. operation with Node.js
  • (1) Install nvm stable version of Node.js
  • (2) Installing Docker
  • (3) Setting Docker Execution Permissions
  • 3. operation with EMETH NODE
  • (1) Installation of EMETH Node
  • (2) Editing Configuration Files
  • (3) Setting items
  • (4) Starting EMETH Node
  • 4.(Optional) Persistence by Process-Manager
  • (1) Install pm2
  • (2) Run EMETH Node persistently
  • (3) EMETH Node Process checking
  • (4) EMETH Node log tracking
  • ◇ Inquiries
  1. 4. Node
  2. 4-2. How to Become a EMETH Node

4-2-2. How to set up EMETH Node for Ubuntu users

Previous4-2-1. How to set up EMETH Node for Windows usersNext4-2-3. How to set up EMETH Portable for mobile device users

Last updated 6 months ago

This guide provides a comprehensive, step-by-step procedure for setting up an EMETH Node on a Ubuntu Linux OS.

◇ Set up flow

  1. Initial Environment Preparation

  2. Operation with Node.js

  3. Operation with EMETH NODE

  4. (Optional) Persistence by Process-Manager

Preparation of initial environment Install Ubuntu, MetaMask, and create an account (wallet address) for Emeth Node.

1. Initial Environment Preparation

Install Ubuntu, MetaMask, create account (wallet address) for Emeth Node

◇ Ubuntu Installation Reference

◇Guide for how to prepare MATIC

Procure MATIC tokens and put them in MetaMask.

How to buy Polygon MATIC tokens easy way.

2. operation with Node.js

(1) Install nvm stable version of Node.js

Check installed node and npm versions

$ node -v v18.17.1 $ npm -v 9.6.7

(2) Installing Docker

Check installed Docker version

$ docker -v Docker version 24.0.6, build ed223bc

(3) Setting Docker Execution Permissions

$ sudo groupadd -f docker $ sudo usermod -aG docker $USER $ newgrp docker

3. operation with EMETH NODE

(1) Installation of EMETH Node

(2) Editing Configuration Files

$ cp config/emeth-node.json.example config/emeth-node.json $ vi config/emeth-node.json

(3) Setting items

config/emeth-code.json:

Here are the list of items you don’t need to change from “Sample Value”. *You need to prepare and fill“endpoint” and “privateKey” by yourself.

・emethCoreContractAddress: 0x5aF9c255D6C965aAa8DB3e9C82276e59345186C8

・emethTokenContractAddress: 0xCB746131b75f30942de7C59a5Be1393Fca5Be05D

(4) Starting EMETH Node

$ node bundle.js

If you want to process only one job for testing, the following options are available

$ node bundle.js — iterations 1

4.(Optional) Persistence by Process-Manager

(1) Install pm2

$ npm install -g pm2

(2) Run EMETH Node persistently

$ pm2 start bundle.js — name emeth-node

(3) EMETH Node Process checking

$ pm2 list

or

$ pm2 monit

(4) EMETH Node log tracking

$ pm2 logs emeth-node

◇ Inquiries

$ curl | bash $ source ~/.profile $ nvm install v18.17.1

$ sudo apt update $ sudo mkdir -p /etc/apt/keyrings $ curl -fsSL | sudo gpg — dearmor -o /etc/apt/keyrings/docker.gpg $ echo “deb [arch=$(dpkg — print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null $ sudo apt update $ sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

$ mkdir emeth-node $ cd emeth-node $ wget $ unzip emeth-node $ rm emeth-node.zip

・cacheServerUrl

・storageApiUrl

If you encounter any errors or have any questions, please contact us in the Discord channel. Discord:

https://www.youtube.com/watch?v=wjbbl0TTMeo
https://www.youtube.com/watch?v=n8TwB79My-I
https://raw.githubusercontent.com/creationix/nvm/master/install.sh
https://download.docker.com/linux/ubuntu/gpg
https://download.docker.com/linux/ubuntu
https://github.com/alt-emeth/emeth-node/releases/download/v0.8.1/emeth-node.zip
https://cache.emeth.ai/api/v1/jobs
https://storage.emeth.ai/api/v1/
https://discord.gg/wRAS5PhWUb