Giter Site home page Giter Site logo

poocart / lend721 Goto Github PK

View Code? Open in Web Editor NEW
19.0 4.0 18.0 3.27 MB

Ethereum ERC-721 tokens lending platform

Home Page: https://lend721.app

Solidity 28.82% JavaScript 67.19% HTML 1.41% TypeScript 2.40% Shell 0.18%
ethereum ethereum-contract ethereum-dapp erc-721 defi openzeppelin arweave thegraphprotocol lend721

lend721's Introduction

Ethereum ERC-721 tokens lending platform

๐Ÿ’ก Description

LEND721 is Ethereum Smart Contract that allows lending ERC-721 Smart Contracts (NFT) and gain interest from it. On the other hand it allows to borrow same NFT's that are set for lending by paying collateral to LEND721 which handles the lend process.

Current stage: beta.

๐Ÿน Deployed client dApps on Netlify

๐Ÿ  Smart Contract addresses across Ethereum networks

Note: Smart Contract calls are proxied to main Smart Contract so calls destination is the Proxy Smart Contract itself.

โœ… To do

  • Client dApp: show lent data
  • Client dApp: show borrowed data
  • Client dApp borrower: call DAI approve method
  • Client dApp borrower: call borrow method
  • Client dApp lender: call ERC-721 approve method
  • Client dApp lender: call ERC-721 lend set method
  • Set duration for lendings
  • Deploy Smart Contract to mainnet
  • Verify Smart Contract in mainnet Etherscan
  • Put lenders addresses with lent tokens somwehere outside of smart contract (UX improvement) โ€“ (note: solved with thegraph.com)
  • Show message when collateral was already taken on expired lend
  • Show success or error messages on each transaction
  • Email reminders for borrower or lender
  • Allow edit lend

๐Ÿงฉ Deploy to The Graph

Run from .thegraph:

yarn subgraph:prepare
yarn subgraph:codegen
yarn subgraph:deploy

More info โ€“ thegraph.com/docs/deploy-a-subgraph.

๐Ÿ“ Deploy dApp on Arweave

Setup Arweave:

npm i -g arweave-deploy
arweave key-create ~/arweave-key.json
arweave key-save ~/arweave-key.json

Get AR tokens from Arweave team and deploy from client by running yarn deploy.

lend721's People

Contributors

dependabot[bot] avatar poocart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.