EtherDotBlue / RV-IOHK

Cardano Projects for Runtime Verification
0 stars 0 forks source link

GitCoin Bounty: Develop a DeFi Stake Pool POC in Plutus language for Cardano #2

Open EtherDotBlue opened 3 years ago

EtherDotBlue commented 3 years ago

Description: This task is to build a simple POC level Stake Pool using the Plutus language created by Cardano-IOHK. The developer ideally will have experience with Haskell and a history of work or an active interest in developing Decentralized Applications for Blockchains. In addition to the smart contract, the developer should include notes documenting the experience in detail and providing that feedback and recommendations to the Cardano-IOHK team.

For example, when liquidity is provided to a pool, the user receives a liquidity token representing that deposit. The contract should calculate fees (e.g. 0.3%) which are then dispersed to liquidity providers dependent on each provider’s share of the liquidity pool. Be creative and look at other smart contracts as templates.

In addition to the smart contract, the developer should include notes documenting the experience in detail and providing that feedback and recommendations to the Cardano-IOHK team. This is important!

Note: This project must be completed before April 15th.

Additional materials on Plutus:

Core repo: https://github.com/input-output-hk/plutus

Plutus constraints: https://github.com/input-output-hk/plutus/tree/master/plutus-ledger/src/Ledger/Constraints

Use cases and samples: https://github.com/input-output-hk/plutus/tree/master/plutus-use-cases/src/Language/PlutusTx/Coordination/Contracts

Plutus Playground: https://playground.plutus.iohkdev.io/

Plutus tutorial: https://playground.plutus.iohkdev.io/tutorial/index.html

Plutus technical overview: https://hydra.iohk.io/build/5400976/download/1/plutus.pdf

Developing Plutus Applications - FAQ.docx

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 1500.0 USDT (1500.0 USD @ $1.0/USDT) attached to it.

gitcoinbot commented 3 years ago

@unstylo Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@unstylo Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@unstylo Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@unstylo Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@unstylo Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

GabrielNicolasAvellaneda commented 3 years ago

Hi @EtherDotBlue, do you know if someone is actually working on this? I've checked Gitcoin and I saw some warnings that the person is not actually working. If that's the case I would like to work on this. I've been learning the Plutus Platform for some weeks now and I probably can help with what you need. Thanks!

gitcoinbot commented 3 years ago

@unstylo Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@unstylo Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@unstylo Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

GabrielNicolasAvellaneda commented 3 years ago

@EtherDotBlue Hi, I moved the repository to https://github.com/GabrielNicolasAvellaneda/plutus-defi-stake-pool I added you as a collaborator, I sent you an invitation so you can check the status. Everything is working fine you can try on side if you want, it is 95% complete, but I want to do some cleanups to submit this work and put more screenshots to guide you while you test it. There is just 1 missing functionality that I want to implement and cleanup some texts which I will do during the weekend or today at night. Hope you like it! Thanks!

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 1500.0 USDT (1500.00 USD @ $1.0/USDT) has been submitted by:


GabrielNicolasAvellaneda commented 3 years ago

Hi @EtherDotBlue I submitted the work and I sent you a Github invite to access the repository https://github.com/GabrielNicolasAvellaneda/plutus-defi-stake-pool. Everything is working great and I wrote a pretty extensive text talking about the experience of development. Feel free to ask me anything about this. I will look forward to hear from you.Thanks!

EtherDotBlue commented 3 years ago

Thank you Gabriel! We will take a look ASAP!

Tom

From: Gabriel Nicolas Avellaneda @.> Sent: Sunday, April 18, 2021 11:32 PM To: EtherDotBlue/RV-IOHK @.> Cc: Tom Lindeman @.>; Mention @.> Subject: Re: [EtherDotBlue/RV-IOHK] GitCoin Bounty: Develop a DeFi Stake Pool POC in Plutus language for Cardano (#2)

Hi @EtherDotBluehttps://github.com/EtherDotBlue I submitted the work and I sent you a Github invite to access the repository https://github.com/GabrielNicolasAvellaneda/plutus-defi-stake-pool. Everything is working great and I wrote a pretty extensive text talking about the experience of development. Feel free to ask me anything about this. I will look forward to hear from you.Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/EtherDotBlue/RV-IOHK/issues/2#issuecomment-822207673, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH3DVIOFTY4PEKMNPXBYDCLTJPE4RANCNFSM4ZL7HO3Q.

GabrielNicolasAvellaneda commented 3 years ago

Thank you Gabriel! We will take a look ASAP! Tom From: Gabriel Nicolas Avellaneda @.> Sent: Sunday, April 18, 2021 11:32 PM To: EtherDotBlue/RV-IOHK @.> Cc: Tom Lindeman @.>; Mention @.> Subject: Re: [EtherDotBlue/RV-IOHK] GitCoin Bounty: Develop a DeFi Stake Pool POC in Plutus language for Cardano (#2) Hi @EtherDotBluehttps://github.com/EtherDotBlue I submitted the work and I sent you a Github invite to access the repository https://github.com/GabrielNicolasAvellaneda/plutus-defi-stake-pool. Everything is working great and I wrote a pretty extensive text talking about the experience of development. Feel free to ask me anything about this. I will look forward to hear from you.Thanks! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH3DVIOFTY4PEKMNPXBYDCLTJPE4RANCNFSM4ZL7HO3Q.

Hi Tom, sounds great! I just want to let you know that Plutus is evolving every day and as such latest Plutus has some breaking changes. BUT, this is not a problem if you test with plutus at commit 3746610e53654a1167aeb4c6294c6096d16b0502, which is the same which I configured in https://github.com/GabrielNicolasAvellaneda/plutus-defi-stake-pool/blob/main/cabal.project#L25

On the other hand I have 2 ideas which I will be working today to improve this implementation:

  1. Some improvements in the validator scripts
  2. Migrate to latest Plutus changes.

If you have any questions or need some help please let me know, thanks!

EtherDotBlue commented 3 years ago

Hi @GabrielNicolasAvellaneda Can you please give @brunjlar access to the repo so he can take a look? Thank you!

GabrielNicolasAvellaneda commented 3 years ago

Hi @GabrielNicolasAvellaneda Can you please give @brunjlar access to the repo so he can take a look? Thank you!

Hi @EtherDotBlue Sure!. I already sent an invite to @brunjlar and I also made some improvements. Hope they like it. Thanks!

GabrielNicolasAvellaneda commented 3 years ago

Hi @EtherDotBlue do you have any news? I saw that @brunjlar accepted my invitation to check the code. Thanks!

EtherDotBlue commented 3 years ago

Hi! Yes, I am paying out the bounty for you! It looks like the transaction may be stuck, but keep an eye out!

Tom

From: Gabriel Nicolas Avellaneda @.> Sent: Tuesday, May 4, 2021 11:00 AM To: EtherDotBlue/RV-IOHK @.> Cc: Tom Lindeman @.>; Mention @.> Subject: Re: [EtherDotBlue/RV-IOHK] GitCoin Bounty: Develop a DeFi Stake Pool POC in Plutus language for Cardano (#2)

Hi @EtherDotBluehttps://github.com/EtherDotBlue do you have any news? I saw that @brunjlarhttps://github.com/brunjlar accepted my invitation to check the code. Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/EtherDotBlue/RV-IOHK/issues/2#issuecomment-831641447, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH3DVII4PTSV7HFMXZ3RPCDTL5IJLANCNFSM4ZL7HO3Q.

GabrielNicolasAvellaneda commented 3 years ago

Hi Tom, thanks! I sent you a LinkedIn contact request for in case you want to be in touch for other projects. Thanks!