Giter Club home page Giter Club logo

banging12 / solidarity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thebangles/solidarity

0.0 0.0 0.0 4.85 MB

Solidarity is a charity donation platform that uses the Ethereum blockchain for efficient and transparent donations. Charities can create a campaign that patrons can donate to, and they receive the funds once their goal is met. Smart contract rules prevent charities from misappropriating funds.

Home Page: https://youtu.be/9aXXce1Y4X0

HTML 1.49% CSS 3.40% JavaScript 82.96% Solidity 12.16%

solidarity's Introduction

Solidarity

Solidarity is a charity donation platform that uses the Ethereum blockchain for efficient and transparent donations.

Charities can create a campaign that patrons can donate to, and they receive the funds once their goal is met. Smart contract rules prevent charities from misappropriating funds.

Check out our demo here.

Installation

  1. Install Ganache to create a personal development blockchain and test accounts.

  2. Install Metamask and link Metamask with Ganache by following instructions in Step 3 of this blog.

  3. Fork/clone this repo and run the following commands in your terminal. This app uses the Drizzle Box as a template.

npm install -g truffle
truffle unbox drizzle
# don't forget to install other dependencies in root and app directory

# compiles and migrates smart contracts; changes to the smart contract must be manualy recompiled and migrated
truffle compile
truffle migrate --reset

# Ensure your port in truffle-config.js is set to 7545 (Ganache network)

# run react app; 
cd app
npm run start

Tech Stack

Within the Ethereum blockchain, we use Solidity to write a smart contract, which Truffle then migrates to our personal blockchain in Ganache. Metamask is the gateway that allows us to interact with our dapp and update Ganache. Within our app, React is rendering our data, while Drizzle updates our data if there are new blocks added.

  • Ethereum - Decentralized, open source, and distributed computing platform that allows creation of smart contracts and dapps
  • Solidity - Object-oriented language for implementing smart contracts
  • Web3.js - Allows you to interact with local/remote ethereum node using HTTP/IPC connection
  • Metamask - Chrome extension that connects to remote Ethereum nodes and read user wallets
  • Ganache - Personal Ethereum blockchain
  • Truffle - Ethereum dev testing framework
  • Drizzle - Collection of front-end libraries based on a Redux store
  • React.js - Dynamically render front-end

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

solidarity's People

Contributors

tiffanyhwong avatar jenniferchen95 avatar bunnie-xia avatar lsqproduction avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.