Code Monkey home page Code Monkey logo

celestia-rollmint-docker's Introduction

Celestia lightnode and Rollmint rollup

This repository contains the code for the Celestia lightnode and Rollmint rollup.

In order to successfully launch, you'll have to:

  • build
  • launch celestia node
  • launch rollup

Building

Prerequisites

  • docker

Build

./app.js build

Celestia lightnode

The Celestia lightnode is a light client for the Celestia blockchain.

Running

./app.sh celestia

Rollmint rollup

The Rollmint rollup is a rollup for the Celestia blockchain.

Running

./app.sh rollup

Further optimizations

  • convert dockerfiles to builder patterns. This will reduce the size of the final images.
  • map folders to local folders, so we can edit the code locally and have it reflected in the container.

Caveats

  • The build scaffolds an entire blockchain using ignite. This is build step that takes a considerable amount of time.
  • The documentation states that before we can init the rollup, we need to do the following.
    • Before starting our rollup, we'll need to find and change FlagIAVLFastNode to FlagDisableIAVLFastNode:
    This is not necessary, as the flag is already set to FlagDisableIAVLFastNode in the config.toml file.
  • the celestia logs are filled with warnings. According to the devs, this is normal.

Necessary steps to get this running:

Accounts

When starting up the rollup, it complains about the following

  • "rpc error: code = NotFound desc = account celestia13ux04z9s7ex44kcsvnwja6644ns340xurgj5tp not found" attempt=13 module=BlockManager

In order to submit the data transactions containing the state of your rollup, you need to fund that account. Fund it by sending TIA to the address, or by requesting TIA on their discord (#mocha-faucet).

Block Visibility

When actively running the rollup, its state will be published to the mocha testnet. You can see the data being posted under the transactions subsection.

image

Arabica

In context of the following remark: rollkit/rollkit#667 (comment)

We did not have to apply the 3d change in the suggestion, as we are using the Mocha testnet instead of Arabica. Bear in mind that this needs to be done when using the arabica testnet.

celestia-rollmint-docker's People

Contributors

qkyrie avatar

Watchers

 avatar  avatar  avatar

Forkers

marek-new

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.