Skip to content

BridgeKitLabs/bridgekit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

BridgeKit

The Stripe for BNB Chain — Web2 SaaS & Marketplace Payments Made Easy

BridgeKit is a developer-first SDK that makes it simple for Web2 developers and SaaS teams to integrate BNB Chain payments, wallets, and blockchain functionality into their apps and marketplaces.

Our mission is to remove friction, abstract blockchain complexity, and let developers focus on building great apps while BridgeKit handles the blockchain integration.

🌐 GitHub Repository (placeholder)


Concept & Vision

BridgeKit enables developers to integrate blockchain payments as easily as Stripe, without prior blockchain experience. The SDK provides:

Core Payment Adapters — Plug-and-play modules for authentication, subscriptions, usage-based billing, and marketplaces. Future Modules / Adapters — Expand functionality for AI-triggered billing, NFTs, workflow-triggered payments, and analytics dashboards. Developer Sandbox & Documentation — Simple onboarding, guides, and working code examples reduce integration friction and accelerate adoption.

Goal: Make BNB Chain the default payment layer for modern web apps and marketplaces while keeping Web2 workflows familiar and simple.


Key Features (Planned)

Feature Description
Wallet Integration Connect user wallets seamlessly (MetaMask, WalletConnect)
Payments Accept BNB and BEP20 tokens with automated transaction verification
Modular Adapters Future-proof architecture for subscriptions, AI billing, NFTs, analytics
Developer-Friendly APIs Simple endpoints, React components, and SDK methods
Sandbox & Testnet Support Test transactions and billing logic safely before going live
Plug-and-Play Modules Easily integrate into existing SaaS, marketplace, or AI workflows

How It Works

Step 1 — Install & Import      Developer installs BridgeKit SDK
Step 2 — Connect Wallet        User connects MetaMask or WalletConnect
Step 3 — Configure Module      Choose payment, subscription, or usage-billing module
Step 4 — Execute Transaction    Call SDK methods to process payments or bill usage
Step 5 — Monitor Activity      Access logs, dashboards, and webhooks for real-time updates

Use Cases: SaaS subscriptions, marketplace payments, AI usage billing, e-commerce crypto payments, developer platform integrations.


Planned Roadmap

Phase 1 — MVP / Core SDK

  • Wallet integration, basic payments, usage-based billing
  • Developer sandbox environment, documentation, and sample integrations

Phase 2 — Platform Integrations

  • Integrate with popular SaaS & web platforms (AISDK, WooCommerce, Clerk, BetterAuth, Trigger.dev)
  • Transaction monitoring, webhooks, and developer dashboard

Phase 3 — Mainnet Release & Expansion

  • Continuous testing, bug fixes, and stability improvements
  • Full documentation, developer guides, and additional adapters (AI billing, NFTs, analytics dashboards)

Why BridgeKit is Innovative

  • Web2 Developer-Focused: Unlike most blockchain SDKs targeting crypto-native devs, BridgeKit is designed for SaaS and Web2 app teams.
  • Modular & Extensible: Add new adapters over time for new use cases.
  • Plug-and-Play: Integrate payments, wallets, and blockchain features without rewriting existing workflows.
  • Scalable: Built for marketplaces, SaaS platforms, and AI-powered tools.
  • Developer-Friendly: Sandbox, sample apps, and documentation make adoption fast and frictionless.

System Architecture

                +------------------------+
                |       Frontend         |
                |  (Next.js / React)     |
                +-----------+------------+
                            |
                            | SDK Integration
                            |
                +-----------v------------+
                |     Wallet Layer       |
                | (MetaMask / WalletConnect)
                +-----------+------------+
                            |
                            | RPC Calls
                            |
                +-----------v------------+
                |    BNBChain Network    |
                +-----------+------------+
                            |
             +--------------+---------------+
             |                              |
+------------v-----------+     +------------v-----------+
|   Payment Adapter       |     |  Subscription Adapter  |
| - One-time & recurring  |     | - Manage subscriptions |
|   payments              |     | - Usage tracking       |
+-------------------------+     +------------------------+

Technology Stack

Layer Technologies
Blockchain BNB Chain
SDK / Adapters TypeScript, Node.js
Frontend React, Next.js, Tailwind CSS
Web3 Libraries ethers.js, wagmi, viem
Backend Node.js, Express, API endpoints, Webhooks
Wallet Support MetaMask, WalletConnect, BNB Chain-compatible wallets

Installation (Concept / Pre-MVP)

# Clone repository
git clone https://github.com/BridgeKitLabs/bridgekit
cd bridgekit

# Install dependencies
npm install

# Start development server
npm run dev

Note: SDK is in early development; this setup is for demonstration and grant purposes.


Example Usage (Concept)

import BridgeKit from "bridgekit-sdk"

const bridgeKit = new BridgeKit({
  network: "bnb",
  rpcUrl: "https://bsc-dataseed.binance.org/"
})

// Connect user wallet
await bridgeKit.connectWallet()

// Execute a test payment
await bridgeKit.pay({
  amount: "0.5 BNB",
  recipient: "0x1234567890abcdef"
})

// Track usage-based billing
await bridgeKit.usageBill({
  user: "0x1234567890abcdef",
  action: "API_CALL",
  units: 5
})

Get Involved / Early Interest

BridgeKit is currently in planning and early development. We welcome:

  • Developer feedback
  • Early adopters
  • Collaborators interested in shaping the SDK

Contact: princeajuzie1@gmail.com (placeholder)


License

MIT License

About

The Stripe for BNB Chain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors