GithubHelp home page GithubHelp logo

gigameshgarages / ebbnet Goto Github PK

View Code? Open in Web Editor NEW
2.0 6.0 3.0 3.92 MB

2020 Matic Network Build-N-Earn Grant Recipient. Decentralised Dynamic Stream of Multidimensional Money Markets powered by Verified Delay Functions

Solidity 38.16% JavaScript 24.03% HTML 8.00% CSS 1.50% TypeScript 28.30%
matic-network verified-delay-functions money-streaming money-movement ethereum erc20 erc1620 starkware maticnetwork matic

ebbnet's Introduction

Title

Decentralised Dynamic Stream of Money with Continous Markets over Matic Network

Introduction

  • Money streaming represents the idea of continuous payments over a finite period of time.
  • Block Numbers are used as a proxy of time to continuously update balances.
  • Block Numbers are indexed by On-chain randomness produced by verified delay functions

Workflow

  • A provider sets up a money streaming contract.
  • A prospective payer can interact with the contract and start the stream right away by depositing the funds required for the chosen period.
  • The payee is able to withdraw money from the contract based on its ongoing solvency
  • payment rate * verified delay function (current block height - starting block height)
  • The stream terms (payment rate, length, metadata) can be updated at any time if both parties pledge their signatures.
  • The stream can be stopped at any point in time by any party without on-chain consensus.
  • If the stream period ended and it was not previously stopped by any party, the payee is entitled to withdraw all the deposited funds.

EbbNet System Context

Motivation

This standardised interface aims to change the way we think about long-term financial commitments. Thanks to blockchains, payments need not be sent in chunks (e.g. monthly salaries), as there is much less overhead in paying-as-you-go. Money as a function of time would better align incentives in a host of scenarios.

Applications

  • Salaries
  • Subscriptions
  • Consultancies
  • CDPs
  • Rent
  • Parking
  • Pensions
  • Micropayments
  • Subscriptions

Challenges

Block times are a reasonable, trustless proxy for time on the blockchain. Between 2016 and 2018, the Ethereum block time average value hovered around 14 seconds, excluding the last two quarters of 2017. Mathematically speaking, it would be ideal to have a standard deviation as close to 0 as possible, but that is not how things work in the real world.

Implementation

  • Integrating VDF into the ERC 1620 Time Functions
  • Integrating Dispute Verified Oracles into ERC 1620
  • Integrating ERC 1671 with ERC 1620
  • Deploying ERC 1620 into Matic Network
  • Deploying ERC 1671 into Matic Network

References

ebbnet's People

Contributors

dhanendras avatar gokulsan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ebbnet's Issues

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.