Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.32 KB

File metadata and controls

30 lines (23 loc) · 1.32 KB

AGENTS.md

Pyth Crosschain is a monorepo for the components that make up the Pyth protocols. The primary languages are Rust (Hermes, Fortuna, Argus, on-chain SDKs, and other services) and TypeScript (SDKs, web apps, tooling).

Standards

Read standards/AGENTS.md before writing code — it is the primary entry point for how we write code here. It indexes the cross-cutting style, testing, services, and review standards, plus the Rust and TypeScript clusters.

Tooling

  • Tool versions are pinned in .tool-versions (Node, pnpm, Rust, Python) and rust-toolchain.toml. If you use mise, it will pick these up automatically.
  • TypeScript: pnpm install, then Turborepo tasks such as pnpm turbo build / pnpm turbo test. pnpm turbo fix formats and lints (Biome).
  • Rust: cargo build, cargo test, cargo fmt, cargo clippy --all-targets -- --deny warnings.
  • pre-commit: hooks are enforced in CI. Run them locally with pre-commit run --from-ref origin/main --to-ref HEAD.

Pull requests

Use Conventional Commits for commit messages and PR titles, and bump package versions per SemVer when changing a published package.