jito-foundation / restaking

https://docs.restaking.jito.network/
Other
54 stars 5 forks source link

Jito Staking Manager (JSM)

Build Status License codecov PRs Welcome

Jito Restaking is a next-generation restaking platform for Solana and SVM environments.

This project is currently under development and is not yet ready for production use. Expect breaking changes.

Table of Contents

Features

Installation

git clone https://github.com/jito-foundation/restaking.git
cd restaking
cargo-build-sbf

Usage

Building the software

cargo-build-sbf

Building the IDLs and client code

# Build the shank CLI tool
cargo b --release -p jito-shank-cli && ./target/release/jito-shank-cli
# Generate the client code
yarn generate-clients
# Rebuild the entire project
cargo b --release

Running Tests

If you haven't installed cargo-nextest yet, it's recommended to install it. You find the installation instructions here.

Outside of SVM

cargo nextest run

Testing using the SVM environment

cargo-build-sbf && SBF_OUT_DIR=$(pwd)/target/sbf-solana-solana/release cargo nextest run --all-features

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the Business Source License 1.1 - see the LICENSE file for details.