project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

BoxedGHO

Covert GHO & send across any chain into any token using the Box & Smart contract wallet integration

BoxedGHO

Created At

LFGHO

Winner of

Family - Pool Prize

Prize Pool

Project Description

BoxedGHO combines smart contract accounts & the Box to embed GHO as payment input and convert it to any desired recipient chain/token. In simpler terms it allows users to:

  • Signup/Login with social accounts and get a crypto wallet address
  • Top up their own or a fren's GHO balances with fiat using web2 payment gates
  • Swap and Bridge GHO into any token on any chain and to any recipient

How it's Made

BoxedGHO is a web application stacked on the latest version Next.js app router(14.0.4) and its in-built Api server x Mongoose x MongoDB for all our off chain storage requirements, to fully deep how our project is built, we will break it down into its distinctive features and explain how the tech stacks together to make Boxed GHO (New version of Next.js out during hackathon.)

1. Signup with social accounts and get a crypto wallet.

Over here our team hacked with ZeroDev/Wagmi( Viem ) & ConnectKit for smart account wallet integration and the ability to sponsor gasless features for our AA wallet users

2. Top up their own or a fren's GHO balances with fiat using web2 payment gates.

We wanted to do a little experimenting here so we didn’t just make a simple faucet, we went a little deeper by making a contract in Solidity/Remix than can stake ETH on Aave and borrow GHO & linked African web2 payment provider Flutterwave on frontend to accept fiat payments sell GHO to user at a small markup (Debt repaid when providers settle fiat payment). We wanted to take this a little further by doing an off-chain/on-chain proof of reserve for our GHO Top-Up 'facilitator' but time constraints held it back. (All onramp txns tested on Sepolia.)

3. Swap and Bridge GHO into any token on any chain and to any recipient.

We got into the Box from Decent.xyz to help us achieve the key part of our build here, swap or swap & bridge GHO into any token on any chain and to any recipient. We specifically use box-common, box-hooks & box-ui to get this job done since we want to build our own custom widget. (All bridging txns tested on Mainnet.)

4. TEST SMART ACCOUNTS HISTORY

You can use the transaction Hashes from the links below on https://layerzeroscan.com/tx/<transactionHash> to see full bridge information including destination chain details:

background image mobile

Join the mailing list

Get the latest news and updates