🔵

# Base Network Integration

Complete guide for integrating Base networks into your Bicrypto Ecosystem

## 📖 Overview

This guide shows you how to integrate Base networks (Base Mainnet and Goerli testnet) into your Bicrypto Ecosystem. Base is an EVM-compatible network, so the process is similar to Ethereum, BSC, and Polygon.

Base Network Features

Base Mainnet and Goerli testnet are supported. ETH on Base is used for transaction fees. Gas fees are generally lower than Ethereum mainnet.

## 1️⃣ Configure Environment Variables

### Base Environment Variables

Add the following Base-specific variables to your `.env` file:

    # Base Networks (mainnet, goerli) - using https://blastapi.io/
    BASE_EXPLORER_API_KEY="YOUR_BASE_EXPLORER_API_KEY"  # e.g., FADCSQ8K1ZDD384EE4...
    BASE_NETWORK="goerli"
    BASE_MAINNET_RPC="https://YOUR_MAINNET_RPC_PLACEHOLDER"
    BASE_MAINNET_RPC_WSS=""
    BASE_GOERLI_RPC="https://YOUR_GOERLI_RPC_PLACEHOLDER"
    BASE_GOERLI_RPC_WSS=""

• BASE_EXPLORER_API_KEY: Your API key for Base block explorer

• BASE_NETWORK: Active network (mainnet or goerli)

• RPC/WSS URLs: HTTP and WebSocket endpoints for each network

## 2️⃣ Acquire RPC Endpoints

BA

### BlastAPI for Base Networks

Sign up at blastapi.io and create a project for Base Mainnet or Goerli. They offer generous monthly call limits for Base networks.

`Insert the HTTP (and possibly WSS) URLs into your .env`

## 3️⃣ Apply Environment Updates

## 4️⃣ Configure Master Wallet

## 5️⃣ Enable Tokens and Configure Fees

## 🔍 Base-Specific Considerations

### Lower Gas Fees

Base gas fees are generally lower than Ethereum mainnet, but can still vary. Adjust your minimum fees accordingly and monitor network changes.

### Testnet Development

For testing, set `BASE_NETWORK="goerli"` and acquire test ETH from Base testnet faucets.

## 🔒 Security & Best Practices