cryptocommerce-sdk@latest:~$
$ npm install cryptocommerce-sdk
Installing CryptoCommerce SDK...
✓ Payment gateway initialized
✓ Multi-chain support enabled
✓ Shopping cart integration ready
$ _

<crypto>
Cryptocurrency Payment SDK
for Ecommerce & Shopping </crypto>

Integrate cryptocurrency payments into your online store in minutes.
Support for Bitcoin, Ethereum, Solana, and 50+ cryptocurrencies. Secure, fast, and developer-friendly.

50+
Cryptocurrencies
1000+
Merchants
<5min
Integration Time

Powerful Features for Modern Ecommerce

💳

Multi-Currency Support

Accept Bitcoin, Ethereum, Solana, USDC, and 50+ cryptocurrencies. Automatic conversion and settlement.

🛒

Shopping Cart Integration

Seamless integration with Shopify, WooCommerce, Magento, and custom ecommerce platforms.

Instant Payments

Real-time payment processing with blockchain confirmation. No waiting for bank transfers.

🔒

Secure & Private

End-to-end encryption, non-custodial wallets, and privacy-first architecture.

🌐

Cross-Chain Payments

Accept payments from any blockchain. Automatic bridge routing for seamless user experience.

📊

Analytics Dashboard

Real-time transaction monitoring, revenue analytics, and customer insights.

Get Started in 5 Minutes

Installation
npm install cryptocommerce-sdk
# or
yarn add cryptocommerce-sdk
Basic Integration
import { CryptoCommerce } from 'cryptocommerce-sdk';

const sdk = new CryptoCommerce({
  apiKey: 'your-api-key',
  network: 'mainnet'
});

// Initialize payment
const payment = await sdk.createPayment({
  amount: 99.99,
  currency: 'USD',
  crypto: 'SOL',
  orderId: 'order-123'
});

// Display payment QR code
payment.showQRCode();
Webhook Handler
// Handle payment confirmation
sdk.on('payment.confirmed', (event) => {
  console.log('Payment confirmed:', event.orderId);
  // Update order status in your database
  updateOrderStatus(event.orderId, 'paid');
});

API Reference

createPayment()

Create a new cryptocurrency payment request.

Parameters:
  • amount - Payment amount in fiat currency
  • currency - Fiat currency (USD, EUR, etc.)
  • crypto - Cryptocurrency to accept (BTC, ETH, SOL, etc.)
  • orderId - Your order identifier

getPaymentStatus()

Check the status of a payment transaction.

Parameters:
  • paymentId - Payment transaction ID

getSupportedCurrencies()

Get list of supported cryptocurrencies and fiat currencies.

Solana Payment Oracle

Zero-Knowledge payment verification oracle for Solana transactions. Verify payments without revealing transaction details.

🔒

Zero-Knowledge Proofs

Verify payments without exposing transaction amounts or addresses

Real-Time Verification

Instant payment confirmation using Solana blockchain transactions

🛡️

Privacy First

Complete transaction privacy with selective disclosure

🔗

Ecommerce Integration

Easy SDK integration for any ecommerce platform

Payment Verification

Payment Dashboard

Manage SOL payments and verify transactions using zero-knowledge proofs

All-Time Volume
$0.00
From verified payments only
Total SOL Received
0.00000000 SOL
Verified Payments
0
ZK Proofs Generated
0
Pending Verification
0

Payment Management

Zero-Knowledge Verification

How ZK Verification Works

  1. Payment is made to a Solana wallet address
  2. ZK proof is generated proving payment amount without revealing details
  3. Oracle verifies the proof and confirms payment
  4. Merchant receives confirmation without seeing transaction details

Verify Payment

Oracle Settings

Your Solana wallet address for receiving payments. You can paste it from your clipboard.
Default token for payments
Number of confirmations required

Webhook Management

Integration Examples

React Ecommerce

import { CryptoCommerce } from 'cryptocommerce-sdk';

function CheckoutButton({ order }) {
  const handlePayment = async () => {
    const sdk = new CryptoCommerce({ apiKey: 'xxx' });
    const payment = await sdk.createPayment({
      amount: order.total,
      currency: 'USD',
      crypto: 'SOL',
      orderId: order.id
    });
    payment.showModal();
  };

  return (
    <button onClick={handlePayment}>
      Pay with Crypto
    </button>
  );
}

Node.js Backend

const { CryptoCommerce } = require('cryptocommerce-sdk');

app.post('/api/checkout', async (req, res) => {
  const sdk = new CryptoCommerce({ apiKey: process.env.API_KEY });
  
  const payment = await sdk.createPayment({
    amount: req.body.amount,
    currency: 'USD',
    crypto: req.body.crypto,
    orderId: generateOrderId()
  });

  res.json({ paymentId: payment.id, qrCode: payment.qrCode });
});

Shopify Integration

// Shopify Liquid Template
<script src="https://cdn.cryptocommerce.io/sdk.js"></script>
<script>
  const sdk = new CryptoCommerce.SDK({
    apiKey: '{{ shop.metafields.crypto.api_key }}'
  });

  document.getElementById('crypto-pay')
    .addEventListener('click', async () => {
      const payment = await sdk.createPayment({
        amount: {{ cart.total_price }},
        currency: 'USD',
        crypto: 'BTC',
        orderId: '{{ cart.token }}'
      });
      payment.showModal();
    });
</script>

Documentation

Getting Started

Complete guide to integrating CryptoCommerce SDK into your application.

Read More →

Payment Methods

Learn about supported cryptocurrencies and payment options.

Read More →

Webhooks

Set up webhooks to receive payment notifications in real-time.

Read More →

Security

Best practices for secure cryptocurrency payment processing.

Read More →

Mini Game - Free to Play

Click targets to score points! Free to play - just connect your wallet to start. Compete on the leaderboard!

Score: 0
Lives: 5
Time: 0s
Combo:
Level:

Ready to Play?

Connect your wallet and click Start Game!

Leaderboard

No scores yet. Be the first!