├── .gitignore ├── Anchor.toml ├── Cargo.lock ├── Cargo.toml ├── README.md ├── app ├── .env ├── .env.localnot ├── .env.production ├── .gitignore ├── .prettierrc ├── README.md ├── bin │ └── generateNFTJson.js ├── package.json ├── public │ ├── dRaffle-LC-banner.png │ ├── dRaffle-litepaper.pdf │ ├── dRaffle-logo.png │ ├── favicon.ico │ ├── index.html │ ├── manifest.json │ ├── nft_files │ │ ├── degenApe1.jpeg │ │ ├── nft-one.png │ │ ├── punk4484.png │ │ ├── sloth1729.png │ │ ├── smb1.png │ │ ├── solarian1.gif │ │ └── tRuffle.png │ ├── nfts_templates │ │ ├── degenApe1.json │ │ ├── first-prize.json │ │ ├── nft-one.json │ │ ├── punk4484.json │ │ ├── second-prize.json │ │ ├── smb1.json │ │ └── solarian1.json │ ├── resources │ │ ├── 001-mainnet-launch.gif │ │ ├── aartist-raffle-overview.gif │ │ ├── bitboat-raffle.gif │ │ ├── samo-logo.png │ │ ├── samo-x3.gif │ │ ├── solana-logo-x3.gif │ │ └── solana-logo.gif │ ├── robots.txt │ └── tether-usdt-logo.png ├── src │ ├── App.css │ ├── App.test.tsx │ ├── App.tsx │ ├── assets │ │ ├── discord-logo.svg │ │ ├── document-logo.svg │ │ ├── styles.ts │ │ ├── theme.ts │ │ └── twitter-logo.svg │ ├── components │ │ ├── AdminRoute │ │ │ └── index.tsx │ │ ├── AirdropButton │ │ │ └── index.tsx │ │ ├── Button │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── ClaimButton │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Countdown │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── PrizeDetailsModal │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── RaffleCard │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── RaffleInfoSection │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── ScrollToTop │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── ShortenedString │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Spacer │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Wallet │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ └── layout │ │ │ ├── Base │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ │ ├── Body │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ │ ├── Drawer │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ │ ├── Footer │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ │ ├── Header │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ │ ├── NavButton │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ │ ├── Screen │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ │ └── WalletButton │ │ │ ├── index.tsx │ │ │ └── styles.ts │ ├── config │ │ ├── accounts.ts │ │ ├── misc.ts │ │ ├── programIds.ts │ │ ├── raffleWhitelist.ts │ │ └── tokenRegistry.ts │ ├── hooks │ │ ├── useDebounce.tsx │ │ ├── useProgramApis.tsx │ │ ├── useRafflesStore.ts │ │ ├── useRandomDrawer.tsx │ │ └── useViewport.tsx │ ├── index.css │ ├── index.tsx │ ├── lib │ │ ├── accounts.ts │ │ ├── actions │ │ │ ├── buyTickets.ts │ │ │ └── claimPrize.ts │ │ ├── anchorUtils.ts │ │ ├── connection.ts │ │ ├── idl │ │ │ ├── community_staking.ts │ │ │ ├── dispenser.ts │ │ │ └── draffle.ts │ │ ├── metadata │ │ │ ├── borsh.ts │ │ │ ├── index.ts │ │ │ ├── programIds.ts │ │ │ └── utils.ts │ │ ├── randomnessTools.ts │ │ ├── store │ │ │ └── index.ts │ │ ├── types.ts │ │ └── utils │ │ │ ├── airdrop.ts │ │ │ ├── index.ts │ │ │ └── localStorage.ts │ ├── logo.svg │ ├── pages │ │ ├── ExploreRafflesScreen │ │ │ ├── components │ │ │ │ └── FilterBar │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── LandingScreen │ │ │ ├── index.tsx │ │ │ ├── styles.css │ │ │ └── styles.ts │ │ ├── RaffleEndedScreen │ │ │ ├── components │ │ │ │ ├── EndedRaffleActionsSection │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ │ ├── PrizeCardEnded │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ │ ├── PrizeGalleryEnded │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ │ └── PrizeShowcaseEnded │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── RaffleOngoingScreen │ │ │ ├── components │ │ │ │ ├── PrizeCardOngoing │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ │ ├── PrizeGalleryOngoing │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ │ ├── PrizeShowcaseOngoing │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ │ └── PurchaseTicketsSection │ │ │ │ │ ├── PurchaseTicket.tsx │ │ │ │ │ └── styles.ts │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── StakeScreen │ │ │ ├── index.tsx │ │ │ ├── styles.css │ │ │ └── styles.ts │ │ ├── ToolsScreen │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ └── admin │ │ │ ├── AdminHomeScreen │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ │ └── AdminRaffleScreen │ │ │ ├── index.tsx │ │ │ └── styles.ts │ ├── providers │ │ ├── ProgramApisProvider.tsx │ │ ├── RafflesStoreProvider.tsx │ │ ├── ThemeProvider.tsx │ │ └── ViewportProvider.tsx │ ├── react-app-env.d.ts │ ├── reportWebVitals.ts │ ├── router │ │ ├── raffleDetails.tsx │ │ ├── router.tsx │ │ └── routes.ts │ ├── setupTests.ts │ └── types │ │ ├── image.d.ts │ │ └── styles.d.ts ├── tsconfig.json ├── vercel.json └── yarn.lock ├── cli ├── Cargo.toml ├── README.md └── src │ ├── entrypoint.rs │ ├── lib.rs │ └── main.rs ├── programs ├── community-staking │ ├── Cargo.toml │ ├── README.md │ ├── Xargo.toml │ └── src │ │ └── lib.rs ├── dispenser │ ├── Cargo.toml │ ├── README.md │ ├── Xargo.toml │ ├── src │ │ └── lib.rs │ └── tests │ │ └── functional.rs └── draffle │ ├── Cargo.toml │ ├── README.md │ ├── Xargo.toml │ ├── src │ ├── lib.rs │ ├── randomness_tools.rs │ └── recent_blockhashes.rs │ └── tests │ └── functional.rs └── scripts ├── deploy_program.sh ├── distributor.sh ├── metaplex-token-metadata-test-client ├── metaplex_token_metadata.so ├── sample_accounts ├── community_staking-keypair.json ├── dev-mint-keypair.json ├── dispenser-keypair.json ├── dispenser-registry-keypair.json ├── draffle-keypair.json ├── prize-mint1-keypair.json ├── prize-mint2-keypair.json ├── prize-nft1-keypair.json ├── prize-nft2-keypair.json ├── prize-nft3-keypair.json ├── prize-nft4-keypair.json ├── prize-nft5-keypair.json ├── raffle │ ├── entrants1-keypair.json │ ├── entrants2-keypair.json │ ├── entrants3-keypair.json │ ├── entrants4-keypair.json │ └── entrants5-keypair.json ├── registry-keypair.json ├── user1-keypair.json └── user2-keypair.json ├── setup_idls.sh ├── start_dev.sh └── test_raffle.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/.gitignore -------------------------------------------------------------------------------- /Anchor.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/Anchor.toml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/README.md -------------------------------------------------------------------------------- /app/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/.env -------------------------------------------------------------------------------- /app/.env.localnot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/.env.localnot -------------------------------------------------------------------------------- /app/.env.production: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/.env.production -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/.gitignore -------------------------------------------------------------------------------- /app/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/.prettierrc -------------------------------------------------------------------------------- /app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/README.md -------------------------------------------------------------------------------- /app/bin/generateNFTJson.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/bin/generateNFTJson.js -------------------------------------------------------------------------------- /app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/package.json -------------------------------------------------------------------------------- /app/public/dRaffle-LC-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/dRaffle-LC-banner.png -------------------------------------------------------------------------------- /app/public/dRaffle-litepaper.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/dRaffle-litepaper.pdf -------------------------------------------------------------------------------- /app/public/dRaffle-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/dRaffle-logo.png -------------------------------------------------------------------------------- /app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/favicon.ico -------------------------------------------------------------------------------- /app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/index.html -------------------------------------------------------------------------------- /app/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/manifest.json -------------------------------------------------------------------------------- /app/public/nft_files/degenApe1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nft_files/degenApe1.jpeg -------------------------------------------------------------------------------- /app/public/nft_files/nft-one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nft_files/nft-one.png -------------------------------------------------------------------------------- /app/public/nft_files/punk4484.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nft_files/punk4484.png -------------------------------------------------------------------------------- /app/public/nft_files/sloth1729.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nft_files/sloth1729.png -------------------------------------------------------------------------------- /app/public/nft_files/smb1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nft_files/smb1.png -------------------------------------------------------------------------------- /app/public/nft_files/solarian1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nft_files/solarian1.gif -------------------------------------------------------------------------------- /app/public/nft_files/tRuffle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nft_files/tRuffle.png -------------------------------------------------------------------------------- /app/public/nfts_templates/degenApe1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nfts_templates/degenApe1.json -------------------------------------------------------------------------------- /app/public/nfts_templates/first-prize.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nfts_templates/first-prize.json -------------------------------------------------------------------------------- /app/public/nfts_templates/nft-one.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nfts_templates/nft-one.json -------------------------------------------------------------------------------- /app/public/nfts_templates/punk4484.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nfts_templates/punk4484.json -------------------------------------------------------------------------------- /app/public/nfts_templates/second-prize.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nfts_templates/second-prize.json -------------------------------------------------------------------------------- /app/public/nfts_templates/smb1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nfts_templates/smb1.json -------------------------------------------------------------------------------- /app/public/nfts_templates/solarian1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/nfts_templates/solarian1.json -------------------------------------------------------------------------------- /app/public/resources/001-mainnet-launch.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/resources/001-mainnet-launch.gif -------------------------------------------------------------------------------- /app/public/resources/aartist-raffle-overview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/resources/aartist-raffle-overview.gif -------------------------------------------------------------------------------- /app/public/resources/bitboat-raffle.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/resources/bitboat-raffle.gif -------------------------------------------------------------------------------- /app/public/resources/samo-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/resources/samo-logo.png -------------------------------------------------------------------------------- /app/public/resources/samo-x3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/resources/samo-x3.gif -------------------------------------------------------------------------------- /app/public/resources/solana-logo-x3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/resources/solana-logo-x3.gif -------------------------------------------------------------------------------- /app/public/resources/solana-logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/resources/solana-logo.gif -------------------------------------------------------------------------------- /app/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/robots.txt -------------------------------------------------------------------------------- /app/public/tether-usdt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/public/tether-usdt-logo.png -------------------------------------------------------------------------------- /app/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/App.css -------------------------------------------------------------------------------- /app/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/App.test.tsx -------------------------------------------------------------------------------- /app/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/App.tsx -------------------------------------------------------------------------------- /app/src/assets/discord-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/assets/discord-logo.svg -------------------------------------------------------------------------------- /app/src/assets/document-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/assets/document-logo.svg -------------------------------------------------------------------------------- /app/src/assets/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/assets/styles.ts -------------------------------------------------------------------------------- /app/src/assets/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/assets/theme.ts -------------------------------------------------------------------------------- /app/src/assets/twitter-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/assets/twitter-logo.svg -------------------------------------------------------------------------------- /app/src/components/AdminRoute/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/AdminRoute/index.tsx -------------------------------------------------------------------------------- /app/src/components/AirdropButton/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/AirdropButton/index.tsx -------------------------------------------------------------------------------- /app/src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/Button/index.tsx -------------------------------------------------------------------------------- /app/src/components/Button/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/Button/styles.ts -------------------------------------------------------------------------------- /app/src/components/ClaimButton/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/ClaimButton/index.tsx -------------------------------------------------------------------------------- /app/src/components/ClaimButton/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/ClaimButton/styles.ts -------------------------------------------------------------------------------- /app/src/components/Countdown/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/Countdown/index.tsx -------------------------------------------------------------------------------- /app/src/components/Countdown/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/Countdown/styles.ts -------------------------------------------------------------------------------- /app/src/components/PrizeDetailsModal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/PrizeDetailsModal/index.tsx -------------------------------------------------------------------------------- /app/src/components/PrizeDetailsModal/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/PrizeDetailsModal/styles.ts -------------------------------------------------------------------------------- /app/src/components/RaffleCard/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/RaffleCard/index.tsx -------------------------------------------------------------------------------- /app/src/components/RaffleCard/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/RaffleCard/styles.ts -------------------------------------------------------------------------------- /app/src/components/RaffleInfoSection/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/RaffleInfoSection/index.tsx -------------------------------------------------------------------------------- /app/src/components/RaffleInfoSection/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/RaffleInfoSection/styles.ts -------------------------------------------------------------------------------- /app/src/components/ScrollToTop/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/ScrollToTop/index.tsx -------------------------------------------------------------------------------- /app/src/components/ScrollToTop/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/ScrollToTop/styles.ts -------------------------------------------------------------------------------- /app/src/components/ShortenedString/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/ShortenedString/index.tsx -------------------------------------------------------------------------------- /app/src/components/ShortenedString/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/ShortenedString/styles.ts -------------------------------------------------------------------------------- /app/src/components/Spacer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/Spacer/index.tsx -------------------------------------------------------------------------------- /app/src/components/Spacer/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/Spacer/styles.ts -------------------------------------------------------------------------------- /app/src/components/Wallet/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/Wallet/index.tsx -------------------------------------------------------------------------------- /app/src/components/Wallet/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/Wallet/styles.ts -------------------------------------------------------------------------------- /app/src/components/layout/Base/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Base/index.tsx -------------------------------------------------------------------------------- /app/src/components/layout/Base/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Base/styles.ts -------------------------------------------------------------------------------- /app/src/components/layout/Body/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Body/index.tsx -------------------------------------------------------------------------------- /app/src/components/layout/Body/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Body/styles.ts -------------------------------------------------------------------------------- /app/src/components/layout/Drawer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Drawer/index.tsx -------------------------------------------------------------------------------- /app/src/components/layout/Drawer/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Drawer/styles.ts -------------------------------------------------------------------------------- /app/src/components/layout/Footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Footer/index.tsx -------------------------------------------------------------------------------- /app/src/components/layout/Footer/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Footer/styles.ts -------------------------------------------------------------------------------- /app/src/components/layout/Header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Header/index.tsx -------------------------------------------------------------------------------- /app/src/components/layout/Header/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Header/styles.ts -------------------------------------------------------------------------------- /app/src/components/layout/NavButton/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/NavButton/index.tsx -------------------------------------------------------------------------------- /app/src/components/layout/NavButton/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/NavButton/styles.ts -------------------------------------------------------------------------------- /app/src/components/layout/Screen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Screen/index.tsx -------------------------------------------------------------------------------- /app/src/components/layout/Screen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/Screen/styles.ts -------------------------------------------------------------------------------- /app/src/components/layout/WalletButton/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/WalletButton/index.tsx -------------------------------------------------------------------------------- /app/src/components/layout/WalletButton/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/components/layout/WalletButton/styles.ts -------------------------------------------------------------------------------- /app/src/config/accounts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/config/accounts.ts -------------------------------------------------------------------------------- /app/src/config/misc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/config/misc.ts -------------------------------------------------------------------------------- /app/src/config/programIds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/config/programIds.ts -------------------------------------------------------------------------------- /app/src/config/raffleWhitelist.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/config/raffleWhitelist.ts -------------------------------------------------------------------------------- /app/src/config/tokenRegistry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/config/tokenRegistry.ts -------------------------------------------------------------------------------- /app/src/hooks/useDebounce.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/hooks/useDebounce.tsx -------------------------------------------------------------------------------- /app/src/hooks/useProgramApis.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/hooks/useProgramApis.tsx -------------------------------------------------------------------------------- /app/src/hooks/useRafflesStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/hooks/useRafflesStore.ts -------------------------------------------------------------------------------- /app/src/hooks/useRandomDrawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/hooks/useRandomDrawer.tsx -------------------------------------------------------------------------------- /app/src/hooks/useViewport.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/hooks/useViewport.tsx -------------------------------------------------------------------------------- /app/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/index.css -------------------------------------------------------------------------------- /app/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/index.tsx -------------------------------------------------------------------------------- /app/src/lib/accounts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/accounts.ts -------------------------------------------------------------------------------- /app/src/lib/actions/buyTickets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/actions/buyTickets.ts -------------------------------------------------------------------------------- /app/src/lib/actions/claimPrize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/actions/claimPrize.ts -------------------------------------------------------------------------------- /app/src/lib/anchorUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/anchorUtils.ts -------------------------------------------------------------------------------- /app/src/lib/connection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/connection.ts -------------------------------------------------------------------------------- /app/src/lib/idl/community_staking.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/idl/community_staking.ts -------------------------------------------------------------------------------- /app/src/lib/idl/dispenser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/idl/dispenser.ts -------------------------------------------------------------------------------- /app/src/lib/idl/draffle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/idl/draffle.ts -------------------------------------------------------------------------------- /app/src/lib/metadata/borsh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/metadata/borsh.ts -------------------------------------------------------------------------------- /app/src/lib/metadata/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/metadata/index.ts -------------------------------------------------------------------------------- /app/src/lib/metadata/programIds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/metadata/programIds.ts -------------------------------------------------------------------------------- /app/src/lib/metadata/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/metadata/utils.ts -------------------------------------------------------------------------------- /app/src/lib/randomnessTools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/randomnessTools.ts -------------------------------------------------------------------------------- /app/src/lib/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/store/index.ts -------------------------------------------------------------------------------- /app/src/lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/types.ts -------------------------------------------------------------------------------- /app/src/lib/utils/airdrop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/utils/airdrop.ts -------------------------------------------------------------------------------- /app/src/lib/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/utils/index.ts -------------------------------------------------------------------------------- /app/src/lib/utils/localStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/lib/utils/localStorage.ts -------------------------------------------------------------------------------- /app/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/logo.svg -------------------------------------------------------------------------------- /app/src/pages/ExploreRafflesScreen/components/FilterBar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/ExploreRafflesScreen/components/FilterBar/index.tsx -------------------------------------------------------------------------------- /app/src/pages/ExploreRafflesScreen/components/FilterBar/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/ExploreRafflesScreen/components/FilterBar/styles.ts -------------------------------------------------------------------------------- /app/src/pages/ExploreRafflesScreen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/ExploreRafflesScreen/index.tsx -------------------------------------------------------------------------------- /app/src/pages/ExploreRafflesScreen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/ExploreRafflesScreen/styles.ts -------------------------------------------------------------------------------- /app/src/pages/LandingScreen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/LandingScreen/index.tsx -------------------------------------------------------------------------------- /app/src/pages/LandingScreen/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/LandingScreen/styles.css -------------------------------------------------------------------------------- /app/src/pages/LandingScreen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/LandingScreen/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/components/EndedRaffleActionsSection/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/components/EndedRaffleActionsSection/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/components/EndedRaffleActionsSection/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/components/EndedRaffleActionsSection/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/components/PrizeCardEnded/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/components/PrizeCardEnded/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/components/PrizeCardEnded/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/components/PrizeCardEnded/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/components/PrizeGalleryEnded/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/components/PrizeGalleryEnded/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/components/PrizeGalleryEnded/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/components/PrizeGalleryEnded/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/components/PrizeShowcaseEnded/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/components/PrizeShowcaseEnded/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/components/PrizeShowcaseEnded/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/components/PrizeShowcaseEnded/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleEndedScreen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleEndedScreen/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/components/PrizeCardOngoing/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/components/PrizeCardOngoing/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/components/PrizeCardOngoing/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/components/PrizeCardOngoing/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/components/PrizeGalleryOngoing/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/components/PrizeGalleryOngoing/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/components/PrizeGalleryOngoing/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/components/PrizeGalleryOngoing/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/components/PrizeShowcaseOngoing/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/components/PrizeShowcaseOngoing/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/components/PrizeShowcaseOngoing/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/components/PrizeShowcaseOngoing/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/components/PurchaseTicketsSection/PurchaseTicket.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/components/PurchaseTicketsSection/PurchaseTicket.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/components/PurchaseTicketsSection/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/components/PurchaseTicketsSection/styles.ts -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/index.tsx -------------------------------------------------------------------------------- /app/src/pages/RaffleOngoingScreen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/RaffleOngoingScreen/styles.ts -------------------------------------------------------------------------------- /app/src/pages/StakeScreen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/StakeScreen/index.tsx -------------------------------------------------------------------------------- /app/src/pages/StakeScreen/styles.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/src/pages/StakeScreen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/StakeScreen/styles.ts -------------------------------------------------------------------------------- /app/src/pages/ToolsScreen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/ToolsScreen/index.tsx -------------------------------------------------------------------------------- /app/src/pages/ToolsScreen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/ToolsScreen/styles.ts -------------------------------------------------------------------------------- /app/src/pages/admin/AdminHomeScreen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/admin/AdminHomeScreen/index.tsx -------------------------------------------------------------------------------- /app/src/pages/admin/AdminHomeScreen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/admin/AdminHomeScreen/styles.ts -------------------------------------------------------------------------------- /app/src/pages/admin/AdminRaffleScreen/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/admin/AdminRaffleScreen/index.tsx -------------------------------------------------------------------------------- /app/src/pages/admin/AdminRaffleScreen/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/pages/admin/AdminRaffleScreen/styles.ts -------------------------------------------------------------------------------- /app/src/providers/ProgramApisProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/providers/ProgramApisProvider.tsx -------------------------------------------------------------------------------- /app/src/providers/RafflesStoreProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/providers/RafflesStoreProvider.tsx -------------------------------------------------------------------------------- /app/src/providers/ThemeProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/providers/ThemeProvider.tsx -------------------------------------------------------------------------------- /app/src/providers/ViewportProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/providers/ViewportProvider.tsx -------------------------------------------------------------------------------- /app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /app/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/reportWebVitals.ts -------------------------------------------------------------------------------- /app/src/router/raffleDetails.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/router/raffleDetails.tsx -------------------------------------------------------------------------------- /app/src/router/router.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/router/router.tsx -------------------------------------------------------------------------------- /app/src/router/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/router/routes.ts -------------------------------------------------------------------------------- /app/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/setupTests.ts -------------------------------------------------------------------------------- /app/src/types/image.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/types/image.d.ts -------------------------------------------------------------------------------- /app/src/types/styles.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/src/types/styles.d.ts -------------------------------------------------------------------------------- /app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/tsconfig.json -------------------------------------------------------------------------------- /app/vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/vercel.json -------------------------------------------------------------------------------- /app/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/app/yarn.lock -------------------------------------------------------------------------------- /cli/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/cli/Cargo.toml -------------------------------------------------------------------------------- /cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/cli/README.md -------------------------------------------------------------------------------- /cli/src/entrypoint.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/cli/src/entrypoint.rs -------------------------------------------------------------------------------- /cli/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod entrypoint; 2 | -------------------------------------------------------------------------------- /cli/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/cli/src/main.rs -------------------------------------------------------------------------------- /programs/community-staking/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/community-staking/Cargo.toml -------------------------------------------------------------------------------- /programs/community-staking/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/community-staking/README.md -------------------------------------------------------------------------------- /programs/community-staking/Xargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/community-staking/Xargo.toml -------------------------------------------------------------------------------- /programs/community-staking/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/community-staking/src/lib.rs -------------------------------------------------------------------------------- /programs/dispenser/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/dispenser/Cargo.toml -------------------------------------------------------------------------------- /programs/dispenser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/dispenser/README.md -------------------------------------------------------------------------------- /programs/dispenser/Xargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/dispenser/Xargo.toml -------------------------------------------------------------------------------- /programs/dispenser/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/dispenser/src/lib.rs -------------------------------------------------------------------------------- /programs/dispenser/tests/functional.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/dispenser/tests/functional.rs -------------------------------------------------------------------------------- /programs/draffle/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/draffle/Cargo.toml -------------------------------------------------------------------------------- /programs/draffle/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/draffle/README.md -------------------------------------------------------------------------------- /programs/draffle/Xargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/draffle/Xargo.toml -------------------------------------------------------------------------------- /programs/draffle/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/draffle/src/lib.rs -------------------------------------------------------------------------------- /programs/draffle/src/randomness_tools.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/draffle/src/randomness_tools.rs -------------------------------------------------------------------------------- /programs/draffle/src/recent_blockhashes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/draffle/src/recent_blockhashes.rs -------------------------------------------------------------------------------- /programs/draffle/tests/functional.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/programs/draffle/tests/functional.rs -------------------------------------------------------------------------------- /scripts/deploy_program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/deploy_program.sh -------------------------------------------------------------------------------- /scripts/distributor.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/distributor.sh -------------------------------------------------------------------------------- /scripts/metaplex-token-metadata-test-client: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/metaplex-token-metadata-test-client -------------------------------------------------------------------------------- /scripts/metaplex_token_metadata.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/metaplex_token_metadata.so -------------------------------------------------------------------------------- /scripts/sample_accounts/community_staking-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/community_staking-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/dev-mint-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/dev-mint-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/dispenser-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/dispenser-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/dispenser-registry-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/dispenser-registry-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/draffle-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/draffle-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/prize-mint1-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/prize-mint1-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/prize-mint2-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/prize-mint2-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/prize-nft1-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/prize-nft1-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/prize-nft2-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/prize-nft2-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/prize-nft3-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/prize-nft3-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/prize-nft4-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/prize-nft4-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/prize-nft5-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/prize-nft5-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/raffle/entrants1-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/raffle/entrants1-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/raffle/entrants2-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/raffle/entrants2-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/raffle/entrants3-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/raffle/entrants3-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/raffle/entrants4-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/raffle/entrants4-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/raffle/entrants5-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/raffle/entrants5-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/registry-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/registry-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/user1-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/user1-keypair.json -------------------------------------------------------------------------------- /scripts/sample_accounts/user2-keypair.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/sample_accounts/user2-keypair.json -------------------------------------------------------------------------------- /scripts/setup_idls.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/setup_idls.sh -------------------------------------------------------------------------------- /scripts/start_dev.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/start_dev.sh -------------------------------------------------------------------------------- /scripts/test_raffle.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draffle-io/draffle/HEAD/scripts/test_raffle.sh --------------------------------------------------------------------------------