Bonadocs <> Base Protocol Registry

Bonadocs <> Base Protocol Registry

Simplifying integrations on Base.

94
Built at Onchain Summer Buildathon

The problem Bonadocs <> Base Protocol Registry solves

Today, the Base ecosystem page (https://www.base.org/ecosystem) is the fastest way to discover and find protocols and applications built on the network. It allows users to easily find specific apps that are useful for different use cases such as defi, socialfi, etc. For builders looking to build on top of Base’s existing smart contract protocols, it’s not so great. 

Usually, devs go to the ecosystem page, find the Base protocol they want to integrate, open its docs, get the contract address, and then interact with the contracts locally on their IDE, etherscan, or tenderly. This creates fragmentation for developers directly integrating the contracts, plus, it doesn’t provide a low barrier of entry for high-level exploration of the protocol. 

The protocol registry allows Base to distribute its smart contract protocols to builders. Each protocol links to an individual playground that will enable devs to interact with their contract methods and app actions.

Challenges I ran into

Cost of simulations.

To execute simulations on the protocol playground, we built a JS EVM based on EthereumJS with custom state management that queries the simulated network on requests for 'fresh' state.

Taking ownership of the simulation process means we were able to enable simulations for more complex workflows involving the use of variables between simulated function calls. It reduces the cost to keep the protocol playground operational by reducing the dependency on a central simulation service.

However, should the local VM fail to simulate transactions, the implementation will gracefully fall back to a central simulation service, minimising the risk of a disruption in the experience of developers using the playground.

We also had issues deploying on Fleek, followed all instructions, but the site keeps displaying a list of build files instead of the app: https://res.cloudinary.com/dfkuxnesz/image/upload/v1719762255/Screenshot_2024-06-30_at_11.37.04_qkya4k.png. Temporarily, we're hosted on netlify.

Happy to sync with the Fleek's devrel to resolve this issue.

Tracks Applied (1)

Discovery Track

This registry helps improve discoverability within the Base ecosystem page by enabling devs build on top of Base’s proto...Read More

DISCOVERY with Fleek

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion