Complete guide for integrating Fantom (FTM) networks into your Bicrypto Ecosystem
This guide shows you how to integrate Fantom (FTM) networks into your Bicrypto Ecosystem. You'll add FTM credentials in .env, acquire API/RPC endpoints, then set up wallets and tokens in the admin panel—much like you would for Ethereum, BSC, or Polygon.
Fantom Mainnet and Testnet are supported. FTM is used for transaction fees on Fantom networks.
Add the following Fantom-specific variables to your .env file:
# FTM Networks (mainnet, testnet)
FTM_EXPLORER_API_KEY="YOUR_FTMSCAN_API_KEY" # e.g., R2UMPU4MS5FMQTV5...
FTM_NETWORK="testnet"
FTM_MAINNET_RPC="https://YOUR_MAINNET_RPC_PLACEHOLDER"
FTM_MAINNET_RPC_WSS=""
FTM_TESTNET_RPC="https://YOUR_TESTNET_RPC_PLACEHOLDER"
FTM_TESTNET_RPC_WSS=""
• FTM_EXPLORER_API_KEY: Your FtmScan (or related Fantom explorer) API key
• FTM_NETWORK: Active network (mainnet or testnet)
• RPC/WSS URLs: HTTP and WebSocket endpoints for each network
Create an account at ftmscan.com and generate an API key for blockchain data access.
FTM_EXPLORER_API_KEY="your_key_here"
Sign up for RPC services like BlastAPI or others offering Fantom endpoints with reliable uptime and generous limits.
FTM_MAINNET_RPC="https://your-endpoint"
Some tokens don't support the PERMIT feature for fee delegation. For these tokens, you'll need to deploy custodial wallets.
Ensure your master wallet has sufficient FTM to cover gas fees for custodial wallet deployments and transactions.
Go to Admin → Extensions → Ecosystem → Custodial Wallets and deploy a new custodial wallet for Fantom.
The platform will handle user deposits/withdrawals through this wallet, with the master wallet paying FTM gas fees.
Fantom typically has very low gas fees and fast transaction times, making it ideal for DeFi applications. Monitor FTM prices for optimal fee settings.
Use Fantom testnet for development. Set FTM_NETWORK="testnet" and acquire test FTM from faucets.