Welcome to the CarbonLedger documentation! This directory contains all guides, references, and resources for contributors and users.
Perfect for new contributors:
| Document | Description | Time |
|---|---|---|
| New Contributor Guide | Complete overview for first-time contributors | 5 min read |
| Quick Start Guide | Fastest path from zero to running tests | 15-25 min |
| Setup Checklist | Step-by-step verification checklist | 10 min |
In-depth documentation:
| Document | Description | Audience |
|---|---|---|
| Contributing Guide | Complete setup, workflow, and guidelines | All contributors |
| Troubleshooting Guide | Solutions to common issues | Everyone |
| Testnet Guide | Stellar testnet setup and usage | Developers |
Understanding the system:
| Document | Description | Audience |
|---|---|---|
| Architecture Decision Records | Why we made key technical decisions | Developers |
| Deployment Guide | Production deployment instructions | DevOps |
| TTL Cost Analysis | Soroban storage cost analysis | Developers |
| Verifier Onboarding | Guide for carbon verifiers | Verifiers |
| Document | Description | Audience |
|---|---|---|
| Carbon Methodology Reference | Supported methodologies, scoring rubric, and contract parameter mapping | All contributors |
Technical references:
| Document | Description | Audience |
|---|---|---|
| Projects API | Backend API endpoints | Frontend devs |
| Error Code Reference | All 23 contract error codes with causes, resolutions, and frontend mapping | Frontend devs, integrators |
- Read New Contributor Guide
- Follow Quick Start Guide
- Use Setup Checklist to verify
- Check Troubleshooting Guide
- Search GitHub Issues
- Ask in Discussions
- Read Testnet Guide
- Follow deployment steps
- Test contract interactions
- Read ADR Index
- Review specific decisions
- Check Main README
- Read Deployment Guide
- Review security checklist
- Follow deployment steps
- Use
SCREAMING_SNAKE_CASE.mdfor guides (e.g.,QUICK_START.md) - Use
kebab-case.mdfor technical docs (e.g.,deployment.md) - Use
ADR-NNN-title.mdfor architecture decisions
All guides should include:
- Clear title and description
- Table of contents (for long docs)
- Step-by-step instructions
- Code examples
- Troubleshooting section
- Links to related docs
# Always include comments
command --flag value # Explain what this does
# Show expected output
# Output: Success messageLink to related documentation:
- Use relative paths:
[Guide](GUIDE.md) - Link to specific sections:
[Section](GUIDE.md#section) - Reference external docs:
[Stellar Docs](https://developers.stellar.org)
-
Create the document:
touch docs/NEW_GUIDE.md
-
Follow the template:
- Title and description
- Table of contents
- Main content
- Examples
- Troubleshooting
- Related links
-
Update this index:
- Add to appropriate section
- Include description
- Specify audience
-
Link from other docs:
- Update Main README
- Update Contributing Guide
- Cross-reference related docs
-
Keep it current:
- Update when code changes
- Verify commands still work
- Check links aren't broken
-
Test instructions:
- Follow your own guide
- Verify on clean machine
- Test on multiple platforms
-
Get feedback:
- Ask for reviews
- Watch for issues
- Update based on questions
-
Week 1: Setup
- Read New Contributor Guide
- Complete Quick Start
- Run all tests successfully
- Deploy to testnet
-
Week 2: Understanding
- Read Architecture Decisions
- Review smart contract code
- Understand backend API
- Explore frontend components
-
Week 3: Contributing
- Pick a good first issue
- Make your first PR
- Get code reviewed
- Iterate and merge
-
Day 1: Setup
- Quick setup (15-20 min)
- Review architecture
- Deploy to testnet
-
Day 2: Deep Dive
- Read relevant ADRs
- Review contract code
- Test key features
-
Day 3: Contribute
- Pick an issue
- Submit PR
- Engage with community
- ✅ New contributor onboarding
- ✅ Quick start (< 30 min)
- ✅ Detailed setup guide
- ✅ Troubleshooting reference
- ✅ Testnet setup
- ✅ Architecture decisions
- ✅ API documentation
- ✅ Deployment guide
- ⏳ Security best practices
- ⏳ Performance optimization
- ⏳ Monitoring and observability
- ⏳ Backup and recovery
- ⏳ Upgrade procedures
- ⏳ Integration testing guide
Want to help? Pick a missing guide and create it!
Documentation contributions are highly valued!
- Fix typos and grammar
- Add missing steps
- Improve clarity
- Add examples
- Update outdated info
- Create new guides
-
Edit directly:
git checkout -b docs/improve-quick-start # Edit docs/QUICK_START.md git commit -m "docs: clarify database setup steps" git push origin docs/improve-quick-start
-
Follow style guide:
- Use clear, concise language
- Include code examples
- Add troubleshooting tips
- Link to related docs
-
Test your changes:
- Follow your own instructions
- Verify on clean machine
- Check all links work
-
Use GitHub search:
- Search across all docs
- Filter by file type
- Search in code
-
Check the index:
- This README
- Main README
- Contributing Guide
-
Browse by topic:
- Setup: Quick Start, Contributing
- Issues: Troubleshooting
- Architecture: ADRs
- Deployment: Deployment Guide
- Search GitHub Issues
- Ask in Discussions
- Check Stellar Docs
Before submitting documentation:
- Spell-checked and grammar-checked
- Code examples tested
- Links verified
- Screenshots current (if any)
- Cross-references added
- Index updated
- Follows style guide
- Tested on clean machine
- Onboard new contributors in < 30 minutes
- Reduce setup issues by 80%
- Answer common questions proactively
- Make architecture decisions transparent
- Enable self-service troubleshooting
- Time to first successful test run
- Number of setup-related issues
- Documentation feedback scores
- Contributor retention rate
Thank you for reading and contributing to our documentation! Clear docs make the project accessible to everyone.
Questions? Ask in Discussions
Found an issue? Report it
Want to help? Pick a doc to improve and submit a PR!
Last Updated: 2024
Maintained By: CarbonLedger Contributors