Skip to content

LFGHO/gho

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

GHOvardhan

"GHOvardhan: Unleashing Digital Prosperity, Inspired by Tradition"
View Demo · Report Bug · Request Feature

About The Project

Alt text

In the heart of India's vibrant cultural tapestry lies the Govardhan festival, a symbol of abundance and divine blessings. Inspired by this auspicious legacy, our venture "GHOvardhan" emerges as a modern-day harbinger of prosperity. Just as Vardhan signifies increasing wealth and auspiciousness, GHOvardhan stands as a sanctuary of financial growth and security in the digital realm. Our company is not merely a platform; it's a guardian of your aspirations, a custodian of your digital wealth. With a suite of meticulously crafted vaults, we ensure your GHO investments flourish, echoing the very essence of Vardhan - growth and prosperity. Our services transcend mere transactions; they're a seamless fusion of tradition and innovation, designed to cater to every GHO-related need, from investing to transferring, from payments to safeguarding your digital treasures. Embrace GHOvardhan, where each interaction is not just a transaction but a step towards a future replete with blessings and prosperity, much like the auspicious Govardhan itself.

Features

  1. MultiStrategy ML-based Vaults
  2. Powerful SDK
  3. Full-fledged Account Abstraction with Gasless Transactions and Smart Accounts
  4. In-house, highy accurate ML Models
  5. Credit Delegation Extravaganza
  6. Interactive User Interface
  7. Contributing



(back to top)

GHOvardhan Vaults: Harnessing AI for Optimized Crypto Investments

Alt text

  1. Long-Term Investment Vault Maximize Your Future with AI-Driven Strategies

Our Long-Term Investment Vault is designed for the visionary investor. By leveraging advanced machine learning models, this vault optimizes your returns over an extended period. Here's how it works:

Flexible Deposit Window: Deposit your funds at your convenience. Tailored Investment Duration: Specify your investment timeline for each deposit. Longer commitments are encouraged for optimal growth. Early Withdrawal Fee: A nominal fee is applied for withdrawals before the specified deadline, ensuring commitment to your investment journey. Personalized Portfolio Creation: Utilize our innovative NLP-based form, which gathers insights about your investment preferences and goals. This allows us to craft a unique investment portfolio that's exclusively tailored to your financial aspirations. 2. IntraDay Vault Revolutionize Your Day Trading with Credit Delegation

The IntraDay Vault represents the pinnacle of day trading innovation, utilizing credit delegation for agile and efficient intraday investments. Experience the cutting edge of cryptocurrency trading:

Credit Delegation Mechanism: As delegators, users entrust us with their credits, and we, the vault, act as the delegatee, deploying these credits in dynamic intraday trading strategies. Single Daily Investment: We maintain exclusivity and focus by accepting only one deposit per user per day. This ensures maximum dedication to each day's trading potential. Automated Day Trading: Our advanced AI algorithms engage in sophisticated day trading strategies, capitalizing on daily market fluctuations. Effortless Profit Distribution: At the end of the trading day, profits are automatically calculated and distributed to investors' accounts, post-deduction of our service fee. This seamless process ensures that your investment yields are promptly and efficiently returned to you.



Full fledged Account Abstraction

Sign in with your Email or social credentials, or your metamask wallet if you're old fashioned like us.
Either way, we've got it handled ;)

Our project harnesses the innovative capabilities of ERC4337 standard for account abstraction, providing a seamless integration of smart accounts with our custom Bundler and Paymaster Infrastructure. This setup enables advanced features like ERC712 and ERC2612 permits, allowing for more secure and efficient message and transaction signing processes. By incorporating OpenZeppelin's relayer services, we ensure that transactions are relayed efficiently, enhancing the scalability and reliability of our system. Furthermore, our platform integrates a unique social login feature (Login with email, gmail, twitter, etc.), along with multi-wallet support like Metamask, *WalletConnect, and Coinbase empowering users to access their smart accounts using their social credentials. This not only simplifies the login process but also provides an option to effortlessly switch between their social-linked smart accounts and personal EOA accounts. This integration of social logins with smart accounts helps make On-chain ERC20 transactions more accessible and user-friendly, particularly for those new to the Ethereum ecosystem.

See the open issues for a full list of proposed features (and known issues).

(back to top)



ML models



The diagram above showcases the predictive performance of our ML model over a six-month period, ranging from July 2023 to January 2024, for price of ETH on the mainnet. The blue line represents the actual price of ETH as recorded over the timeframe, serving as the ground truth against which we evaluate our model's accuracy. In contrast, the orange line illustrates the predicted prices as generated by our ML model through a simulation.

The model has been trained on historical data, incorporating various features such as market trends, trading volumes, and global economic indicators, to forecast future price movements of ETH. Our model utilizes advanced algorithms capable of capturing complex patterns in the data, which is evidenced by the close tracking between the predicted (orange) and actual (blue) values. This not only demonstrates the model's robustness but also its potential utility for investors and traders seeking to navigate the volatile cryptocurrency market with greater foresight.



Credit Delegation

Alt text Alt text Alt text

Credit Delegation MarketPlace UI

We have also integrated Credit Delegation, a key component of the Aave protocol, to revolutionize the way lending and borrowing occurs in the DeFi space. Credit Delegation is a novel approach that allows users with deposited assets to delegate their credit lines to others, enabling borrowers to access loans without collateral. This mechanism is not just a financial innovation but a step towards a more inclusive and flexible lending system.

Leveraging this feature, our website offers a unique social interface where users can seamlessly interact with the DeFi lending market. Borrowers can post credit borrow requests on our platform, making their case to potential lenders. On the other side, users who wish to delegate their credit can easily browse through these requests and, with a simple click, approve and delegate their credits to a borrower. This process democratizes the lending process, connecting delegators with potential delegates directly.

Similarly, users looking to lend their credits can post a lending offer. When someone accepts their offer, the lender receives a notification in their personalized dashboard. From there, they can efficiently review and sign the transaction to delegate their credit. This system not only simplifies the borrowing and lending process but also adds a layer of social interaction, fostering a community-driven financial ecosystem.

Through our platform, we are not just facilitating financial transactions; we are building a community where trust, transparency, and collaboration are at the forefront, revolutionizing how credit is delegated in the digital age



Interactive UI

Alt text Alt text At GHOvardhan, we've meticulously crafted a user interface that's not just functional but also intuitively engaging, thanks to our cutting-edge stack comprising React, Node.js, Vite, and MongoDB. Our deployment strategy ensures a harmonious integration of both frontend and backend components, providing a seamless and robust user experience.

Frontend Deployment: Our frontend, built with the dynamic React framework, offers a responsive and interactive user interface. This is further enhanced by Vite's efficient bundling and rapid hot module replacement, ensuring a smooth and fast development experience. Our deployment strategy ensures that the UI is lightweight, fast, and accessible, regardless of the device or platform.

Backend Deployment: The backend, powered by Node.js and MongoDB, forms the backbone of our application. It's designed to handle complex data operations and provide a stable, scalable environment. MongoDB's flexible schema adapts perfectly to our varied data needs, ensuring fast and efficient data retrieval and storage.

Account Abstraction and Multi-Chain Connectivity: Central to our app's functionality is the account abstraction smart account wallet. This innovative feature simplifies the user experience by abstracting away the complexities of blockchain interactions. It connects seamlessly to multiple chains, allowing users to engage with different cryptocurrencies and blockchain services without the hassle of managing multiple wallets or interfaces.

Gasless Transactions: In our pursuit to enhance user convenience, we've integrated a system for gasless transactions. This feature is a game-changer, removing the barrier of gas fees that often hampers transaction efficiency. Users can now enjoy a frictionless experience, engaging in transactions without worrying about the additional cost of gas fees.

At GHOvardhan, we are committed to providing a technologically advanced, user-friendly platform. Our deployment strategy reflects our dedication to innovation, security, and seamless user experience, making digital investment accessible and enjoyable for everyone.




Getting Started

Using the SDK

For in detail documentation of the SDK, please refer to the Documentation

To use this SDK, ensure Node.js is installed on your system. Follow these steps to get started:

$ git  clone https://github.com/LFGHO/gho.git

$ cd gho/AaveV3SDK

$ npm  install

For dependency installation, follow these steps:

$ npm init --yes
$ npm install dotenv viem
$ npm install --save-dev typescript ts-node
$ npx tsc --init

Running the Web App Locally

  1. Clone the repo
git clone https://github.com/LFGHO/gho.git
  1. Go to repo
cd gho
  1. Configure the environment Use the .env.example files are reference to add your API keys and config parameters to be able to run the web app locally.

  2. Split the Terminal into 2 parts (Cmd + )

# 1st Terminal
  $ cd frontend_main
  $ npm install
  $ npm run dev

# 2nd Terminal
  $ cd backend_main
  $ npm install
  $ npm run dev

(back to top)

Built With

  • Solidity
  • Viem.js
  • Typescript
  • Vite Tailwind
  • React.js
  • Node.js
  • MongoDB
  • Ethers.js

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)