Skip to content

Instantly share code, notes, and snippets.

View resilient859985's full-sized avatar

resilient859985

View GitHub Profile
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract InsuranceSmartContract {
// The authorized insurer who deploys the contract
address public insurer;
// Struct to hold policy details
struct Policy {
address policyholder;
@resilient859985
resilient859985 / .prettierrc.json
Created February 25, 2026 17:15
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.31+commit.fd3a2265.js&optimize=undefined&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
@resilient859985
resilient859985 / .prettierrc.json
Created February 25, 2026 17:14
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.31+commit.fd3a2265.js&optimize=undefined&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false