Git Product home page Git Product logo

Aiax Network

Joining testnet

  1. Install Docker and Docker Compose
  2. Clone repository:
    git clone --recurse-submodules -b deploy-testnet https://github.com/aiax-network/aiax-network.git
    cd aiax-network
  3. Build docker images:
    cd extra
    sudo docker build -f Dockerfile.aiaxd --rm -t aiax-aiaxd .
    sudo docker build -f Dockerfile.gorc --rm -t aiax-gorc .
    sudo docker build -f Dockerfile.bootstrap --rm -t aiax-bootstrap .
  4. Create an empty directory and run inside (note the KEYRING_PASS env, it is password for aiaxd keyring):
    export KEYRING_PASS=securepass
    sudo docker run -v "$(pwd)/data:/aiax/data" -e "KEYRING_PASS=$KEYRING_PASS" --add-host aiaxd:127.0.0.1 -it aiax-bootstrap
    # Sync progress can be monitored in ./data/aiaxd.stderr.log
  5. You have to deposit 1000 AXX to a validator (in aiax chain) to pass the previous step. Also deposit some AXX to orchestrator (in aiax chain) and some ETH to signer (in eth chain) to make bridge transactions
  6. Create docker-compose.yml and run it:
    version: "3.8"
    services:
        gorc:
            image: aiax-gorc
            command: orchestrator start --cosmos-key=orchestrator --ethereum-key=signer
            volumes:
            - ./data/gorc:/aiax/data/gorc
            restart: on-failure
    
        aiaxd:
            image: aiax-aiaxd
            command: start
            volumes:
            - ./data/aiaxd:/aiax/data/aiaxd
            restart: on-failure
    
        eth:
            image: ethereum/client-go:stable
            command: --goerli --http --http.addr=0.0.0.0 --http.vhosts=* --syncmode light
            volumes:
            - ./data/eth:/root/.ethereum
            restart: on-failure
    sudo docker-compose up -d
  7. Now you can monitor your node using sudo docker-compose logs -f
    • Note that gorc will try to restart unless it will find some ETH on signer and AXX on orchestrator (allow some time to sync eth light node)

Aiax Network's Projects

cosmos-rust icon cosmos-rust

The home of all shared Rust resources for the Cosmos ecosystem.

cosmos-sdk icon cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:

deep_space icon deep_space

A lightweight, cross-compile friendly Cosmos client written in pure Rust.

gravity-bridge icon gravity-bridge

A CosmosSDK application for moving assets on and off of EVM based, POW chains

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.