Skip to content

Once-DeFi-Insurance/dapp

Repository files navigation

Once Defi Insurance

🏗 Dapp Build using -Scaffold-Ethereum

NFT Marketplace: OnceTokenMarketplace.sol - 0x2ad359e43F43D01322f6d3aEea546E7e0f4709E1
TIME token: TimeToken.sol - 0xc383deFA4c1B21B841e19D244b5fc9609Fc097D8
TIME staking: Stakeable.sol
CustomURL RedStone: CustomURL.sol - 0xe7696F9Dbbd79c255BF50c3731560ABc5a4b5B1D

ABIS: https://github.com/Once-DeFi-Insurance/dapp/tree/feature-bruno/packages/ABIs

🏄‍♂️ Quick Start

Prerequisites: Node (v16 LTS) plus Yarn and Git

clone/fork

git clone https://github.com/Once-DeFi-Insurance/dapp

install and start your 👷‍ Hardhat chain:

cd dapp
yarn install
yarn chain

in a second terminal window, start your 📱 frontend:

cd dapp
yarn start

in a third terminal window, 🛰 deploy your contract:

cd dapp
yarn deploy

📱 Open http://localhost:3000 to see the app