基于区块链的毕业设计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
andmigrate
- 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.
We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.
You can always update your selection by clicking Cookie Preferences at the bottom of the page. For more information, see our Privacy Statement.
Essential cookies
We use essential cookies to perform essential website functions, e.g. they’re used to log you in. Learn more
Always active
Analytics cookies
We use analytics cookies to understand how you use our websites so we can make them better, e.g. they’re used to gather information about the pages you visit and how many clicks you need to accomplish a task. 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网站所以我们可以制造更好的产品。了解更多。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。
您可以随时通过单击页面底部的Cookie首选项来更新您的选择。有关隐私声明,请参阅我们的隐私声明。
始终处于活动状态
我们使用基本Cookie来执行基本的网站功能,例如,它们用于让您登录。了解更多
分析cookies
Analytics cookies
我们使用analytics Cookie来了解您如何使用我们的网站,以便我们能够使其变得更好,例如,它们用于收集有关您访问的页面以及完成一项任务需要多少次单击的信息。了解更多
部分转自网络,侵权联系删除区块链源码网
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计Nonprofit decentralized autonomous organization (npo-dao) – 非营利分散自治组织(npo dao)