Skip to content

Jordans2299/Money-pool-solidity-nextjs

Repository files navigation

This is a Next.js project

Website here: Money Pool

Money Pools

Description

Money Pools is a blockchain app currently working on the Goerli Ethereum test network. The app allows users to create a contract (a Money Pool). In the money pool the creator sets which wallet addresses they would like to add to the pool and set a target amount for the pool to raise. In the final version this app is meant to serve as a place to make group bets ie. bet for fantasy football or on big event like the super bowl. Until I find a good Oracle to get the decentralized sports data from, it will pick a user at random when the button is clicked. The winner is picked from the list of invited users and will be the total amount that has been added to the money pool.

Build Instructions

npm run dev

Open http://localhost:3000 with your browser to see the result.

User Guide

  1. Download Metamask browser extension
  2. Create a Metamask account
  3. In Metamask account switch to the Goerli network
  4. Get free Goerli Tokens: https://goerlifaucet.com
  5. Click "Get Pools" button on web app to see the currently deployed contracts
  6. Create a new contract by filling in the form with the address you want to invite (including your own wallet address if you want to be added)
  7. Set a target amount
  8. Set a name for the money pool
  9. When you click submit you'll receive a request in your metamask wallet for the gas fee for the new contract. This is on the test network so you will not be spending real money.
  10. After a couple minutes you should see a notification in the browser saying the transaction is complete then you'll receive another request to cover the gas of adding your new money pool to the list of all money pools
  11. After another few minutes click "Get Pools" again to see your new money pool on the page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published