Inspiration

Money Hoarders Global Network has continued its goals of creating value in the web3 space. Inspire by Bitcoin's whitepaper MHGN Hoarder Labs developed BOP by MHGN with a fixed supply of 1.2 Billion tokens. This scarcity allowed for the creation of a self sovereign entity that a community could be built around.

What it does

The UsdcCrossChainHoarding contract uses Chainlink CCIP allows for hoarding/staking of USDC for 6% APY and hoarders can transfer their USDC to different chains where the UsdcCrossChainHoarding contract is deployed and hoard their tokens there as well. We focused on Amoy, Sepolia, and Fuji testnets for this hackathon.

https://github.com/moneyhoardersglobalnetwork/usdc-cross-chain-hoarding/blob/main/packages/hardhat/contracts/UsdcCrossChainHoardingAmoy.sol is the main contract using CCIP to transfer USDC from Amoy to Sepolia.

https://github.com/moneyhoardersglobalnetwork/mhgn-hoarding-gateway-full The MHGN Hoarding Gateway is the ecosystem Hub application in development. USDC Cross-Chain Hoarding Gateway is a new feature in development that will be deployed live to Polygon mainnet shortly.

The BOP hoarding contract is live and proven to work on Polygon Mainnet so with CCIP rolling out with USDC stablecoin support. We want to focus on bringing USDC liquidity into the BOP by MHGN protocol. The original plan was a pairing to Dai stablecoin and creation of a mint contract to launch MHGD / Money Hoarders Global Dollar which would act as the ecosystem stablecoin for Hoarder Labs projects just like the BOP token.

We now have a MhgdUsdcMint contract that mints MHGD token 1:1 using USDC. Hoarders can also send USDC cross-chain from using UsdcCrossChainHoarding contract and hoard their USDC for 6% APY. https://github.com/moneyhoardersglobalnetwork/usdc-cross-chain-hoarding/blob/main/packages/hardhat/contracts/UsdcCrossChainHoarding.sol This contract is deployed on multiple chains to allow hoarders a two way lane to transfer their USDC to any wallet or contract.

We have start support for USDC tranfers and Hoarding on Base Sepolia, Avalanche Fuji and Polygon Amoy. UsdcCrossChainHoarding contracts are deployed on each network and each network will have their own Hoarding Gateway frontend. The UsdcCrossChainHoarding repo is currently separate from the Hoarding Gateway, but will later be apart of the full app.

How we built it

Hoarder Labs uses the power of Scaffold-Eth-2 to streamline Dapp development. The Hoarding Gateway is in active development and being built out for a Polygon Mainnet launch. BOP by MHGN is already live on Polygon mainnet and is hoarding contract and faucet are active. The BOP UI is host as a separate dapp currently on mainnet here https://bop-by-mhgn-moneyhoardersglobalnetwork.vercel.app/ once the full Hoarding Gateway is live it hosts the UI built in.

Challenges we ran into

CCIP requires alot of backend work, but it improved the app by 1000% and has open a new door for the project.

Working with USDC and it having 6 decimal place challenge me to learn to display USDC data correctly.

Accomplishments that we're proud of

writing the new contracts that merged CCIP with the original hoarding contracts and fine tuning the code to work smooth.

Building the new frontend and becoming a better frontend developer.

What we learned

So much has been learned and so much more can be that im just head first in the code trying things and i love it.

What's next for Hoarder Labs USDC CCIP integration with BOP by MHGN

Bring more USDC liquidity into the protocol this hackathon. USDC is going to be a focused pairing as CCIP rolls out more. We want to work on lock and mint CCIP contracts to cross-chain the BOP token into a wrapped version WBOP that will be mintable and burnable. Hoarders will then be able to hoard BOP on different chains with new WBOP hoarding contracts.

Share this project:

Updates