NOTE: You need a .env
file in your repo, which isn't in this repo because I .gitignored it.
Instructions to run:
- Create a API URL from https://infura.io/ (it's free)
- Download MetaMask https://metamask.io/
- Create an account(testing purposes)
- Save your account mneomic
- Set network to Rinkeby
- Get free ETH for test network at https://faucet.rinkeby.io/
- Create a
.env
file- ACCOUNT_MNEMONIC=your account mneomic from metamask
- INFURA_LINK=your api infura link
- Command Prompt
- npm install
- node ethereum/compile.js
- node ethereum/deploy.js
- save address (console log from terminal)
- add in .env ADDRESS=saved address
- npm run dev (http://localhost:3000)
Simple full stack app for Ethereum using tools, such as, Solidity, web3, ganache-cli, React, Node, Nextjs, MetaMask, etc
Project is based on the website Kickstarter and some of the underlying issues it has. The main problem with Kickstarter is the funding goes straight to the user who starts the campaign. With blockchain all of the funding is transparent, and with smart contracts we can add some safe measures to the project.
The smart contract here can create requests for ethereum and users can vote whether the funds can be released or not(At the moment I set it to 1 otherwise if people wanted to test the app end-to-end they'd need more accounts to play with, otherwise would be 50% or higher)