webelf101 / kingofthefools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

King of the fools

You can deposit ether into a smart contract, as long as it's at least 1.5x more money than the previous person. If you do that, you become "King of the fools", and your money gets sent back to the previous person.

Smart contract

Try running some of the following tasks:

(You don't need to deploy the contract for UI.)

npx hardhat test
npx hardhat run scripts/deploy.ts --network goerli

UI

cd www
npm install
npm start

About


Languages

Language:JavaScript 67.8%Language:TypeScript 12.8%Language:Solidity 9.1%Language:HTML 8.5%Language:CSS 1.9%