Thanks for your interest in contributing! This document covers everything you need to get started.
git clone https://github.com/StrobeLabs/perpcity-sdk.git
cd perpcity-sdk
pnpm install# Build
pnpm build
# Run unit tests
pnpm test:unit
# Run integration tests (requires Arbitrum Sepolia RPC)
pnpm test:integration
# Lint
pnpm lint
# Format
pnpm format
# Full CI check (build + test + typecheck + lint)
pnpm ci- Fork the repo and create a branch from
main - Write your code and add tests for new functionality
- Run
pnpm cito verify everything passes - Open a PR against
main
- Follow Biome formatting and linting rules (enforced by CI)
- Use TypeScript strict mode
- Write tests for new functionality using Vitest
- Use the bug report template for bugs
- Use the feature request template for new features
- Include SDK version, Node/Bun version, and steps to reproduce
By contributing, you agree that your contributions will be licensed under the MIT License.