└── Lottery-Blockchain-main ├── .eslintrc copy.json ├── .eslintrc.json ├── .gitignore ├── README.md ├── components └── NavBar │ └── Navbar.tsx ├── contracts ├── Raffle.sol └── testMocks │ ├── VRFConsumerBaseV2.sol │ ├── VRFCoordinatorV2Mock.sol │ └── interfaces │ ├── LinkTokenInterface.sol │ └── VRFCoordinatorV2Interface.sol ├── deploy ├── 00-deploy-mocks.ts └── 01-deploy-Raffle.ts ├── hardhat.config.ts ├── helper-hardhat-config.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── _app.tsx ├── api │ └── hello.js └── index.tsx ├── postcss.config.js ├── public ├── favicon.ico └── vercel.svg ├── styles ├── Home.module.css └── globals.css ├── tailwind.config.cjs ├── test ├── stage │ └── Raffle.staging.test.ts └── unit │ └── Raffle.unit.test.ts ├── tsconfig.json ├── utils └── verify.ts └── yarn.lock /Lottery-Blockchain-main/.eslintrc copy.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /Lottery-Blockchain-main/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /Lottery-Blockchain-main/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/.gitignore -------------------------------------------------------------------------------- /Lottery-Blockchain-main/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/README.md -------------------------------------------------------------------------------- /Lottery-Blockchain-main/components/NavBar/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/components/NavBar/Navbar.tsx -------------------------------------------------------------------------------- /Lottery-Blockchain-main/contracts/Raffle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/contracts/Raffle.sol -------------------------------------------------------------------------------- /Lottery-Blockchain-main/contracts/testMocks/VRFConsumerBaseV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/contracts/testMocks/VRFConsumerBaseV2.sol -------------------------------------------------------------------------------- /Lottery-Blockchain-main/contracts/testMocks/VRFCoordinatorV2Mock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/contracts/testMocks/VRFCoordinatorV2Mock.sol -------------------------------------------------------------------------------- /Lottery-Blockchain-main/contracts/testMocks/interfaces/LinkTokenInterface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/contracts/testMocks/interfaces/LinkTokenInterface.sol -------------------------------------------------------------------------------- /Lottery-Blockchain-main/contracts/testMocks/interfaces/VRFCoordinatorV2Interface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/contracts/testMocks/interfaces/VRFCoordinatorV2Interface.sol -------------------------------------------------------------------------------- /Lottery-Blockchain-main/deploy/00-deploy-mocks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/deploy/00-deploy-mocks.ts -------------------------------------------------------------------------------- /Lottery-Blockchain-main/deploy/01-deploy-Raffle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/deploy/01-deploy-Raffle.ts -------------------------------------------------------------------------------- /Lottery-Blockchain-main/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/hardhat.config.ts -------------------------------------------------------------------------------- /Lottery-Blockchain-main/helper-hardhat-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/helper-hardhat-config.ts -------------------------------------------------------------------------------- /Lottery-Blockchain-main/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/next-env.d.ts -------------------------------------------------------------------------------- /Lottery-Blockchain-main/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/next.config.js -------------------------------------------------------------------------------- /Lottery-Blockchain-main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/package.json -------------------------------------------------------------------------------- /Lottery-Blockchain-main/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/pages/_app.tsx -------------------------------------------------------------------------------- /Lottery-Blockchain-main/pages/api/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/pages/api/hello.js -------------------------------------------------------------------------------- /Lottery-Blockchain-main/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/pages/index.tsx -------------------------------------------------------------------------------- /Lottery-Blockchain-main/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/postcss.config.js -------------------------------------------------------------------------------- /Lottery-Blockchain-main/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/public/favicon.ico -------------------------------------------------------------------------------- /Lottery-Blockchain-main/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/public/vercel.svg -------------------------------------------------------------------------------- /Lottery-Blockchain-main/styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/styles/Home.module.css -------------------------------------------------------------------------------- /Lottery-Blockchain-main/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/styles/globals.css -------------------------------------------------------------------------------- /Lottery-Blockchain-main/tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/tailwind.config.cjs -------------------------------------------------------------------------------- /Lottery-Blockchain-main/test/stage/Raffle.staging.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/test/stage/Raffle.staging.test.ts -------------------------------------------------------------------------------- /Lottery-Blockchain-main/test/unit/Raffle.unit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/test/unit/Raffle.unit.test.ts -------------------------------------------------------------------------------- /Lottery-Blockchain-main/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/tsconfig.json -------------------------------------------------------------------------------- /Lottery-Blockchain-main/utils/verify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/utils/verify.ts -------------------------------------------------------------------------------- /Lottery-Blockchain-main/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/lottery-blockchain/HEAD/Lottery-Blockchain-main/yarn.lock --------------------------------------------------------------------------------