Inspiration

Ethereum's turing completeness is what made blockchain interesting. ChainLink's ability to connect to the outside world is what made blockchain exciting! With all these new possibilities, I am constantly thinking about all the new possibilities that come with IoT, ChainLink and blockchain. The easiest application I could think of, was therefore to use some sensors that already exist and build something nice. The future might be democratic and decentralized, if we use these tools now to build free platforms that are open for anyone.

What it does

On Quake Vault, insurers can stake their money to provide liquidity in case an earthquake happens. The insured can make a claim, if there is a strong earthquake nearby to cover their losses.

How I built it

I used the Ionic framework to build a simple PWA that connects to the blockchain via an RPC. The smart contract is the core piece and tracks the funds of all users. No need for any database, as it is to designed to work permissionless.

Challenges I ran into

Solidity development is a lot more time-consuming than initially thought. I was not able to finish the development in time and I am currently working on determining a fair staking reward calculation method.

Accomplishments that I'm proud of

I am proud of being able to build all the components myself and that I was able to generate individual query strings for every transaction, because that is the core requirement for the whole contract to work properly.

What I learned

I learned a lot and it was super fun and exciting! Some minor things about the UI framework Ionic, but more importantly about solidity development (awesome videos!). I learned about testing with foundry, about important contracts from openzeppelin to inherit from and most importantly that solidity does not support any floating points, advanced string manipulations or linked lists ;)

What's next for Quake Vault

I will finish the smart contract and properly test it. It will be then rather easy to deploy it to Rinkeby to try out the UI a bit and probably use Moralis to make life a bit easier, if I can use it to connect a bit easier to Web3 without losing important properties. For the far future I could maybe even see myself writing a generic contract with which anyone could write quickly insurance based on whatever API they desire. If I win, I will work on it until I can deploy it. Otherwise, I will have to take some holidays first and will work on it later in autumn when I'm bored.

Built With

Share this project:

Updates