Javascript(JS)

πŸš€ Rocketfuel SDK Overview

The Rocketfuel SDK simplifies the integration of age verification and payment (PayIn) features into your web and mobile applications. It provides both server-side and client-side SDKs, ensuring secure and seamless integration across environments.

Pre-Requisites

  1. Setup your rocketfuel Account

  2. Generate clientId, clientSecret and whitelist your domain

  3. For ZKP

    1. Download CryptoX app from Goole play / ios app store

    2. OR download chrome extension

Domain Whitelisting

Domain whitelisting ensures that your SDK can only be accessed from approved domains. This helps protect your merchant account from unauthorized usage.

Steps to Whitelist a Domain

  1. Login to your Merchant Portal

  2. Navigate to Domain Whitelisting Go to: Settings > Domain Whitelisting

  3. Add Your Domain

  4. Save Changes Click on the Save or Add button to whitelist the domain.

  5. Verify Once added, your domain should appear in the list of approved domains. Only requests originating from these domains will be allowed to use the SDK.

circle-info

Important Notes:

πŸ“š Documentation

πŸ”‘ Key Features

  • Age Verification (AGE_VERIFICATION): Ensure compliance by verifying user age before restricted actions.

  • Payment Collection (PAYIN): Collect payments securely using BTC, ETH and other supported currencies.

  • Cross-environment support: Sandbox and production environments for smooth testing and deployment.

  • Modular integration: Use via CDN, npm package, or with popular frameworks (React, Vue, Angular).

Wallets That Can Be Used for Age Verification

Our system supports two environments: Sandbox and Production.

circle-exclamation

1. Android

Sandbox (Testnet App): Download Android Testnet Apparrow-up-right

Production (Mainnet App): Download Android Production Apparrow-up-right

2. iOS

Sandbox (Testnet App via TestFlight): Download iOS Testnet Apparrow-up-right

Production (Mainnet App - App Store): Download iOS Production Apparrow-up-right

3. Browser Wallet Chrome Extension

Extension Download (same for Sandbox & Production): Download Chrome Wallet Extensionarrow-up-right

Switching Network in Browser Wallet

  • Open the wallet extension in your browser.

  • Click on the Network dropdown (usually at the top).

  • Select the correct network:

    • Testnet β†’ for Sandbox

    • Mainnet β†’ for Production

Last updated

Was this helpful?