Skip to content

pyth-network/pyth-lazer-public

Repository files navigation

Pyth Pro contracts, SDKs, and tools

Repository Setup

This repository contains a mix of Rust and TypeScript code managed in a single workspace.

The project uses:

  • Rust via rustup and cargo
  • mise for JavaScript/TypeScript runtime/tool version management
  • bun for JavaScript/TypeScript package management
  • turbo for workspace task orchestration

Prerequisites

Install the required tools from their official websites:

Follow the installation instructions provided on those websites, then restart your shell.

After installation, verify the tools are available:

rustup --version
cargo --version
rustc --version
mise --version

Project bootstrap

From the repository root, install all configured tools:

mise install

This installs the runtime versions declared in the repository (such as Bun).

Install JavaScript / TypeScript workspace dependencies:

bun install

Common development commands

Build everything

cargo build
bun turbo run build

Run tests

cargo test
bun turbo run test

Run linters and checks

cargo clippy --all-targets
cargo fmt --check
bun turbo run lint

About

Pyth Pro SDKs and apps

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors