Skip to content

A research-only integration of Sovereign with Celestia

License

Notifications You must be signed in to change notification settings

rootulp/Jupiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jupiter

Jupiter is a research-only adapter making Celestia compatible with the Sovereign SDK. None of its code is suitable for production use. It contains known security flaws and numerous inefficiencies.

Celestia Integration

The current version of Jupiter runs against Celestia-node version v0.5.0-rc5. This is the version used on the arabica testnet as of Dec 1, 2022.

Getting Started

Compile Jupiter and its Protobuf Dependencies

  1. Clone this repository. cd jupiter
  2. Clone the celestia-app, celestia-core, and cosmos-sdk repositories (git clone --depth 100 {repo_name})
  3. Install the buf Protobuf management tool (brew install bufbuild/buf/buf)
  4. Install the prost plugin for the Protobuf compiler (which generates Rust code from .proto files): cargo install protoc-gen-prost
  5. Build the Celestia-app protobuf definitions: cd celestia-app, cp ../example.buf.gen.prost.yaml buf.gen.prost.yaml, and buf generate --template buf.gen.prost.yaml
  6. Follow the same steps to generate protobufs in the cosmos-sdk/proto and celestia-core repos.

The repository should now compile with cargo build!

Set up Celestia

Follow the steps here to set up a Celestia light node running on the Arabica testnet.

Use the celestia version command to verify that your new light client is running Celestia version v0.5.0-rc5. If not, the Juptier codebase may require changes to match upcoming tweaks to Celestia's data format.

Jupiter assumes that the local Celestia node is running its RPC server on port 26659, so use something like the following command to start your Celestia node: celestia light start --core.ip https://limani.celestia-devops.dev --gateway --gateway.port 26659.

Once your Celestia node is up and running, simply cargo run to test out the prototype.

About

A research-only integration of Sovereign with Celestia

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%