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
- Overview
- Prerequisites
- Accessing Blockchain Network Settings
- Managing Available Networks
- Configuring Network-Specific Parameters
- Testing Network Connectivity
- Best Practices
- 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:
- Offer users a choice of blockchain networks for their deals
- Take advantage of different network characteristics (speed, cost, security)
- Expand your platform's compatibility with various blockchain ecosystems
- 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
-
Log in to your admin account and navigate to the Admin Dashboard.
-
Access Platform Settings by clicking on "Platform Settings" in the left sidebar navigation menu.
-
Navigate to the Features tab by clicking on "Features" in the tab navigation at the top of the Platform Settings page.
-
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:
-
View Available Networks:
- The system displays a list of supported blockchain networks
- Networks currently include:
- Ethereum
- Polygon
- Avalanche
- Binance Smart Chain
- Arbitrum
- Optimism
- Base
-
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
-
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
-
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:
-
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
-
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
-
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
-
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)
-
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)
-
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:
-
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
-
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
-
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:
-
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
-
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
-
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
-
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
-
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
Issue | Solution |
---|---|
Network connection failures | Check RPC endpoint validity and network status |
Transactions stuck pending | Review gas price strategy and network congestion |
Contract deployment failures | Verify contract code compatibility with the network |
Slow transaction confirmations | Adjust block confirmation requirements or gas price strategy |
Network not appearing in dropdown | Ensure network is enabled and settings are saved |
Network-Specific Troubleshooting
Network | Common Issues | Solutions |
---|---|---|
Ethereum | High gas costs, slow confirmations | Use priority fee, consider scheduling transactions during low-congestion periods |
Polygon | RPC endpoint reliability | Use dedicated or premium RPC services, have backup endpoints |
Avalanche | C-Chain compatibility | Ensure contracts are compatible with Avalanche C-Chain |
Binance Smart Chain | Centralization concerns | Understand the trade-offs, communicate to users |
Layer 2 solutions (Arbitrum, Optimism) | Withdrawal delays | Educate users about bridging and withdrawal timeframes |
If you encounter persistent issues with a specific blockchain network:
- Check the network's status page or community forums
- Consider using alternative RPC endpoints
- Consult with your blockchain development team
- 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.