8000 GitHub - tobogganhill/charity: Donors fund charitable projects to achieve their goals. Each charitable project is funded when the project is verified as complete. Donors give to projects and the corresponding tokens are minted. These tokens are held in escrow until a charitable project goal is verified. Once this validation has been performed the funds are transferred to the charity.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Donors fund charitable projects to achieve their goals. Each charitable project is funded when the project is verified as complete. Donors give to projects and the corresponding tokens are minted. These tokens are held in escrow until a charitable project goal is verified. Once this validation has been performed the funds are transferred to the …

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.txt
MIT
LICENSE_OPEN_ZEPPELIN.txt
Notifications You must be signed in to change notification settings

tobogganhill/charity

Repository files navigation

Crowdfunding Charitable Donations

Overview

Donors fund charitable projects to achieve their goals.

Each charitable project is funded when the project is verified as complete.

Donors give to projects and the corresponding amount of tokens is minted. These tokens are held in escrow until a charitable project goal is verified. Once this validation has been performed the funds are transferred to the charity.

Installation

This project requires node-js runtime and uses truffle as the Ethereum smart contract dev framework.

To run it, install truffle:

npm install -g truffle

Then install all of the node-js dependencies

npm install

Connection to blockchain node is defined in truffle.js:

networks: {
    dev: {
      network_id: "*",
      gas: 4000000,
      host: 'localhost',
      port: '7545'
    }
}

Use Ethereum test client ganache as a default node:

npm install -g ganache-cli

Running tests

To run smart contract tests, use the following truffle command in the console:

truffle test

Demo DAPP

Deploy the smart contracts to the blockchain:

truffle migrate

Launch a demo server:

npm run dev

DAPP is available at: http://localhost:8080/

About

Donors fund charitable projects to achieve their goals. Each charitable project is funded when the project is verified as complete. Donors give to projects and the corresponding tokens are minted. These tokens are held in escrow until a charitable project goal is verified. Once this validation has been performed the funds are transferred to the …

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.txt
MIT
LICENSE_OPEN_ZEPPELIN.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0