Skip to content

Tetech-Labs/safiguard-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SafiGuard Documentation

Welcome to the official documentation for SafiGuard — a parametric micro-insurance platform built on Stellar and Soroban.

SafiGuard provides automated crop and weather insurance for underserved markets in Africa and Latin America. By leveraging blockchain technology, decentralized oracles, and parametric triggers, SafiGuard delivers transparent, affordable, and instant insurance payouts to smallholder farmers and communities most vulnerable to climate change.


Documentation Structure

Section Description
Architecture System design, smart contracts, oracle, actuarial model, security
User Guides Getting started, buying insurance, risk pools, deployment, oracle operations
API Reference REST API, smart contract API, SDK reference
Glossary Key terms and definitions
Diagrams Mermaid diagrams for system architecture and data flows
Templates ADR and RFC templates for contributors

Quick Links

Architecture

User Guides

API Reference

Resources

  • Glossary — 25+ key terms defined
  • Diagrams — Visual system architecture and data flows
  • Templates — ADR and RFC templates

Repository Map

SafiGuard is organized across five repositories:

Repository Description Tech Stack
safiguard-contracts Soroban smart contracts Rust, Soroban SDK
safiguard-frontend Web application React, TypeScript, Freighter
safiguard-backend API server and oracle Node.js, Express, PostgreSQL
safiguard-sdk Developer SDK and CLI TypeScript, Python
safiguard-docs Documentation (this repo) Markdown, Mermaid

How to Contribute to Docs

We welcome contributions to improve SafiGuard's documentation. Whether it is fixing a typo, adding a missing section, or improving an explanation, your contributions help the entire community.

Quick Contribution Steps

  1. Fork this repository
  2. Clone your fork locally:
    git clone https://github.com/<your-username>/safiguard-docs.git
    cd safiguard-docs
  3. Create a branch for your changes:
    git checkout -b docs/your-improvement
  4. Make your changes following our Contributing Guide
  5. Submit a Pull Request with a clear description of your changes

Documentation Standards

  • Use clear, concise language
  • Include code examples where helpful
  • Add Mermaid diagrams for complex flows
  • Follow existing formatting conventions
  • Test all code snippets before submitting

For detailed contribution guidelines, see CONTRIBUTING.md.


Building the Docs Locally

This documentation is written in Markdown and can be viewed directly on GitHub. For local development:

# Install markdownlint for linting
npm install -g markdownlint-cli

# Lint all markdown files
markdownlint 'docs/**/*.md' '*.md'

# Optional: Use a local Markdown preview tool
npx serve .

License

This documentation is licensed under the MIT License.

Copyright (c) 2025 Tetech-Labs.


Contact


SafiGuard — Protecting livelihoods through decentralized parametric insurance.

About

Comprehensive documentation for the SafiGuard platform. Covers architecture overview, smart contract specifications, REST API reference, TypeScript/Python SDK guides, CLI usage, deployment instructions, oracle integration patterns, actuarial methodology, and contributor onboarding. Built for developers, integrators, and protocol participants.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors