2base

2base

Get your favourite people and their followers on Base by launching and trading profile linked tokens.

60
Built at Based India
2base

2base

Get your favourite people and their followers on Base by launching and trading profile linked tokens.

Why are you participating for Based India?

Once a majority of Indians are Onchain, a lot of use cases like Government schemes, voting, lending and finance will be unlocked with the ability to use globally built crypto primitives as building blocks. With a large community of local Base builders, we should be able to get there soon!

What challenges are you focusing on?

The challenge was to build something that can help bring more people on chain using the convenience of Base ecosystem. From supporting a small creator to an IPL team, the goal was to provide incentives for both these entities and their fans to join Base and the overall web3 community.

How does your submission address this challenge?

2base is a platform where users can create ERC20 tokens linked to accounts on platforms such as X/Twitter, GitHub and YouTube. Tokens are minted and burned using a bonding curve. Each mint and burn accrues a fee which is reserved for the web2 account linked to the token. The web2 account can claim ownership of a token by submitting a zkTLS proof of account ownership using Reclaim Protocol. Once completed, the web2 account owner can claim fees accrued. This is frictionless due to the gasless transactions on Base.
Using 2base, users can create launch profiles linked tokens of their favourite web2 creators. This can range from supporting the owner of a GitHub repo to a sports team on X/Twitter. Since the tokens are fair launched and fees are reserved for actual subjects linked to the tokens, this helps bring a sense inclusivity and part ownership of the entity linked to the profile. Also, this helps bring more followers of the entity on chain to own tokens and be a part the onchain community linked to their favourites.

Challenges we ran into

  • Integrating Reclaim protocol Solidity verification due to latest SDK not being published and Solidity version mismatch issues. Additionally, some of the methods were buggy and needed correction. We implemented some of the methods in Reclaim.sol in our contracts and imported some of the files from the SDK in our project. Additionally, some of the React integration document was outdated and methods needed replacement. Generating proofs on Android was slightly difficult to figure out.
  • Testing the full flow on hardhat was a bit difficult as verification could only happen on Sepolia.
  • Gas issues with ERC20 token factory instance deployment. Had to move some functions from token to factory to manage gas.
  • Integrating wallet connection using OnchainKit lead issues rendering the Name and Avatar component when disconnected.
  • Integrating Transactions using OnchainKit instead of wagmi hooks was a learning curve but the end experience was a lot smoother.

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