This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const words = [ | |
| "abets", | |
| "abhor", | |
| "abide", | |
| "abler", | |
| "abode", | |
| "abort", | |
| "about", | |
| "above", | |
| "abuse", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Light theme config | |
| .bandit-themes, .light, .light-theme { | |
| --custom-1: #fcfdfe; | |
| --custom-2: #f7f9fd; | |
| --custom-3: #eef2fb; | |
| --custom-4: #e3eafb; | |
| --custom-5: #d6dff8; | |
| --custom-6: #c6d2f2; | |
| --custom-7: #b1c0e7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Bandit Campaign Integration Docs | |
| ## Installation | |
| 1) Install `@bandit-network/react` with npm / pnpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, {useState} from "react"; | |
| import { BanditContextProvider, QuestWidget } from "@bandit-network/quest-widget"; | |
| const BanditQuest = () => { | |
| const [isOpen, setIsOpen] = useState(false) | |
| const onClose = () =>{ | |
| setIsOpen(false) | |
| } | |
| return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import "@rainbow-me/rainbowkit/styles.css"; | |
| import { | |
| getDefaultWallets, | |
| RainbowKitProvider, | |
| useConnectModal, | |
| } from "@rainbow-me/rainbowkit"; | |
| import { configureChains, createConfig, WagmiConfig } from "wagmi"; | |
| import { | |
| mainnet, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "@chakra-ui/hooks": "^2.1.6", | |
| "@chakra-ui/icons": "^2.0.17", | |
| "@chakra-ui/modal": "^2.2.9", | |
| "@chakra-ui/react": "^2.6.1", | |
| "@chakra-ui/stepper": "^2.2.0", | |
| "@emotion/react": "^11.10.6", | |
| "@emotion/styled": "^11.10.6", | |
| "@ethersproject/address": "^5.7.0", | |
| "@ethersproject/bytes": "^5.7.0", |