Skip to content

Instantly share code, notes, and snippets.

const words = [
"abets",
"abhor",
"abide",
"abler",
"abode",
"abort",
"about",
"above",
"abuse",
@0xRyze
0xRyze / css-override
Created July 24, 2024 07:58
Custom Css Overide
//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;
# Bandit Campaign Integration Docs
## Installation
1) Install `@bandit-network/react` with npm / pnpm
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 (
@0xRyze
0xRyze / unstoppable-domains
Created February 9, 2024 11:22
UD integration with parent wagmi and wallet config
import "@rainbow-me/rainbowkit/styles.css";
import {
getDefaultWallets,
RainbowKitProvider,
useConnectModal,
} from "@rainbow-me/rainbowkit";
import { configureChains, createConfig, WagmiConfig } from "wagmi";
import {
mainnet,
@0xRyze
0xRyze / package.json
Last active August 23, 2023 08:33
Bandit widget sdk dependencies
{
"@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",