Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 2.96 KB

README.md

File metadata and controls

35 lines (20 loc) · 2.96 KB

inSURE - A Decentralized Travel Insurance App on Solana

Welcome to the Decentralized Travel Insurance App! This platform leverages Solana’s blockchain technology to offer a seamless and transparent way for users to purchase and manage travel insurance policies. Here’s a breakdown of how our app works and the features it offers:

How It Works

1. Purchasing a Policy

Users can purchase travel insurance easily through our frontend interface. Just enter an Event ID (like a flight number) and the amount of SOL you want to insure. When you click the "Purchase Policy" button, the app communicates with our Solana smart contract. The contract creates a new insurance policy, associating it with your wallet and the specified event ID.

2. Policy Conditions

Each insurance policy comes with predefined conditions for making a claim. These conditions are typically time-based (e.g., claims can be made if an event occurs after a specific date/time). The smart contract is designed to monitor or respond to off-chain data (such as from an oracle) to determine whether these conditions are met.

3. Claiming the Insurance

When conditions are met (e.g., if a flight is delayed beyond a certain time), you can claim your insurance directly through the app. Enter the Event ID and click "Claim Policy." The smart contract will verify the conditions and, if everything checks out, transfer the insured amount from the contract to your wallet, marking the policy as claimed.

4. Solana’s Unique Features

  • Low Transaction Costs: Our app takes advantage of Solana’s low transaction fees, making it cost-effective for users to purchase and claim insurance.
  • High Throughput: Solana’s high transaction throughput ensures that all operations are processed quickly and efficiently, ensuring a smooth user experience.
  • Enhanced Security: Solana’s decentralized nature guarantees that all transactions and insurance policies are securely recorded on the blockchain, minimizing risks of fraud or manipulation.

5. Devnet Environment

Our app is deployed on Solana’s Devnet, which simulates the blockchain environment for testing purposes. Users interact with the app using test SOL tokens, allowing you to purchase and claim insurance policies without using real money. This setup provides a safe environment for testing and ensures that everything works as intended before going live.

Getting Started

  1. Connect Your Wallet: Use the wallet button in the app to connect your Solana wallet.
  2. Purchase Insurance: Enter the event details and the amount of SOL you want to insure, then click "Purchase Policy."
  3. Claim Insurance: If the conditions are met, enter the event ID and click "Claim Policy" to process your claim.

We’re excited to offer a practical, blockchain-based solution for travel insurance that combines transparency, efficiency, and user-friendliness. Enjoy using our app and feel free to reach out with any questions or feedback!