Deploying Owl API on your own Roll-Up with Celestia and Caldera — Part 1

Owl Protocol
owlprotocol
Published in
5 min readApr 17, 2024

Owl Protocol’s API can be deployed with any EVM chain, and with Caldera and Celestia, you can create extremely fast, dedicated, and efficient L2+ app chains easily, and build faster than ever before with our simple API.

For Celestia’s Infinite Space Bazaar hackathon participants, please join our Discord at https://discord.gg/YxdgTgVmBe if you have any questions or problems.

Getting Started

We are going to launch our own app chain on Caldera, with Celestia as the data availability layer and Owl Protocol’s API deployed. With Owl’s API you can easily integrate an app chain with any Web2 application or build hybrid Web3 apps with a simple REST API.

With Caldera and Owl, You Can

  • Deploy your own app chain with just a few clicks
  • Scale your app chain as your project grows
  • Benefit from Caldera’s robust and reliable infrastructure
  • Seamlessly integrate Owl Protocol’s features into your app chain

What is Owl Protocol?

Owl Protocol is a complete API for launching Smart Wallets and deploying web3 business applications for any EVM chain. With Owl’s API you can easily integrate web3 features into web2 applications with just a REST API.

This is very different than most Web3 APIs that usually just provide indexed blockchain data or allow for more efficient queries.

How It Works

Owl Protocol’s API creates a MPC-wallet for every developer and user under the hood that is used to sign transactions, then uses a bundler and paymaster contract to handle gas fees.

Combined with extremely fast rollup chains powered by Celestia, it makes it possible for a responsive API that feels more like any traditional service API.

1. Create a Chain on Caldera

First create a New Rollup by clicking the button in the top right

For compatibility with Owl Protocol, select ETH as the native token, and Celestia as the data availability layer, as shown below:

2. Create a New Project on Owl Protocol

Now we will go over to Owl Protocol at https://dashboard.owlprotocol.xyz and create a project that uses this app chain.

  1. Clicking “Add Custom Network” will open a right window to add your Caldera app chain.
  2. You can name the network anything, but typically this should be the same name as the “Rollup Name” in Caldera.
  3. Then copy the RPC URL and Chain ID from your Caldera dashboard, and since we used ETH for the native token, the symbol here is ETH.

You can find the RPC URL in the “Nodes” section in Caldera, as the Leader RPC:

Once you have the fields filled out, click Create Network.

Owl Protocol will query the RPC URL and will check that the RPC works and that the Chain ID matches the one you entered.

Now fill in the rest of the information for your project, such as the name and description, then check the box next to the newly added network from Caldera.

3. Funding the Gas Tank

The Owl Protocol API uses a transaction bundler, paymaster smart contract, relayer, and a gas tank (utility address) to pay and broadcast the transactions generated from the API.

In simple terms, a utility address stores the gas fees for all transactions on your chain, which we just call the Gas Tank.

On public networks, Owl Protocol funds these and bills developers monthly for their gas usage. However, since this is your own app chain, you will need to fund the utility address yourself using ETH or testnet Sepolia ETH.

Make sure you fund at least 1.5 ETH on Caldera testnets.

  1. Check the current gas tank (utility address) balance in the Blockchain section of the Owl Protocol dashboard.

2. To refill the gas tank if the balance is 0, click the warning box or “More Info” button to show the blockchain information, which will display the Gas Tank Address.

3. You will need to send at least 1.5 ETH or testnet Sepolia ETH from a faucet or given to you from a friend. If you’re at the hackathon there’s probably numerous ways to get it from the support team.

If you have never requested testnet tokens from a faucet, or sent ETH before using a crypto wallet, please reach out to us on Discord for help.

https://discord.gg/YxdgTgVmBe

4. Using Owl Protocol API

Owl Protocol’s API is a simple REST API; view our API playground to see all the different types of actions you can do:

docs-api.owlprotocol.xyz

But first you need an API key, which you’ll find directly on your project overview, under the project name:

Next read our example project guide below, to see an example of how to use the API Key.

Read Our Demo Project Guide

Our demo project post will give you an idea of what you can build with our API: Part 2 — Demo Project Guide — Coming Soon.

About Owl Protocol

Owl Protocol is a complete API for launching Smart Wallets and deploying web3 business applications for any EVM chain. With Owl’s API you can easily integrate web3 features into web2 applications with just a REST API.

For more information about Owl Protocol, visit the Website, Twitter, Blog, or join the Discord community.

--

--

Owl Protocol
owlprotocol

Twitter:@owlprotocol_xyz — #Web3 for Every Business, One Simple API - as easy to use as any Web2 #API, just sign up, get an API key, and deploy on any EVM Chain