Thank you for your interest in contributing to StellarStream! This guide will help you get started with our development process.
- Clone the repository
- Install dependencies:
npm run install:all - Run the development environment:
npm run dev
Run npm run test in the backend/ directory.
Run cargo test in the contracts/ directory.
We use insta for snapshot testing of contract events.
Snapshot files are located in contracts/test_snapshots/.
To update snapshots: If you change event structures and need to update the snapshots, run:
cargo insta reviewThis will allow you to interactively review and accept changes to the snapshots.
- Create a feature branch from
main. - Ensure all tests pass.
- Update documentation if necessary.
- Submit a PR and wait for review.