DimensionDev / Maskbook

The portal to the new, open Internet. ([I:b])
https://mask.io
GNU Affero General Public License v3.0
1.5k stars 311 forks source link

[Bounty] Integrate Pooltogether, a savings game, in Mask Plugin #3343

Closed tzhan28 closed 3 years ago

tzhan28 commented 3 years ago

Catalogue

Part 1: Problem Description

Background Pooltogether is a defi savings game where part of the interest is put in a lottery pot and all depositers have a chance (propotional to the savings amount) to win the lotttery. We think it has really good synergy with traditional social networks and thus worth the integration.

Previously defi plugins on Mask, like the trading widgets powered by 0x and Uniswap, has been plagued by high ETH gas prices. However with the launch of polygon and BSC integration, the problem should have been largely resolved. Savings app which was hindered by monstrous ETH gas price is now very much affordable.

Pooltogether is on both eth mainnet and polygon with identical UI.

Solution Create a plugin that integrate pooltogether. The UI could resemble Dhedge in a card style with different tabs serving different purposes.

image Dhedge Plugin UI

image Pooltogether pool list

image Pooltogether deposit page

Default page could be the pool list with return, time remaining and other basic info like shown in the official website (IMO it's clean enough for porting directly) . Once click deposit, users will be taken to deposit page where odds are displayed real time

A second tab would be my page where all my lottery bets are displayed

Anylink from pooltogether on Twitter could trigger the plugin ( could have some slightly different treatment). The tab order can be changed, corresponding landing and ending page needs to be added. Share button for such a social game is a must.

Language like I just deposit xxx dollar into xxx pool, can I win the lottery this week? should be added to help spread the word.

Part 2: Resources

Part 3: Contact and Support

@yisiliu for ideas @Jack-Works for implementations Mask Network discord server: https://discord.gg/4Xccj7a75Q Pooltogether discord server: https://discord.com/invite/hxPhPDW

Submission Requirements Please include demo to show the integration is working.

Winner Announcement Date Winners will be announced at the conclusion of Gitcoin 10 Hackathon

Judging Criteria Have a working demo. Clean code & tech design Clear UI, easy to use and generally good user experience

gitcoinbot commented 3 years ago

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


This issue now has a funding of 250.0 MASK (1262.5 USD @ $5.05/MASK) attached to it.

gitcoinbot commented 3 years ago

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


Work has been started.

These users each claimed they can complete the work by 3 weeks from now. Please review their action plans below:

1) irhonin has started work.

I am the developer of dHEDGE plugin and I will implement the plugin as requested.

Learn more on the Gitcoin Issue Details page.

yisiliu commented 3 years ago

@iRhonin hey man thanks for applying for this bounty! I have just approved it and increased the bounty to 400 $MASK FYI.

iRhonin commented 3 years ago

Hi @yisiliu,

I am almost done at this plugin (only the account tab is remaining), I think it will be ready for a PR in 2 days from now. The bounty on gitcoin is getting expired, can you please extend the deadline so I be able to submit?

Also I like to work on the other plugins (epecially Realoty card), it that possible?

ps: Some pictures from current stage image image

tzhan28 commented 3 years ago

Yes absolutely,  feel free to work on anything not taken yet or even make suggestions on what we haven't posted. Taylor taylorzhangtianran @.*** 签名由 网易邮箱大师 定制 On 07/06/2021 00:58, Arash Fatahzade wrote: Hi @yisiliu, I am almost done at this plugin (only the account tab is remaining), I think it will be ready for a PR in 2 days from now. The bounty on gitcoin is getting expired, can you please extend the deadline so I be able to submit? Also I like to work on the other plugins (epecially Realoty card), it that possible? ps: Some pictures from current stage — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

gitcoinbot commented 3 years ago

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


Work for 400.0 MASK (1440.00 USD @ $3.64/MASK) has been submitted by:


tzhan28 commented 3 years ago

Curious if u did the matic version as well? I recall pool together having different pools from different chain displayed in the same page. Taylor taylorzhangtianran @.*** 签名由 网易邮箱大师 定制 On 07/06/2021 00:58, Arash Fatahzade wrote: Hi @yisiliu, I am almost done at this plugin (only the account tab is remaining), I think it will be ready for a PR in 2 days from now. The bounty on gitcoin is getting expired, can you please extend the deadline so I be able to submit? Also I like to work on the other plugins (epecially Realoty card), it that possible? ps: Some pictures from current stage — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

iRhonin commented 3 years ago

@yisiliu, it shows pools on the current network, if the user is on Matic, they will see Matic pools and ETH pools on the ETH network. (works on any network) But I can change it to show all pools in the same list if it works better.

tzhan28 commented 3 years ago

Let's just do matic pools on matic and eth pool on eth. We r going to add mask pools on matic. And I believe only a few matic pool exist for now. Curious if we can change order? Like put the mask pool sticky on top.

Also let's add each other on tg? My handle is tzhan28

Taylor


From: Arash Fatahzade @.> Sent: Friday, July 9, 2021 7:58:19 PM To: DimensionDev/Maskbook @.> Cc: tzhan28 @.>; Author @.> Subject: Re: [DimensionDev/Maskbook] [Bounty] Integrate Pooltogether, a savings game, in Mask Plugin (#3343)

@yisiliuhttps://github.com/yisiliu, it shows pools on the current network, if the user is on Matic, they will see Matic pools and ETH pools on the ETH network. (works on any network) But I can change it to show all pools in the same list if it works better.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/DimensionDev/Maskbook/issues/3343#issuecomment-877133467, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK43R547BBSZ6SKFDUNKPA3TW3P5XANCNFSM46TTEPRQ.