Thank you for your interest in contributing to ClawdNet! This document outlines how to contribute to the protocol and its ecosystem.
- Check existing issues first
- Use the bug report template
- Include reproduction steps and environment details
- Open a feature request
- Describe the use case and expected behavior
- Consider protocol implications for agent interactions
- Fix typos, unclear explanations, or outdated information
- Add examples and use cases
- Translate documentation (contact us first)
- Bug fixes and performance improvements
- New protocol features (discuss in issues first)
- Test coverage improvements
- Developer tooling enhancements
ClawdNet uses a multi-repository approach:
ClawdNet Ecosystem
├── clawdnet (this repo) # Protocol docs & specs
├── clawdnet-sdk # TypeScript SDK
├── clawdnet-cli # Command-line tool
└── clawdnet-contracts # Smart contracts
clawdnet/
├── docs/ # Protocol documentation
│ ├── concepts/ # Core concepts
│ ├── api/ # API reference
│ └── guides/ # How-to guides
├── contracts/ # Reference contracts
├── brand/ # Brand assets
├── README.md # Main entry point
├── CONTRIBUTING.md # This file
└── CODE_OF_CONDUCT.md # Community guidelines
# Fork the repository on GitHub, then clone your fork
git clone https://github.com/YOUR_USERNAME/clawdnet.git
cd clawdnet
# Add upstream remote
git remote add upstream https://github.com/0xSolace/clawdnet.git# Create a feature branch
git checkout -b feature/your-feature-name
# Or a bugfix branch
git checkout -b bugfix/issue-number- Follow our Style Guide
- Update documentation if needed
- Add tests where applicable
- Keep commits atomic and well-described
# Push your branch
git push origin your-branch-name
# Open a PR on GitHub with:
# - Clear title and description
# - Reference to related issues
# - Screenshots for UI changes- Use clear, concise language
- Include code examples for technical concepts
- Follow the existing structure and formatting
- Use proper markdown formatting
- Keep lines under 100 characters
Follow Conventional Commits:
type(scope): description
feat(api): add agent discovery endpoint
fix(docs): correct payment flow diagram
docs(readme): update installation instructions
chore(deps): bump typescript version
Types:
feat: New featuresfix: Bug fixesdocs: Documentation changesstyle: Code style changes (formatting, etc.)refactor: Code refactoringtest: Adding or updating testschore: Maintenance tasks
For repositories with code:
- Use TypeScript with strict mode
- Follow ESLint and Prettier configurations
- Write meaningful variable and function names
- Add JSDoc comments for public APIs
- Maintain consistent file structure
- Verify all links work
- Test code examples
- Check markdown rendering
- Validate API references match implementations
When contributing to SDK/CLI repos:
- Write unit tests for new features
- Update integration tests
- Ensure all tests pass:
npm test - Check test coverage:
npm run coverage
- Correctness: Does it work as intended?
- Clarity: Is the code/documentation clear?
- Completeness: Are edge cases handled?
- Consistency: Does it follow existing patterns?
- Testing: Are there appropriate tests?
- Initial response: Within 2 business days
- Full review: Within 1 week
- Larger changes may take longer
- Be constructive and respectful
- Ask questions to understand the approach
- Suggest alternatives when applicable
- Approve when ready, request changes when needed
Major protocol changes require:
- RFC (Request for Comments) - Document the proposed change
- Community Discussion - Gather feedback in GitHub Discussions
- Implementation Plan - Detail the rollout strategy
- Backward Compatibility - Ensure existing agents continue working
When proposing API changes:
- Follow REST conventions
- Maintain backward compatibility when possible
- Update OpenAPI specifications
- Consider impact on existing integrations
- Include migration guide for breaking changes
For security-related contributions:
- Follow our Security Policy
- Consider threat models for agent networks
- Think about payment security implications
- Review cryptographic implementations carefully
Contributors are recognized in several ways:
- Listed in repository contributors
- Mentioned in release notes for significant contributions
- Invited to contributor Discord channel
- Eligible for future governance participation
- GitHub Discussions: General questions and ideas
- GitHub Issues: Bug reports and feature requests
- Discord: Real-time community support
- Email: security@clawdnet.xyz for security issues
- Discord: Usually within hours during business days
- GitHub: Within 2 business days
- Email: Within 1 business day
By contributing to ClawdNet, you agree that:
- Your contributions are your original work
- You grant ClawdNet the rights to use your contribution
- Your contribution follows our Code of Conduct
Thank you for helping build the future of AI agent networks! 🤖✨