Skip to content

Get Started with Bobabeam

Bobabeam Banner

Introduction

Boba is a compute-focused Layer 2 (L2) built on the Optimistic Rollup developed by Optimism. Boba augments the compute capabilities of EVM-compatible blockchains with a variety of features including Turing hybrid compute. After launching on Ethereum, Boba has brought its Layer 2 scaling solution to Moonbeam. Bobabase is the name of Boba's TestNet deployment on Moonbeam, while Bobabeam refers to Boba's MainNet deployment on Moonbeam.

The information presented herein is for informational purposes only and has been provided by third parties. Moonbeam does not endorse any project listed and described on the Moonbeam docs website (https://docs.moonbeam.network/).

Network Endpoints

Name RPC URL
RPC
https://bobabeam.boba.network/
Replica RPC
https://replica.bobabeam.boba.network/
Name RPC URL
WSS
wss://wss.bobabeam.boba.network/
Replica WSS
wss://replica-wss.bobabeam.boba.network/

Quick Start

It's easy to get started building on Bobabeam. If you're using the Web3.js library, you can create a local Web3 instance and set the provider to connect to Bobabeam (both HTTP and WS are supported):

const Web3 = require('web3'); // Load Web3 library

// Create local Web3 instance - set Bobabeam as provider
const web3 = new Web3('https://bobabeam.boba.network');

For the Ethers.js library, define the provider by using ethers.providers.StaticJsonRpcProvider(providerURL, {object}) and setting the provider URL to Bobabeam:

const ethers = require('ethers'); // Load Ethers library

const providerURL = 'https://bobabeam.boba.network';

// Define provider
const provider = new ethers.providers.StaticJsonRpcProvider(providerURL, {
    chainId: 1294,
    name: 'bobabeam'
});

For more detailed tutorials on working with Ethers.js and Web3.js, head to Ethereum API Libraries. Any Ethereum wallet should be able to generate a valid address for Bobabeam (for example, MetaMask).

Chain ID

Bobabeam chain ID is: 1294, which is 0x50E in hex.

Block Explorer

The Bobabeam block explorer is an instance of Blockscout.

Connect MetaMask

If you already have MetaMask installed, you can easily connect MetaMask to Bobabeam:

Note

MetaMask will popup asking for permission to add Bobabeam as a custom network. Once you approve permissions, MetaMask will switch your current network to Bobabeam.

If you do not have MetaMask installed, or would like to follow a tutorial to get started, please check out the Interacting with Moonbeam using MetaMask guide.

Bridge from Moonbeam to Bobabeam

Bobabeam Gateway enables you to bridge various assets to and from Bobabeam. To bridge assets from Moonbeam to Bobabeam, take the following steps:

  1. Head to Bobabeam Gateway and press Connect
  2. Click on Moonbase Wallet in the upper left corner
  3. Next to the asset you'd like to bridge, press Bridge to L2
  4. Enter the amount you'd like to bridge and press Bridge
  5. Confirm the transaction in MetaMask
  6. Your funds will be available shortly on Bobabeam. To confirm arrival, click on Boba Wallet in the upper left corner or look up your account on Bobabeam explorer

Bridge to Bobabeam

Before you can make a transaction on Bobabeam, you'll need to have at least 1 BOBA. You can perform a gasless swap to exchange GLMR for BOBA by pressing Emergency Swap and signing the resulting signature request in MetaMask. To learn more about paying for gas on Bobabeam, see Changing your Gas Fee Token.

Bridge from Bobabeam to Moonbeam

Bobabeam Gateway enables you to bridge various assets to and from Bobabeam. Note, when bridging from Bobabeam to Moonbeam, there is a 7-day delay before your funds are available. This delay is an inherent safety feature of the optimistic rollup architecture and applies only when bridging from Bobabeam back to Moonbeam. There is a bridge fee of 10 BOBA when bridging from Bobabeam to Moonbeam, so ensure you have a sufficient balance of BOBA before initiating a bridge transfer. To bridge assets from Bobabeam to Moonbeam, take the following steps:

  1. Head to Bobabeam Gateway and press Connect
  2. Click on Boba Wallet in the upper left corner
  3. Next to the asset you'd like to bridge, press Bridge to L1
  4. Enter the amount you'd like to bridge and press Bridge
  5. Confirm the transaction in MetaMask
  6. Your funds will be available on Moonbeam in 7 days. Note, there is no follow up claim transaction necessary, Boba automatically handles this step on your behalf

Bridge to Moonbeam

Changing your Gas Fee Token

Either GLMR or BOBA can be used to pay for gas for transactions on Bobabeam. Note that in either case, the token you use for gas must be located on the Bobabeam network. See Bridge from Moonbeam to Bobabeam to learn how to bridge GLMR or BOBA to Bobabeam. By default, the selected gas fee token is set to BOBA. To change it to GLMR, take the following steps:

  1. Press the Fee dropdown at the top right
  2. Click on GLMR or BOBA to select the new gas fee token
  3. Confirm the transaction in MetaMask

Change gas fee token

The information presented herein has been provided by third parties and is made available solely for general information purposes. Moonbeam does not endorse any project listed and described on the Moonbeam Doc Website (https://docs.moonbeam.network/). Moonbeam Foundation does not warrant the accuracy, completeness or usefulness of this information. Any reliance you place on such information is strictly at your own risk. Moonbeam Foundation disclaims all liability and responsibility arising from any reliance placed on this information by you or by anyone who may be informed of any of its contents. All statements and/or opinions expressed in these materials are solely the responsibility of the person or entity providing those materials and do not necessarily represent the opinion of Moonbeam Foundation. The information should not be construed as professional or financial advice of any kind. Advice from a suitably qualified professional should always be sought in relation to any particular matter or circumstance. The information herein may link to or integrate with other websites operated or content provided by third parties, and such other websites may link to this website. Moonbeam Foundation has no control over any such other websites or their content and will have no liability arising out of or related to such websites or their content. The existence of any such link does not constitute an endorsement of such websites, the content of the websites, or the operators of the websites. These links are being provided to you only as a convenience and you release and hold Moonbeam Foundation harmless from any and all liability arising from your use of this information or the information provided by any third-party website or service.