The current scenario - Critical aspects
The insurance industry is extremely complex and all applicable regulatory processes necessitate the extensive involvement of economic and human resources:
- Actuarial processes require the analysis of a significant amount of data, often fragmented across different databases and difficult to reconcile.
- Claims are assessed and settled using largely manual processes, lacking common standards within the insurance system.
- All procedures and contracts associated with insurance policies are often characterised by very little transparency for end customers, favouring an increase in disputes.
The use cases developed
A platform was developed which, by integrating with the Ethereum blockchain, facilitates the setting and enforcement of smart contracts for travel insurance.
Through front-end web development users can:
- Select the destination and dates of travel.
- Define the policy conditions (e.g. a refund if it rains on at least three days during the trip).
- Pay the premium.
By integrating with the Ethereum blockchain the platform:
- Generates the smart contract with the corresponding policy rules, which is published on the blockchain. The user is able to verify the existence and accuracy of the rules, which cannot be modified.
-
At the end of the trip the smart contract is activated, accessing the meteorological data available on weather websites through a verified “oracle” and checking whether the reimbursement conditions have been met.
The solution architecture
The application architecture is implemented using the following components:
- A modern HTML 5 and JavaScript web front-end, based on the AngularJS technology.
- A REST API business logic layer designed using the Express.js framework and running on a Node.js server that interfaces with the Ethereum blockchain via the JSON-RPC protocol.
- A persistence layer consisting of the MongoDB NoSQL database.