Skip to content

YasuhiroKatsura/dip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Insurance Platform Demo

This works on Arbitrum Goerli.

Start Project

$ yarn install

Test Contract

$ npx hardhat test    # test/*
$ npx hardhat test test/product01.ts    # test/product01.ts

Deploy Contract

$ npx hardhat run scripts/deploy.ts    # to default-set network (hardhat network)
$ npx hardhat run scripts/deploy.ts --network goerli    # to Eth Goerli

Varify contract with an Exploler

$ npx hardhat verify --network goerli <contract address>    # varify with Etherscan
$ npx hardhat verify --network arbitrumGoerli <contract address>    # varify with Arbiscan

Run Contract Method on Test Net

$ npx hardhat run scripts/send_premium.ts 

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors