Skip to content

Web3 / Blockchain Integrations

Only two products in the portfolio touch a blockchain, and both use it for payments, not dApps: BidIt and the GGPI website. They don't use the unified fiat payment-gateway service — crypto is a separate, non-custodial rail.

Portfolio map

Product Chain(s) Stack
BidIt Bitcoin + Ethereum, Base, Polygon, Arbitrum, Optimism (admin-toggleable) wagmi ^2.19 + viem ^2.52 + WalletConnect (web); ethers ^6.16 (server); bitcoinjs-lib ^6.1.7 + bip32 + @bitcoinerlab/secp256k1 (BTC xpub)
GGPI website USDC on Base (verified on Base Sepolia) ethers ^6.17, HD xpub deposit addresses, 60-second chain sweep

wagmi

What it is. React hooks for Ethereum. useAccount, useConnect, useSignMessage, useReadContract, useWriteContract. The de-facto frontend layer for any EVM dApp in 2025–2026.

Used in: BidIt (web checkout wallet flow).


viem

What it is. Modern, TypeScript-first Ethereum library. Replaces ethers.js for new code. wagmi is built on viem internally.

Used in: BidIt (web, alongside wagmi).


ethers.js

What it is. The original "ethers" Ethereum library — Wallet, Contract, Provider classes. Also handles HD-wallet address derivation.

Used in: BidIt (server, ^6.16, EVM payment verification) and GGPI website (^6.17, USDC-on-Base deposit address derivation and chain watching).


bitcoinjs-lib / BIP32 (xpub address derivation)

What it is. Bitcoin primitives in JavaScript. With an extended public key (xpub) you can derive a fresh receiving address per order without the server ever holding a private key — non-custodial by construction.

Used in: BidIt — Bitcoin payments via xpub-derived addresses (bitcoinjs-lib ^6.1.7, bip32, @bitcoinerlab/secp256k1).


HD xpub deposit addresses (EVM)

What it is. The same non-custodial idea on EVM chains: an account-level extended public key (m/44'/60'/0') derives a unique deposit address per invoice. The key can derive addresses but cannot spend.

Used in: GGPI website — USDC on Base, a watcher confirms deposits, status states are pending / underpaid / detected / confirmed / expired. Enabled only when CRYPTO_XPUB and CRYPTO_CHAIN are set. See Integrations-Payments.md.


WalletConnect

What it is. Open protocol that links mobile and desktop wallets to dApps via QR code or deep link.

Used in: BidIt (web).


RainbowKit (not used in portfolio)

Not used in the portfolio — covered for comparison. Pre-built wallet-connection UI for wagmi (a "Connect Wallet" button supporting MetaMask, WalletConnect, Coinbase Wallet and more).


Coinbase OnChainKit (not used in portfolio)

Not used in the portfolio — covered for comparison. Coinbase's React component library for Base (<Wallet />, <Transaction />, <Identity />, smart-wallet support).


Hardhat (not used in portfolio)

Not used in the portfolio — covered for comparison. Ethereum dev environment (local node, compile, test, deploy). Foundry is the ascendant alternative. No in-scope product ships its own smart contracts.


The Graph (not used in portfolio)

Not used in the portfolio — covered for comparison. Indexing protocol whose subgraphs expose on-chain events as GraphQL APIs.


OpenZeppelin Contracts (not used in portfolio)

Not used in the portfolio — covered for comparison. Audited reference implementations of ERC-20 / 721 / 1155, AccessControl, Governor, ReentrancyGuard, Pausable. Rule of thumb if you ever write a contract: don't roll your own ERC-anything.


Wallet connectivity

SDK Products
WalletConnect BidIt
Coinbase Wallet SDK / MetaMask SDK Not used in portfolio — covered for comparison

Polymarket CLOB API (not used in portfolio)

Not used in the portfolio — covered for comparison. Polymarket's Central Limit Order Book: off-chain matching, on-chain settlement on Polygon, REST + WebSocket APIs.


Chain-specific notes

  • Ethereum mainnet — gas is expensive. BidIt accepts native ETH + USDC/USDT here.
  • Base — Coinbase's L2 on top of Ethereum (OP Stack). Cheap gas, USD-denominated UX. The GGPI website's USDC rail runs here; also a BidIt payment chain.
  • Polygon — EVM-compatible; a BidIt payment chain.
  • Arbitrum — Ethereum L2 (Nitro/optimistic rollup). One of BidIt's accepted EVM chains for ETH/USDC/USDT.
  • Optimism — Ethereum L2 (OP Stack). One of BidIt's accepted EVM chains for ETH/USDC/USDT.
  • Bitcoin (BTC) — BidIt accepts non-custodial Bitcoin payments via xpub-derived addresses (bitcoinjs-lib, BIP32) — no third party holds keys.
  • Solana / Cosmos — not used. The portfolio is EVM-first, plus non-custodial Bitcoin.

BidIt's payment surface (the multi-chain reference): native Bitcoin + EVM ETH/USDC/USDT across Ethereum, Base, Polygon, Arbitrum, and Optimism, all admin-toggleable at runtime — see Integrations-Payments.md.


Comparison alternatives (not used)

Library Notes
Foundry Solidity-native dev tools. No contracts are developed in-portfolio.
web3.js Older Ethereum lib. ethers / viem replaced it.
Privy / Dynamic / Magic Embedded-wallet auth (email -> wallet). WalletConnect covers the bring-your-own-wallet case.
Alchemy / Infura / QuickNode SDKs RPC providers. Underlying RPC only; no app surface code calls them directly.

Decision guide

Building an EVM payment flow in React?  wagmi + viem (BidIt pattern).
Need non-custodial deposit addresses?   HD xpub derivation (BidIt BTC, GGPI USDC on Base).
Wallet-connect UI?                      WalletConnect (BidIt); RainbowKit if you want a polished drop-in.
Writing smart contracts?                OpenZeppelin libraries + Hardhat or Foundry (none in-portfolio yet).
"Should we add Solana?"                 Only if a customer needs it — the portfolio's stack is EVM + Bitcoin.