vitelabs/bounties

Joint Account

Opened this issue · 4 comments

Purpose

The Vite ecosystem needs a dapp for holding funds between multiple accounts. This will:

  1. Protect funds of compromised accounts
  2. Allow funds to only move by majority vote
  3. Enable escrow services

Features

  • Anyone can create a joint account
  • Joint account makers can specify who can vote and the approval threshold to move funds
  • Joint accounts can hold multiple token types
  • Joint account members can propose a motion to move a specific token type and amount to a specific address
  • Joint account members can vote to pass the motion or not (not voting counts as rejecting the motion)
  • If the approval threshold to pass the motion is met, the transfer is executed and then the motion and votes are reset
  • Motions can be replaced or removed at any time by any joint account member; when this happens, votes are reset.

Prizes

  • 2000 USD in VITE for developing a smart contract
  • 2000 USD in VITE for creating a UI design

Contract Requirements

  • Takes into account "Features" and "UI Requirements"
  • Uses Solidity++ 0.8.0
  • Unit tests for all contract functionality using ViteJS and your unit testing library of choice.
  • Keeps track of all joint accounts
  • Additional features are welcome! Keep in mind that this contract will be interacted with from a GUI so getters and setters suitable for the UI described below should be implemented. For example, emitting events for various actions in the contract may be helpful for displaying joint account history.

UI Requirements

  • Takes into account "Features" and "Contract Requirements"
  • Uses Figma or a similar design tool that makes copying color/pixel values easy
  • Has a logo
  • Allows users to log in with ViteConnect (i.e. scanning QR code with Vite mobile app)
  • Is easy for anyone to understand and use - regardless of their experience with crypto.
  • Be responsive to different screen sizes
  • Has a light and dark mode with a component to choose between dark/light/system themes
  • Has a homepage that describes what the dapp is, how to use it, and why it exists.
  • Has a page that shows all joint accounts your Vite address is a member of
  • Has a component for proposing/replacing/removing motions to move funds
  • Has a component for voting on motions
  • Has a component that shows all a joint account's history (sending/receiving funds, motion pass/reject/replace, etc.)
  • Additional features are welcome!

Judging Criteria

  • The Vite Labs team will check to make sure all of the requirements have been met
  • Consolation prizes will be given for submissions that are good, but don’t meet all requirements
  • If your submission is close to completion, but requires minor improvements, we may reach out to you to discuss revisions with you so you can get the full bounty prize.

Winner Announcement

  • After the hackathon, we will announce the winner(s) when all submissions have been reviewed and the judge's scores tabulated.

Resources

Follow Vite on social media

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


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

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


Work has been started.

These users each claimed they can complete the work by 1 day, 14 hours from now.
Please review their action plans below:

1) lesserhatch has started work.

joint-account-soliditypp is a smart contract for holding funds between multiple accounts
2) bismarckuxui has started work.

creating a UI design
3) wittyambivert has started work.

Design the UI for Vite joint accounts to use multiple signatures to approve a transaction
4) sonika-25 has started work.

A contract taking in account all the features mentioned and additional getters to interact with frontend.
5) nma06 has started work.

Build Vite JS Joint Account UI
6) ufe-pr has started work.

Joint Account smart contract for the Vite blockchain.
7) samuelemarro has started work.

My final submission for the GR13 Vite Hackathon. I'll also add some nice extra features.

Learn more on the Gitcoin Issue Details page.

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


Work for 4000.0 USD (3998.4 USD @ $1.0/USD) has been submitted by:

  1. @lesserhatch
  2. @nma06
  3. @wittyambivert
  4. @ufe-pr
  5. @bismarckuxui
  6. @sonika-25
  7. @samuelemarro

@ouivitejoel please take a look at the submitted work:


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


The funding of 4000.0 USD (3998.00 USD @ $1.0/USD) attached to this issue has been approved & issued to @BismarckUXUI.