LogoLogo
Blockchain ExplorerWebsiteAirdrop
  • Welcome to Metacces
  • Overview
    • Mission & Vision
    • Market Analysis
    • Story
  • THE ECOSYSTEM
    • Unique Oli
      • Who is Oli
      • AI Integration
      • Blockchain Integration
    • Blacxes
      • What is Blacxes
      • Utilites
      • Unique DNA
      • DAO Governance
      • Technology
      • Distribution
      • Swap
    • Access Journey
      • Overview
      • Basic level
      • Intermediate level
      • Final level
    • Main App
      • Overview
      • Account
      • Assets
      • Use Acces Journey
    • Blockchain Layer 1
    • Acces Coin
      • Coin Utility
      • Smart-Contracts
      • Tokenomecs
      • Metacces Listings Roadmap
  • DEVELOPERS
    • Public Endpoints
    • MetaMask
    • Node Setup
    • JSON RPC Server
    • Connect to RPC
    • API Methods
    • Client Libraries
    • Smart Contracts
      • Deploy
      • Interact
      • Transfer
      • Fixed Cap Asset
      • Variable Cap Asset
  • MISC
    • Roadmap
      • Main Roadmap
        • ✔️2022
        • ✔️2023
        • 🔛2024
        • 2025
      • 🪙Coin Roadmap
        • 2022
        • 2023
        • 2024
    • Meet The Team
    • Be a partner With Metacces
    • Pitch Deck⁩
    • Social Links
      • Website
      • Telegram
      • X.Twitter
      • Discord
      • Youtube
      • Instagram
      • Facebook
Powered by GitBook
On this page

Was this helpful?

  1. DEVELOPERS

Node Setup

Requirements:

  • Docker and Docker Compose.

  • Ubuntu / Ubuntu-like server

Setup docker and docker-compose:

Copy

sudo apt update; sudo apt install docker.io -y
sudo usermod -aG docker $USER
mkdir -p ~/.docker/cli-plugins/
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose; sudo chmod +x /usr/local/bin/docker-compose
sudo usermod -aG docker $USER; newgrp docker

Clone Metacces RPC node repo:

git clone(Will update with Metacces repo)

cd rpcnode

You may need to give permissions to sh files. To do so, run:

chmod +x *.sh

Then run:

./run.sh

The docker-compose.yml file includes all the needed information.

You can adjust some variables if you are familiar with that.

## Additional commands:

./stop.sh: stops the node keeping its data.

./resume.sh: resumes the node, it runs after stop.sh

./restart.sh: restarts the node container

./remove.sh: removes the node data completely

./qlogs.sh: displays the node container logs

./johnwickdocker.sh: destroys all docker related resources, starts clean.

To test if the node is working:

1. Paste your server's IP with port 22000 in a web browser: http://SERVER_IP:22000

If a blank white page is displayed, your node is working fine. Else, you'll get an error.

2. In MetaMask network settings, place the address: http://your-ip:22000 for the RPC URL.

If you connect to the network, it means you are set. But you may need to wait for synchronization to complete.

During synchronization (first hour or so) your wallet balance may not reflect the correct value.

PreviousMetaMaskNextJSON RPC Server

Last updated 9 months ago

Was this helpful?