Skip to content

Get Started with Bobabase

Bobabase 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 Moonbase Alpha. 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://bobabase.boba.network/
Replica RPC
https://replica.bobabase.boba.network/
Name RPC URL
WSS
wss://wss.bobabase.boba.network/
Replica WSS
wss://replica-wss.bobabase.boba.network/

Quick Start

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

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

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

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

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

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

// Define provider
const provider = new ethers.JsonRpcProvider(providerURL, {
    chainId: 1297,
    name: 'bobabase'
});

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 Bobabase (for example, MetaMask).

Chain ID

Bobabase chain ID is: 1297, which is 0x511 in hex.

Block Explorer

The Bobabase block explorer is an instance of Blockscout.

Connect MetaMask

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

Note

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

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.

Get Tokens with the Faucet

TestNet BOBA is distributed via a tweet-authenticated faucet on Bobabase Gateway, a home for your Boba Layer 2 activities akin to apps.moonbeam.network. Bobabase allows fee payment in either DEV or TestNet BOBA, and you can toggle this setting via a dropdown in the upper right corner.

To get some TestNet BOBA, take the following steps:

  1. Head to Bobabase Gateway
  2. Ensure you're on the BobaBase network and click Connect to connect your MetaMask wallet
  3. Press Tweet Now, and send the public tweet
  4. Copy the link to the tweet and paste it in the box
  5. Press Authenticated Faucet and sign the following MetaMask popup

Bobabase Faucet

If you don't have a Twitter account, you can contact us on Discord to receive TestNet BOBA.

Bridge from Moonbase Alpha to Bobabase

Bobabase Gateway enables you to bridge various assets to and from Bobabase. To bridge assets from Moonbase Alpha to Bobabase, take the following steps:

  1. Head to Bobabase 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 Bobabase. To confirm arrival, click on Boba Wallet in the upper left corner or look up your account on Bobabase explorer

Bridge to Bobabase

Bridge from Bobabase to Moonbase Alpha

Bobabase Gateway enables you to bridge various assets to and from Bobabase. Note, when bridging back from the Layer 2, there is a 7-day delay before your funds are available on Moonbase Alpha. This delay is an inherent safety feature of the optimistic rollup architecture and applies only when bridging from the Layer 2 back to the Layer 1. To bridge assets from Bobabase to Moonbase Alpha, take the following steps:

  1. Head to Bobabase 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 Moonbase Alpha in 7 days. Note, there is no follow up claim transaction necessary, Boba automatically handles this step on your behalf

Bridge to Bobabase

Changing your Gas Fee Token

Either DEV or BOBA can be used to pay for gas for transactions on Bobabase. If you want to use DEV as a gas token, you must have at least 0.5 DEV bridged to Bobabase. See Bridge from Moonbase Alpha to Bobabase to learn how to bridge DEV or BOBA to Bobabase. By default, the selected gas fee token is set to BOBA. To change it to DEV, take the following steps:

  1. Press the Fee dropdown at the top right
  2. Click on DEV 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.
Last update: February 23, 2023
| Created: August 2, 2022