sskender / npo-dao

Proof of concept for running a nonprofit organization on Ethereum blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nonprofit decentralized autonomous organization (npo-dao)

Proof of concept for running a nonprofit type of organization on Ethereum blockchain.

Quickstart

Running:

Contracts development:

  • Run ganache: http://localhost:8545 -> this is defined in truffle configuration
  • Run truffle console: truffle console
  • In truffle console: compile, test and migrate
  • Or use npm scripts for that:
    • npm run solhint
    • npm run prettier
    • npm run compile
    • npm run test
    • npm run migrate
    • npm run console
  • Interact with contract in truffle console:
    • npm run console
    • let instance = await DaoToken.deployed();
      let tokenAddress = instance.address;
      let accounts = await web3.eth.getAccounts();
  • Interact with contract using contract ABI json and Web3 library

Web development:

Sources:

Ethereum development:

Token:

Web3:

Vue.js:

Inspired by:

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Proof of concept for running a nonprofit organization on Ethereum blockchain

License:MIT License


Languages

Language:JavaScript 35.6%Language:Vue 33.4%Language:Solidity 29.4%Language:HTML 1.4%Language:CSS 0.2%