Thanks for your interest in contributing! This guide covers how to set up a development environment, run tests, and submit pull requests.
- Git with signed commits enabled
- See each implementation's README for chain-specific tooling requirements:
- Fork this repository and clone your fork:
git clone https://github.com/<your-username>/stable-swapper.git
cd stable-swapper- Initialize submodules:
git submodule update --init --recursive- Navigate to the implementation you're working on and follow its README for build and test instructions.
stable-swapper/
├── evm/ # EVM (Solidity) implementation
├── solana/ # SVM (Rust / Anchor) implementation
├── LICENSE
├── SECURITY.md
├── CONTRIBUTING.md
└── .github/
├── workflows/
└── PULL_REQUEST_TEMPLATE.md
Each implementation directory is self-contained with its own source, tests, and README.
- Create a feature branch from
main:
git checkout -b your-feature-name- Make your changes and ensure all checks pass (build, tests, formatting).
- Commit with a signed commit.
- Push to your fork and open a pull request against
main.
- Fill out the pull request template completely.
- Keep pull requests focused -- one logical change per PR.
- Include tests for new functionality or bug fixes.
- Ensure all CI checks pass before requesting review.
- All commits must be signed.
- Open a GitHub Issue to report bugs or request features.
- For security vulnerabilities, follow the process in SECURITY.md -- do not file a public issue.