HydroBlockchain / hcdp

Hydro Community Development Program
0 stars 0 forks source link

4,000,000 HYDRO to Create a Smart Contract to Power Charging Interest in Many Future Savings, Lending, Credit, and Mortgage Hydro dApps #264

Closed mitdralla closed 5 years ago

mitdralla commented 5 years ago

Project Details

4,000,000 HYDRO to create an Ethereum smart contract on top of Hydro Snowflake that allows a certain percentage of interest on a defined principal amount, in HYDRO, to accrue and be charged (or paid) to a wallet tied to a SnowflakeID, and then for that balance to automatically be withdrawn (or paid). The smart contract will guarantee that the money is in the account by enforcing an escrow of the accruing payment within the wallet, thus eliminating payment default, or fraud from institutions. This utility smart contract will power charging interest in many future savings, lending, credit, and mortgage Hydro dApps. There will be Layer-3 dApps and Layer-4 APIs that hook into this utility smart contract function.

Background:

Features:

The interest rate, once set, cannot be edited or modified. The terms can be deleted by mutual consent of both parties via a Hydro Raindrop transaction.

Other Details

What is the development you want done?

Solidity code, in the form of an open-source smart contract, deployed to the Hydro Blockchain GitHub repository for public use.

What are the deliverables?

Solidity code, in the form of an open-source smart contract, deployed to the Hydro Blockchain GitHub repository for public use.

Timeframe?

We propose 2-3 weeks as the timeframe for completion of this task.

Submission process?

First, comment on this issue to declare your willingness to complete the task. Next, fill out the Off-Chain Smart Contract Claim Form. We will evaluate candidates factoring in their qualifications, Github activity, and the order in which they expressed interest.

Oversight Process

One of the DAs will be assigned to oversee the completion of this task once it’s awarded.

Reward Structure

Once you have been selected, you will have 2-3 weeks to complete the task. The time frame begins as soon as we award the task to the candidate by communication within this thread. During this time we will be able to provide some support around questions about the workflow on Discord.

During this time the candidate needs to update the codebase regularly in a subrepo of our official Github. This will be setup and conveyed to the candidate by the assigned DA.

If the task is not completed within the timeframe we reserve the right to offer an extension, or transfer the task to another candidate. If no extension is granted, then we reserve the right to continue on the codebase committed. The fractional disbursement for it, if any, would be given at our discretion.

Once the task is completed we will test the plug-in for efficiency and whether or not it correctly incorporates the Hydro workflow. If we approve the plug-in, we will then send you 4,000,000 Hydro.

ricktobacco commented 5 years ago

Hello I am interested in taking this on

chainpioneer commented 5 years ago

Interested in participating

Luiserebii commented 5 years ago

I'm interested!

mitdralla commented 5 years ago

This task is assigned to @ricktobacco - we will reach out with next steps. 👍

ricktobacco commented 5 years ago

Repo for the project: https://github.com/ricktobacco/hydro-glacier Notes: accrual schedule is effectively compound interest main; challenges are with determining how much interest must be locked in escrow upfront by payer before payee's principal is release: -->with no end date (indefinite period for savings) there must be an explicit number of payments indicated. -->with payment scheduling, the process of retrieving interest from escrow by the payee is triggered manually...the math library from Bancor is used to calculate how much interest will be owed upfront. if the borrower repays the principal ahead of end date, remaining interest payments are refunded.

ricktobacco commented 5 years ago

Contract is ready for review!