repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
Unified chat aggregator — Twitch + X + Kick in one…
stars
latest
clone command
git clone gitlawb://did:key:z6MkfpiH...NPsu/unified-chat-ag...git clone gitlawb://did:key:z6MkfpiH.../unified-chat-ag...5a763564sync from playground1d ago| import { http, createConfig } from "wagmi"; |
| #2 | import { base } from "wagmi/chains"; |
| #3 | import { injected, walletConnect } from "wagmi/connectors"; |
| #4 |
| #5 | export const RECIPIENT = "0x50c116e8cc00874cf2354533b6a88ee0bdf10a0c" as const; |
| #6 |
| #7 | // USDC on Base |
| #8 | export const USDC_BASE = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" as const; |
| #9 |
| #10 | export const ERC20_ABI = [ |
| #11 | { |
| #12 | name: "transfer", |
| #13 | type: "function", |
| #14 | stateMutability: "nonpayable", |
| #15 | inputs: [ |
| #16 | { name: "to", type: "address" }, |
| #17 | { name: "amount", type: "uint256" }, |
| #18 | ], |
| #19 | outputs: [{ name: "", type: "bool" }], |
| #20 | }, |
| #21 | { |
| #22 | name: "decimals", |
| #23 | type: "function", |
| #24 | stateMutability: "view", |
| #25 | inputs: [], |
| #26 | outputs: [{ name: "", type: "uint8" }], |
| #27 | }, |
| #28 | ] as const; |
| #29 |
| #30 | export const config = createConfig({ |
| #31 | chains: [base], |
| #32 | connectors: [ |
| #33 | injected(), |
| #34 | walletConnect({ projectId: "c4f79cc821944d9680842e34466bfb" }), |
| #35 | ], |
| #36 | transports: { |
| #37 | [base.id]: http(), |
| #38 | }, |
| #39 | }); |
| #40 |