Koanprotocol Subgraphs repo. A decentralized protocol for automated token exchange on lisk, base and monad.
We welcome contributions to the Koan Protocol Subgraphs repository! Here's how you can get started:
- Node.js (v16 or later)
- pnpm (v7 or later)
- Git
Supported network Links: https://docs.goldsky.com/chains/supported-networks
-
Fork the repository
- Click the "Fork" button on the GitHub repository page
-
Clone your fork
git clone https://github.com/koan-protocol/subgraphs.git cd subgraphs cd [subgraph name]
-
Install dependencies
pnpm install
-
Create a new branch
git checkout -b "your-contribution-branch"
-
Make your changes to the codebase
-
Generate types and build the project
pnpm codegen pnpm build
-
Test your changes locally
pnpm test -
Deploy locally (if needed)
pnpm deploy goldsky subgraph deploy v3-amm-base-sepolia/1.0.0 --path . //for base-sepolia goldsky subgraph deploy v3-amm-lisk-sepolia/1.0.0 --path . //for lisk-sepolia
-
Stage your changes
git add . -
Commit your changes
git commit -m "Your descriptive commit message" -
Push to your fork
git push origin your-contribution-branch
-
Create a Pull Request
- Go to the original repository on GitHub
- Click "New Pull Request"
- Select your fork and branch
- Fill in the PR template with details about your changes
- Submit the PR
- Follow the existing code style in the repository
- Include tests for new functionality
- Update documentation as needed
If you have any questions or need assistance, please open an issue in the repository.