Skip to main content

How to Add and Configure Supported Blockchain Networks

This guide provides step-by-step instructions for administrators on how to add, configure, and manage supported blockchain networks on the WhiteLabel Community Deals Platform.

Table of Contents

  1. Overview
  2. Prerequisites
  3. Accessing Blockchain Network Settings
  4. Managing Available Networks
  5. Configuring Network-Specific Parameters
  6. Testing Network Connectivity
  7. Best Practices
  8. Troubleshooting

Overview

The WhiteLabel Community Deals Platform supports multiple blockchain networks for token issuance, trading, and other operations. Adding and configuring blockchain networks allows your platform to:

  1. Offer users a choice of blockchain networks for their deals
  2. Take advantage of different network characteristics (speed, cost, security)
  3. Expand your platform's compatibility with various blockchain ecosystems
  4. Provide flexibility for issuers with specific network preferences

This guide will walk you through the process of managing which blockchain networks are available on your platform and how to configure them properly.

Prerequisites

Before you begin, ensure you have:

  • Admin access to the WhiteLabel Community Deals Platform
  • Basic understanding of blockchain technology and differences between networks
  • Access to RPC endpoints for the networks you want to add (if custom configuration is needed)
  • Knowledge of gas fee structures and transaction costs on different networks
  • Understanding of the smart contract deployment process

Accessing Blockchain Network Settings

  1. Log in to your admin account and navigate to the Admin Dashboard.

  2. Access Platform Settings by clicking on "Platform Settings" in the left sidebar navigation menu.

  3. Navigate to the Features tab by clicking on "Features" in the tab navigation at the top of the Platform Settings page.

  4. Locate the Blockchain Settings section on the right side of the page, which contains the "Available Blockchain Networks" configuration.

Managing Available Networks

The Available Blockchain Networks section allows you to select which blockchain networks will be available for token deals on your platform:

  1. View Available Networks:

    • The system displays a list of supported blockchain networks
    • Networks currently include:
      • Ethereum
      • Polygon
      • Avalanche
      • Binance Smart Chain
      • Arbitrum
      • Optimism
      • Base
  2. Enable/Disable Networks:

    • Click the checkbox next to each network to enable or disable it
    • Enabled networks (with red checkmarks) will be available for users to select when creating deals
    • Disabled networks will not be available as options
  3. Prioritize Networks:

    • Networks are displayed in order of priority
    • The order affects which networks are suggested to users by default
    • Currently enabled networks will appear at the top of selection dropdowns
  4. Save Changes:

    • After selecting the networks you want to enable, scroll to the bottom of the page and click "Save Settings"
    • The system will update the available networks configuration

Configuring Network-Specific Parameters

For each enabled blockchain network, you may need to configure specific parameters:

  1. Access Network Configuration:

    • After enabling networks and saving, navigate to the Smart Contract Settings
    • Click the "Configure Contracts" button at the top of the Platform Settings page
  2. Select Network to Configure:

    • In the Service Contract Details section, click on the network you want to configure
    • The system will display network-specific settings
  3. Configure RPC Endpoints (if applicable):

    • Enter the RPC URL for the selected network
    • You can use public RPC endpoints or your own private endpoints
    • Private endpoints typically offer better performance and reliability
  4. Set Gas Price Strategy:

    • Configure how gas prices are determined for transactions
    • Options may include:
      • Standard (network default)
      • Fast (higher gas price for faster confirmation)
      • Custom (manually specified gas price)
  5. Configure Block Confirmation Requirements:

    • Set how many block confirmations are required before considering a transaction final
    • Higher values increase security but add delay
    • Recommended values vary by network (e.g., more for Ethereum, fewer for Polygon)
  6. Save Network Configuration:

    • After configuring network parameters, save your changes
    • The system will update the network-specific settings

Testing Network Connectivity

After adding and configuring blockchain networks, it's important to test connectivity:

  1. Verify Network Status:

    • Check that the platform can connect to each enabled network
    • Verify that block data is being received correctly
    • Confirm that the network's current gas prices are displayed accurately
  2. Test Transaction Submission:

    • Submit a test transaction on each network
    • Verify that the transaction is broadcast successfully
    • Confirm that the transaction is confirmed on the blockchain
  3. Test Smart Contract Interaction:

    • Try interacting with a smart contract on each network
    • Verify that contract calls execute correctly
    • Confirm that events are properly captured and displayed

Best Practices

To ensure optimal blockchain network configuration:

  1. Start with major networks:

    • Begin by enabling well-established networks like Ethereum and Polygon
    • Add additional networks as demand and resources allow
    • Consider network adoption rates when prioritizing
  2. Consider gas costs:

    • Layer 2 solutions and sidechains (like Polygon, Arbitrum, Optimism) typically have lower gas costs
    • Ethereum mainnet has higher security but also higher transaction costs
    • Balance cost and security based on your platform's needs
  3. Monitor network health:

    • Regularly check the status of enabled networks
    • Be prepared to temporarily disable networks experiencing issues
    • Have contingency plans for network congestion or outages
  4. Stay updated on network changes:

    • Follow announcements from blockchain networks about upgrades or forks
    • Update your configuration as needed when networks evolve
    • Test thoroughly after any network upgrades
  5. Document your configuration:

    • Maintain records of enabled networks and their configurations
    • Document the reasoning behind network selections
    • Keep track of RPC endpoints and other network-specific settings

Troubleshooting

Common Network Configuration Issues

IssueSolution
Network connection failuresCheck RPC endpoint validity and network status
Transactions stuck pendingReview gas price strategy and network congestion
Contract deployment failuresVerify contract code compatibility with the network
Slow transaction confirmationsAdjust block confirmation requirements or gas price strategy
Network not appearing in dropdownEnsure network is enabled and settings are saved

Network-Specific Troubleshooting

NetworkCommon IssuesSolutions
EthereumHigh gas costs, slow confirmationsUse priority fee, consider scheduling transactions during low-congestion periods
PolygonRPC endpoint reliabilityUse dedicated or premium RPC services, have backup endpoints
AvalancheC-Chain compatibilityEnsure contracts are compatible with Avalanche C-Chain
Binance Smart ChainCentralization concernsUnderstand the trade-offs, communicate to users
Layer 2 solutions (Arbitrum, Optimism)Withdrawal delaysEducate users about bridging and withdrawal timeframes

If you encounter persistent issues with a specific blockchain network:

  1. Check the network's status page or community forums
  2. Consider using alternative RPC endpoints
  3. Consult with your blockchain development team
  4. Temporarily disable the problematic network if necessary

By following this guide, you'll be able to effectively add and configure supported blockchain networks on the WhiteLabel Community Deals Platform, providing users with flexible options for their token deals.