🌐 Languages / Idiomas: English | Português (Brasil)
Bible Contract (contrato_biblia) is a Rust library built to deploy a decentralized smart contract on the Stellar Soroban platform. It manages text authenticity using Merkle Trees per Version, immutable reading proofs, a social community feed of reflections, reward tokens (TAL), and on-chain Soulbound credentials.
- 📌 Architectural Context (
docs/CONTEXT.md) - 🛠️ Developer Guide in English (
docs/DEVELOPER_GUIDE.md) - 🛠️ Guia do Desenvolvedor em Português (
docs/DEVELOPER_GUIDE_PT_BR.md)
✅ Text Authenticity via Merkle Tree: Stores 1 Merkle Root SHA-256 (32 bytes) per complete Bible version (ARC, ACF, KJV, ASV, RVA), reducing Soroban storage costs by 99.9%.
✅ Off-Chain Automatic Ingestion: High-performance Rust CLI tool (scripts/ingestor) to process Public Domain datasets and generate cryptographic proofs.
✅ Proof of Reading: Immutable on-chain reading progress tracking system on Stellar.
✅ Reward System: Tracks reading progress and emits events (for off-chain backend processing) to distribute tokens (TAL) upon completing a book.
✅ On-Chain Certificates & Categorization: Canonical structure for all 66 Bible books and issuance of non-transferable Soulbound Credentials (Books, Categories, Testaments, or Complete Bible).
✅ Personal Reflections: Users can write and store public or private reflections on Bible passages.
✅ Social Engagement: Like and comment system to promote community interaction.
✅ Comment Management: Users can add and delete their own comments.
✅ Moderation: Status system for reflection management and moderation.
✅ Comprehensive Tests: High unit test coverage across all major features (8/8 passing).
✅ Type-Safe Documentation: Fully documented Rust code (#![no_std]) with strongly typed structures.
Add this library to your Rust / Soroban project:
[dependencies]
contrato_biblia = "1.1.1"Or via CLI:
cargo add contrato_biblia# Run unit test suite (8/8 passing)
cargo test
# Build WebAssembly contract
stellar contract build
# Generate Merkle Trees and Cryptographic Proofs via Rust CLI
cargo run --manifest-path scripts/ingestor/Cargo.tomlThis project is licensed under the MIT License - see the LICENSE file for details.