├── .env ├── .eslintrc.json ├── .gitignore ├── LICENSE ├── README.md ├── components.json ├── docs └── crash.png ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── public ├── explode.svg ├── parachute.svg ├── rocket.svg └── space.png ├── src ├── abis │ ├── crash.json │ └── erc20.json ├── app │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── page.module.css │ └── page.tsx ├── components │ ├── BetList.tsx │ ├── CrashList.tsx │ ├── CurrencyList.tsx │ ├── DepositDialog.tsx │ ├── Game.tsx │ ├── GameControls.tsx │ ├── GameLayout.tsx │ ├── PageFooter.tsx │ ├── PageHeader.tsx │ └── ui │ │ ├── button.tsx │ │ ├── card.tsx │ │ ├── checkbox.ts │ │ ├── drawer.tsx │ │ ├── hover-card.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── select.tsx │ │ ├── separator.tsx │ │ ├── sonner.tsx │ │ └── table.tsx ├── contexts │ ├── Socket.tsx │ └── Web3Modal.tsx ├── hooks │ ├── useEffectEvent.tsx │ ├── useWalletAuth.tsx │ └── useWalletBalances.tsx ├── images │ └── currencies │ │ ├── btc.svg │ │ └── eth.svg ├── lib │ ├── currencies.ts │ └── utils.ts ├── providers │ └── RootProvider.tsx ├── store │ └── gameStore.ts └── styles │ └── components │ ├── CrashList.module.css │ ├── CurrencyList.module.css │ ├── DepositDialog.module.css │ ├── Game.module.css │ ├── GameControls.module.css │ ├── GameLayout.module.css │ ├── PageFooter.module.css │ └── PageHeader.module.css ├── tailwind.config.ts └── tsconfig.json /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/.env -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/components.json -------------------------------------------------------------------------------- /docs/crash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/docs/crash.png -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /public/explode.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/public/explode.svg -------------------------------------------------------------------------------- /public/parachute.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/public/parachute.svg -------------------------------------------------------------------------------- /public/rocket.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/public/rocket.svg -------------------------------------------------------------------------------- /public/space.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/public/space.png -------------------------------------------------------------------------------- /src/abis/crash.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/abis/crash.json -------------------------------------------------------------------------------- /src/abis/erc20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/abis/erc20.json -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/app/page.module.css -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/components/BetList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/BetList.tsx -------------------------------------------------------------------------------- /src/components/CrashList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/CrashList.tsx -------------------------------------------------------------------------------- /src/components/CurrencyList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/CurrencyList.tsx -------------------------------------------------------------------------------- /src/components/DepositDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/DepositDialog.tsx -------------------------------------------------------------------------------- /src/components/Game.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/Game.tsx -------------------------------------------------------------------------------- /src/components/GameControls.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/GameControls.tsx -------------------------------------------------------------------------------- /src/components/GameLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/GameLayout.tsx -------------------------------------------------------------------------------- /src/components/PageFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/PageFooter.tsx -------------------------------------------------------------------------------- /src/components/PageHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/PageHeader.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/checkbox.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/ui/drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/drawer.tsx -------------------------------------------------------------------------------- /src/components/ui/hover-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/hover-card.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /src/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/components/ui/table.tsx -------------------------------------------------------------------------------- /src/contexts/Socket.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/contexts/Socket.tsx -------------------------------------------------------------------------------- /src/contexts/Web3Modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/contexts/Web3Modal.tsx -------------------------------------------------------------------------------- /src/hooks/useEffectEvent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/hooks/useEffectEvent.tsx -------------------------------------------------------------------------------- /src/hooks/useWalletAuth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/hooks/useWalletAuth.tsx -------------------------------------------------------------------------------- /src/hooks/useWalletBalances.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/hooks/useWalletBalances.tsx -------------------------------------------------------------------------------- /src/images/currencies/btc.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/images/currencies/btc.svg -------------------------------------------------------------------------------- /src/images/currencies/eth.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/images/currencies/eth.svg -------------------------------------------------------------------------------- /src/lib/currencies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/lib/currencies.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/providers/RootProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/providers/RootProvider.tsx -------------------------------------------------------------------------------- /src/store/gameStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/store/gameStore.ts -------------------------------------------------------------------------------- /src/styles/components/CrashList.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/styles/components/CrashList.module.css -------------------------------------------------------------------------------- /src/styles/components/CurrencyList.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/styles/components/CurrencyList.module.css -------------------------------------------------------------------------------- /src/styles/components/DepositDialog.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/styles/components/DepositDialog.module.css -------------------------------------------------------------------------------- /src/styles/components/Game.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/styles/components/Game.module.css -------------------------------------------------------------------------------- /src/styles/components/GameControls.module.css: -------------------------------------------------------------------------------- 1 | .BetButton { 2 | width: 100%; 3 | } 4 | -------------------------------------------------------------------------------- /src/styles/components/GameLayout.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/styles/components/GameLayout.module.css -------------------------------------------------------------------------------- /src/styles/components/PageFooter.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/styles/components/PageFooter.module.css -------------------------------------------------------------------------------- /src/styles/components/PageHeader.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/src/styles/components/PageHeader.module.css -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/samott/crash/HEAD/tsconfig.json --------------------------------------------------------------------------------