Code Monkey home page Code Monkey logo

praave's Introduction

Praave

Private interactions with lending protcols such as Aave utilizing Railgun for privacy preservation. Intended to be used by a browser extension which allows for a user to connect to a dApp with it's existing UI, but calling the contract function calls through the Railgun Relayer so that their interactions are private. For the Proof of Concept we will be utilizing Aave on Polygon. Beyond this Proof of Concept there is a wide range of possibilities to integrating more popular DeFi dApps on a variety of chains.

Made with ❤️ at ETHPrague 2023

https://devfolio.co/projects/praave-03ef

  • 🏆Aave: Best Use of Aave with Optimism
  • 🏆Mantle: Best DeFi Project
  • 🏆PWN: PWN
  • 🏆Taiko: Infrastructure

Railgun Integration

Railgun allows for users to transact between accounts privately, as well as with smart contracts. By combining this with the browser extension, a seamless UX is available for users who can utilize the UI they are used to while still retaining their privacy. An example flow of how this could work with Aave Protocol when taking out a loan:

  • User approves WMATIC. Normally this approves the Aave Pool contract to use WMATIC, with Praave the user approves the Railgun Relayer.
  • User calls the supply() function. Normally this deposits WMATIC to the Aave Pool, with Praave the user deposits WMATIC to the Railgun Relayer which in turn deposits on the Aave Pool.
  • User calls the borrow() function. Normally this withdraws DAI from the Aave Pool, with Praave the Railgun Relayer calls the Pool and stores the DAI in the users Railgun Private Balance.

Railgun Deployments

Please note these deployments are for demonstration purposes and are not meant to be utilised by public users.

Optimism

  • Treasury: 0x43EE0387F62a8ed5E15A9d537fAB94dfd229f50F
  • RailgunSmartWallet: 0xfa48b9d1fF28066b83DB0fB64481146ea26e1ef7

Gnosis

  • Treasury: 0x21bef676c07648CE9FBCAF49C4a5fbE2882918fB
  • RailgunSmartWallet: 0x1e8369c068eCcc5dFB848C87ce62c9eaaAd60393

Mantle (Mantle Testnet)

  • Treasury: 0x9Ee6b0FD155FDE766e52B0A3cFC4B51cC95e77Ab
  • RailgunSmartWallet: 0xf4B7A7F63250DF306c6AC03abC00Cb02Ff9b42A0

Taiko (Alpha-3 Testnet)

  • Treasury: 0x9Ee6b0FD155FDE766e52B0A3cFC4B51cC95e77Ab
  • RailgunSmartWallet: 0xf4B7A7F63250DF306c6AC03abC00Cb02Ff9b42A0

Base (Base Goerli Testnet)

  • Treasury: 0x55FEf7e9282701ebc5A18c2d751cE7e1123acFFb
  • RailgunSmartWallet: 0x236da70A06dc965d81C1dd4D439a181Af8bf7a73

Scroll (Alpha Testnet)

  • Treasury: 0x4467C5b8F01680206d0f96F7c7bB5A8506D54B24
  • RailgunSmartWallet: 0xDBCEC270C887bbA9F15696054729872f479DE1a7

praave's People

Contributors

tranquil-flow avatar bitspresso avatar

Stargazers

Tung Dao avatar

Watchers

 avatar

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.