基于区块链的毕业设计Nonprofit decentralized autonomous organization (npo-dao) – 非营利分散自治组织(npo dao)

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Nonprofit decentralized autonomous organization (npo-dao) – 非营利分散自治组织(npo dao) 是一篇很好的国外资料

Nonprofit decentralized autonomous organization (npo-dao)

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

Quickstart

Running:

Contract development:

  • Run ganache: http://localhost:7545 -> 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 ContractABI.json and Web3

Web development:

  • Set Web3 provider URI (default provider is ganache http://localhost:7545)
  • Replace contract ABI json after build from build folder to client/src/providers/abi folder
  • Replace contract address after deployment in contract provider file
  • cd client
  • npm run serve

Sources:

Ethereum development:

  • Ganache
  • Truffle
  • Truffle console interact

Token:

  • ERC777
  • ERC777 Implementation
  • ERC777 OpenZeppelin Docs
  • EIP-777: ERC777 Token Standard

Web3:

  • Getting started
  • Contract interaction
  • ABI (Application Binary Interface)

Vue.js

  • Installation
  • Official docs
  • Vuex

License

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

We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. Learn more.


非营利分散自治组织(npo dao)

以太坊eth区块链blockchain上运行非盈利组织的概念证明。

快速启动

运行:

合同开发:

  • 运行ganache:http://localhost:7545->这在truffle configuration中定义
  • 运行truffle控制台:truffle控制台
  • 在truffle控制台中:编译、测试和迁移
  • 或使用npm脚本执行此操作:npm Run solhint npm Run prettiernpm运行编译npm运行测试npm运行迁移npm运行控制台DaoToken.已部署();让令牌地址=实例.地址;let accounts=等待web3。eth.getAccounts公司();
  • 安装
  • Interact with contract using ContractABI.json and Web3

来源:

  • Set Web3 provider URI (default provider is ganache http://localhost:7545)
  • Replace contract ABI json after build from build folder to client/src/providers/abi folder
  • Replace contract address after deployment in contract provider file
  • cd client
  • npm run serve

以太坊eth开发:

令牌:

  • Ganache
  • Truffle
  • Truffle console interact

Web3:

  • ERC777
  • ERC777 Implementation
  • ERC777 OpenZeppelin Docs
  • EIP-777: ERC777 Token Standard

Vue.js版

  • Getting started
  • Contract interaction
  • ABI (Application Binary Interface)

许可证

  • Installation
  • Official docs
  • Vuex

基本cookies

此项目是根据麻省理工学院的许可证授权的-有关详细信息,请参阅许可证文件。

我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/19163.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计Nonprofit decentralized autonomous organization (npo-dao) – 非营利分散自治组织(npo dao)

提供最优质的资源集合

立即查看 了解详情