Giter Site home page Giter Site logo

open-sorcerer / gho-nexus-protocol Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 2.84 MB

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.

Home Page: https://gho-nexus-protocol-8869.vercel.app

License: MIT License

JavaScript 1.05% TypeScript 52.90% CSS 1.07% Solidity 44.98%
ccip chainlink connectkit nextjs nextjs14 preline tailwindcss ghoaave

gho-nexus-protocol's Introduction

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

gho-nexus-protocol's People

Contributors

aayush-gupta-coder avatar saviour1001 avatar suvraneel avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

saviour1001

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.