harmony-one / bounties

Bounty program is to help the community take part in the development of the Harmony blockchain. It covers from core feature to validator tooling, from dApp development to DeFi integration.
MIT License
59 stars 23 forks source link

Encode Hackathon - create a dapp that allows multiple users to stake together on the harmony protocol (like pooltogether) where users can use the staking rewards to purchase an NFT #123

Open victaphu opened 2 years ago

victaphu commented 2 years ago

Description

Related to the Encode Hackathon, this bounty is for promotion of the Harmony Marketplace SDK

Using the Harmony Marketplace SDK and staking APIs allow users to stake some ONE tokens into a smart contract, get governance tokens, use those tokens to vote on the purchase of NFTs using the staked ONE rewards. Users can transfer ONE tokens or HRC20 tokens that can be swapped for ONE tokens. Withdrawals are in ONE tokens

Context

Much like pooltogether; this Dapp allows users to deposit ONE tokens into the smart contract to earn staking rewards. The rewards are accumulated and then used to purchase NFTs on any NFT platform (e.g. NFT Keys, MADNft). Depositors get governance tokens that can be used to vote for the NFTs to purchase; and depositors are randomly selected to get the NFT.

Use the SDK to interact with the smart contract and accept ONE/HRC20 tokens for deposit. The contract should swap all deposited tokens for ONE and give users equivalent governance tokens. Tokens can be redeemed for ONE tokens if user decides to deposit.

Stretch goal: lock up 10% of the value of ONE tokens on-chain to be staked for each purchase that is sent to the token lister in ONE year. If listed in other tokens, swap the tokens to ONE first

Acceptance Criteria

Reward

$2000 USD in ONE

victaphu commented 2 years ago

@jacksteroo please review and confirm

jacksteroo commented 2 years ago

Confirmed.

Working website must be of production quality, with integration with the abovesaid NFT Marketplaces (NFTKey, MADnft, TofuNFT). Smart contract must be reviewed and audited by the Harmony, Encode and/or a security DAO like TruthSeekers. Demo video should be informational, think Coursera or Udemy, limit to 10 minutes.