Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Crop Insurance Automation Smart Contract

A decentralized parametric crop insurance system built with Clarity for the Stacks blockchain. Automates policy creation, claim processing, and payouts based on weather conditions without intermediaries.

Features

  • Parametric Insurance: Automatic payouts triggered by weather thresholds (rainfall/temperature)
  • Oracle-Verified Claims: Decentralized oracle network validates weather data
  • Instant Settlements: Smart contract executes payouts immediately upon claim approval
  • Transparent Operations: All policies and claims recorded immutably on-chain
  • Flexible Policies: Customizable coverage, duration, and weather parameters

Quick Start

Deploy Contract

```bash clarinet check stx deploy_contract crop-insurance contracts/crop-insurance.clar --testnet ```

Basic Workflow

1. Owner funds contract:

(contract-call? .crop-insurance fund-contract u100000000)

About

This smart contract enables farmers to purchase parametric crop insurance policies that automatically trigger payouts based on predefined weather conditions (rainfall and temperature thresholds).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors