Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakelin/crypto-raffle
Crypto Raffle is an example project to demonstrate how to develop Ethereum smart contract and DApp
https://github.com/jakelin/crypto-raffle
daap ethereum solidity solidity-contracts
Last synced: 17 days ago
JSON representation
Crypto Raffle is an example project to demonstrate how to develop Ethereum smart contract and DApp
- Host: GitHub
- URL: https://github.com/jakelin/crypto-raffle
- Owner: JakeLin
- License: mit
- Created: 2018-05-13T22:33:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-18T23:59:02.000Z (over 6 years ago)
- Last Synced: 2024-11-19T08:45:59.043Z (3 months ago)
- Topics: daap, ethereum, solidity, solidity-contracts
- Language: JavaScript
- Size: 185 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crypto Raffle
Crypto Raffle is an example project to demonstrate how to develop Ethereum smart contract and DApp. It is used for [Ethereum Smart Contract Course](https://github.com/JakeLin/ethereum-smart-contract-course).
Crypto Raffle 是《以太坊智能合约与 DApp 开发课程》实战项目的源代码。更多课程信息可以在 https://github.com/JakeLin/ethereum-smart-contract-course 找到。
## 项目结构
* constracts: 存放 Solidity 的智能合约源码
* migrations: 存放 Traffle migration 的源码
* test: 存放 Mocha 和 Chai 测试的源码
* web: 存放 React.js 的 DApp 源码## 项目依赖与版本
由于以太坊的技术还在快速迭代中,包括编译器等许多组件在不断更新。建议在学习过程中安装以下的版本。课程中使用组件的版本如下:
* Truffle: version 4.1.7 `npm install -g [email protected]`
* truffle-hdwallet-provider: version 0.0.5 `yarn add [email protected]`
* web3: `yarn add [email protected]`随着组件版本的更新,这个 Repo 也会更新,建议学习过程中使用视频中的版本,学习完毕后在 Repo 中查看相应的更新与变化。课程代码请在 [Release 1 下载](https://github.com/JakeLin/crypto-raffle/releases/tag/1.0.0)。