GithubHelp home page GithubHelp logo

orbit-setup-script's Introduction

orbit-setup-script

These scripts will help you fund newly generated batch-poster and validator addresses, configure an Orbit chain, and deploy bridge contracts on both L2 and L3 chains.

Instructions

Once you’ve downloaded both config files from the Orbit Deployment UI, please follow the steps below to complete local deployment of your Orbit chain. For more details and step-by-step instructions, check out the documentation.

  1. Clone the https://github.com/OffchainLabs/orbit-setup-script repository, and run yarn install. Then, move both the nodeConfig.json and orbitSetupScriptConfig.json files into the config directory within the cloned repository
  2. Launch Docker, and in the base directory, run docker-compose up -d. This will launch the node with a public RPC reachable at http://localhost:8449/  and a corresponding BlockScout explorer instance, viewable at http://localhost:4000/
  3. Then, add the private key for the wallet you used to deploy the rollup contracts earlier in the following command, and run it: PRIVATE_KEY="0xYourPrivateKey" L2_RPC_URL="<https://goerli-rollup.arbitrum.io/rpc>" L3_RPC_URL="<[http://localhost:8449](http://localhost:8449/)>" yarn run setup
  4. The Orbit chain is now up. You can find all information about the newly deployed chain in the outputInfo.json file which is created in the main directory of script folder
  5. Optionally, to track logs, run the following command within the base directory: docker-compose logs -f nitro

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.