Giter Club home page Giter Club logo

multichain-testnet's Introduction

multichain-testnet

Multichain Testnet which has a weak correlation with the mainnet

Motivation - https://www.questbook.app/explore_grants/about_grant/?grantId=0x78bec6ea50fa2b2cef421e558263b348bdea5af8&chainId=10

Setup

Get Mainnet nodes

Create account on Alchemy and have your API keys ready

Docker

Install Docker - https://docs.docker.com/get-docker/

Repo Setup

$ git clone --recurse-submodules -j8 https://github.com/zklabs-hq/multichain-testnet.git

$ cd multichain-testnet

$ vim .env

.env

Create a .env file at the root of the project folder, using your favourite text editor and copy the following code in the file

HOST=0.0.0.0
SVC_PORT=3000

ETHEREUM_MAINNET_ARCHIVE_NODE=<RPC for Ethereum Mainnet archive node>
ETHEREUM_CHAIN_ID=31337
ETHEREUM_PORT=8545

OPTIMISM_MAINNET_ARCHIVE_NODE=<RPC for Optimism Mainnet archive node>
OPTIMISM_CHAIN_ID=31338
OPTIMISM_PORT=8550

ARBITRUM_MAINNET_ARCHIVE_NODE=<RPC for Arbitrum Mainnet archive node>
ARBITRUM_CHAIN_ID=31339
ARBITRUM_PORT=8555

POLYGON_MAINNET_ARCHIVE_NODE=<RPC for Polygon Mainnet archive node>
POLYGON_CHAIN_ID=31340
POLYGON_PORT=8560

Running Services

Local Testnet

$ docker-compose up

Block Explorer

Start this at PORT 3001

$ cd expedition

$ npm install

$ npm start

UI (Faucet)

$ cd ui/app

$ npm install

$ npm start

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.