Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.14 KB

File metadata and controls

54 lines (40 loc) · 1.14 KB

Contributing

Thanks for your interest in contributing to the Jupiter Perpetuals SDK!

Getting Started

  1. Clone the repository:

    git clone https://github.com/thisissamridh/juptier-perps-sdk.git
    cd juptier-perps-sdk
  2. Install dependencies:

    npm install
  3. Build the project:

    npx tsc
  4. Run tests:

    npx tsx tests/integration-test.ts

Development Workflow

  • Create a new branch for your feature: git checkout -b feature/my-feature
  • Make your changes
  • Run type checks: npx tsc --noEmit
  • Run tests to ensure nothing breaks
  • Commit with clear messages
  • Push and open a pull request

Code Style

  • Use TypeScript for all code
  • Follow existing patterns and naming conventions
  • Add JSDoc comments to exported functions and classes
  • Keep functions focused and modular

Reporting Issues

Please open an issue on GitHub describing:

  • What you're trying to do
  • What went wrong
  • Steps to reproduce
  • Your environment (Node version, OS, etc.)

License

By contributing, you agree that your contributions will be licensed under the MIT License.