Skip to content

Latest commit

 

History

History
97 lines (56 loc) · 5.82 KB

README.md

File metadata and controls

97 lines (56 loc) · 5.82 KB

GHO Nexus Protocol

Interchain Credit System Leveraging GHO and Chainlink CCIP

Welcome to GHO Nexus Protocol – a cutting-edge DeFi lending and borrowing platform designed for the new era of cryptocurrency. Our platform facilitates the efficient management of digital assets across multiple blockchain networks, offering a unique, seamless experience. GHO Nexus Protocol is also the First GHO Bridge and lending and Borrowing Protocol.

Comprehensive Lending and Borrowing Ecosystem

GHO Nexus Protocol transcends a typical platform; it's an ecosystem enabling users to lend and borrow digital assets like GHO and Ethereum (ETH) across various blockchains. This feature enhances the liquidity and utility of your digital holdings.

  • Cross-Chain Functionality: Facilitate lending and borrowing of GHO and ETH across numerous blockchains.
  • Diverse Borrowing Options: Whether you want to lend ETH and borrow GHO or vice versa, our platform supports both intra-chain and cross-chain transactions to meet your financial needs.

Accuracy Powered by Chainlink Data Feeds

For precise and reliable transaction processing, GHO Nexus Protocol integrates Chainlink Data Feeds. This integration ensures real-time USD valuations of ETH, providing you the confidence to borrow GHO against your ETH holdings on any blockchain.

First GHO Bridge

Expanding beyond lending and borrowing, our dApp introduces an advanced bridge feature for GHO tokens, streamlining their transfer across blockchains.

  • Extended Capabilities: Our bridge isn't limited to GHO; it also facilitates the transfer of BnM mints across different blockchains.
  • User-Centric Design: We prioritize a frictionless user experience, covering all gas fees for token bridging to ensure smooth transactions.

Flexible Transaction Options

Our platform caters to a wide array of users and scenarios:

  • Sender Options:
    • Externally Owned Account (EOA) Address
    • Smart Contract
  • Receiver Options:
    • Externally Owned Account (EOA) Address
    • Smart Contract

Join GHO Nexus Protocol and explore the vast potential of DeFi. Bridge the blockchain divide and revolutionize digital asset management!

Smart Contract Architecture

GHO Bridge

Users can interact with our dApp, select their desired destination blockchain, and specify the EOA or smart contract address for token transfer. Leveraging Chainlink CCIP, we facilitate the transfer of GHO and BnM tokens. Like any ERC20 token, users must approve the token, and our dApp streamlines this process. TokenBridge.sol is used for Bridging.

WhatsApp Image 2024-01-21 at 20 09 44_05c9b909

WhatsApp Image 2024-01-21 at 20 09 00_0a351bec

Lending and Borrowing Protocol

Our protocol involves four key smart contracts:

  • "SourceContract" on Arbitrum Sepolia and Ethereum Sepolia (Source Chains)
  • "Balance" Contract on Ethereum Sepolia (Destination Chain)
  • "SourceGateway" Contract on Arbitrum with a _ccipReceive function for Source chain communication
  • "BalanceDestination" Contract on Ethereum Sepolia (Destination Chain)

Lend

Users deposit tokens into SourceContract, which, through Chainlink CCIP, transfers message data to the Balance contract via the BalanceDestination contract. We ensure users cannot borrow more than 80% of their lending amount. BnM tokens are integrated and valued in USD using Chainlink Data Feeds.

WhatsApp Image 2024-01-21 at 20 10 22_89cf60d7

Borrow

Users can borrow up to 80% of their lending amount in any token. The borrowing process involves the SourceContract and Chainlink CCIP, with the Balance contract verifying eligibility and instructing SourceContract via SourceGateway to disburse funds.

WhatsApp Image 2024-01-21 at 20 11 32_e45676f4

Smart Contract Addresses

GHO Bridge

TokenBridge contract deployed on Ethereum Sepolia with address: 0xfb4F2aed17a466f78587612751c0d21d4755BF57

CCIP Explorer link 0xfb4F2aed17a466f78587612751c0d21d4755BF57

TokenBridge contract deployed on Arbritium Sepolia with address: 0xaB0Ce2237830Ad713b3134e5307521f20E1C0ff6

CCIP Explorer link 0xaB0Ce2237830Ad713b3134e5307521f20E1C0ff6

Lending and Borrowing

SourceContract contract deployed on Arbitrum Sepolia with address: 0x980600E1ADA72f86d332Fb76D34D590c4Fa4BC1C

CCIP Explorer link 0x980600E1ADA72f86d332Fb76D34D590c4Fa4BC1C

SourceGateway contract deployed on Arbitrum Sepolia with address: 0x6bd9a5bc3e13cFcEB36776e601009c1c51FEF060

SourceContract contract deployed on Ethereum Sepolia with address: 0xA2e6cf09DE7acedd4329eaE1F25D0Eb5478949C1

SourceGateway contract deployed on Ethereum Sepolia with address: 0xA92Fc4369E52e5ae251C86604bd1fDdF122ccD2c

Balance contract deployed on Ethereum Sepolia with address: 0x1FB29E8c8AE352C7eccEA326d569a3E5C5C0e7C8

BalanceDestination contract deployed on Ethereum Sepolia with address: 0x41CD49f1Fb38b07E072a9C815c629A7A48b18061

Dapp Screenshots

WhatsApp Image 2024-01-21 at 22 23 07_64689764

WhatsApp Image 2024-01-21 at 22 22 09_cd473155