First off, thank you for considering contributing to Solana Agent Kit! 🎉 Your contributions are greatly appreciated.
- Contributing to Solana Agent Kit
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to aryan@sendai.fun.
Great! Opening an issue is the best way to help us improve. Here's how you can report a bug:
- Search the existing issues to make sure it hasn't been reported.
- Open a new issue and fill out the template with as much information as possible.
- Provide reproduction steps if applicable.
We welcome your ideas for improving Solana Agent Kit! To suggest an enhancement:
- Search the existing issues to see if it's already been suggested.
- Open a new issue and describe your idea in detail.
Unsure where to start? You can help out by:
- Fixing simple bugs.
- Improving documentation.
- Adding tests.
Check out the Good First Issues to get started!
- Fork the repository.
- Create a new branch for your feature or bugfix.
git checkout -b feature/your-feature-name
- Commit your changes with clear and descriptive messages.
- Push to your fork.
git push origin feature/your-feature-name
- Open a Pull Request against the
main
branch of this repository.
- Language: TypeScript
- Formatting: Follow the existing codebase formatting. Consider using Prettier for consistent code formatting.
- Code Quality: Adhere to the code quality rules defined in
.eslintrc
. Ensure all checks pass before submitting a PR.
Use Conventional Commits for your commit messages. Examples:
feat: add ability to deploy new SPL token
fix: handle edge case when deploying collection
docs: update README with new usage examples
- Variables and Functions:
camelCase
- Classes and Types:
PascalCase
- Constants:
UPPER_SNAKE_CASE
- Node.js: v23.x or higher
- npm: v10.x or higher
- Git: Installed and configured
- Clone the repository:
git clone https://github.com/yourusername/solana-agent-kit.git
- Navigate to the project directory:
cd solana-agent-kit
- Install dependencies:
pnpm install
To compile the TypeScript code:
pnpm run build
To execute the test suite:
pnpm run test
To generate the project documentation using TypeDoc:
npm run docs
The documentation will be available in the docs/
directory.
This toolkit handles sensitive information such as private keys and API keys. Ensure you never commit .env
files or any sensitive data. Review the .gitignore
to confirm that sensitive files are excluded.
For security vulnerabilities, please follow the responsible disclosure process.
This project is licensed under the ISC License.