BWICK Bridge

The BWICK Bridge enables cross-chain transfers between Solana and bwickchain. It uses a Pool Bridge architecture with a custom Anchor program on Solana, ensuring proper custody and supply conservation across both chains.

How It Works

The bridge operates through a liquidity pool on Solana and the x/bridge module on bwickchain:
  • Deposit (Solana to bwickchain) — Lock tokens in the pool vault, mint equivalent tokens on bwickchain
  • Withdraw (bwickchain to Solana) — Burn tokens on bwickchain, release from pool vault on Solana
┌─────────────────────────────────────────────────────────┐
│                        SOLANA                            │
│                                                          │
│   bwick-bridge program (Anchor)                            │
│   ├── BridgePool (admin, relayer, vault, totals)         │
│   ├── UserAccount (owner, bwick_chain_address, tracking)   │
│   └── Pool vault (holds all deposited BWICK)               │
│                                                          │
└─────────────────────────────────────────────────────────┘

                     Relayer Service

┌─────────────────────────────────────────────────────────┐
│                       BWICK CHAIN                          │
│                                                          │
│   x/bridge module                                        │
│   ├── MsgMintFromBridge (relayer-controlled)             │
│   └── MsgBurnForBridgeOut (user-initiated)               │
│                                                          │
└─────────────────────────────────────────────────────────┘

Supply Conservation

The bridge maintains a strict invariant — no tokens are created or destroyed in transit:
Solana Circulating + Pool Vault + bwickchain Supply = 1,000,000,000 BWICK
DirectionSolana CirculatingPool Vaultbwickchain Supply
Before depositX00
After depositX - amount+amount+amount
After withdrawX + amount-amount-amount
The total across all three locations never changes.

Key Features

Self-Custody

Your tokens are held in an auditable on-chain pool vault, not a centralized treasury.

User-Initiated Burns

You sign your own burn transactions on bwickchain — the relayer cannot move your funds.

Rate Limiting

Governance-controlled limits prevent abuse: max 1M BWICK per transaction, 10 burns per block.

Finality Confirmation

The relayer waits for 32-slot finality on Solana before processing deposits.

Supported Wallets

ChainSupported Wallets
SolanaPhantom, Solflare, and other Solana Wallet Adapter-compatible wallets
bwickchainKeplr, Leap, BWICK Wallet

Next Steps

Deposit

Transfer tokens from Solana to bwickchain

Withdraw

Transfer tokens from bwickchain to Solana

Architecture

Technical deep-dive into the bridge system

Fees & Limits

Rate limits, minimums, and gas requirements