/ZKPT_UI

ZkPoolTogether is the zkp version of PoolTogether; usage of zero-knowledge proof systems will protect users' identity, and the amount users are depositing.

Primary LanguageTypeScript

ZK-POOLTOGETHER

Deploy with Vercel

Folder Structure

.
├── classes
│   ├── deposit.ts
│   ├── merkleTree.ts
│   └── PoseidonHasher.ts
├── components
│   ├── Account.tsx
│   ├── ETHBalance.tsx
│   ├── Hero.tsx
│   ├── Nav.tsx
│   ├── Network.tsx
│   ├── PackageTier.tsx
│   └── Statistics.tsx
├── connectors.ts
├── contracts
│   ├── Pool.json
│   └── types
│       ├── common.d.ts
│       ├── index.ts
│       └── Pool.ts
├── getLibrary.ts
├── hooks
│   ├── useBlockNumber.ts
│   ├── useContract.ts
│   ├── useEagerConnect.ts
│   ├── useENSName.ts
│   ├── useETHBalance.ts
│   ├── useKeepSWRDataLiveAsBlocksArrive.ts
│   ├── useMetaMaskOnboarding.ts
│   └── useZkPoolContract.ts
├── next.config.js
├── next-env.d.ts
├── package.json
├── package-lock.json
├── pages
│   ├── api
│   │   ├── withdraw.ts
│   │   └── withdrawWinning.ts
│   ├── _app.tsx
│   ├── app.tsx
│   ├── check.tsx
│   ├── draws.tsx
│   └── index.tsx
├── public
│   ├── circuit_final.zkey
│   ├── favicon.ico
│   ├── images
│   │   ├── background3.jpg
│   │   └── background.png
│   └── withdraw.wasm
├── README.md
├── styles
│   └── globals.css
├── tsconfig.json
├── util.ts
└── yarn.lock

Features

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Acknowledgments

Create-next-app boilerplate

This is a default Next.js project bootstrapped with create-next-app, customized as the default boilerplate for new Web3 projects.

Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.