JakeLin / crypto-raffle

Crypto Raffle is an example project to demonstrate how to develop Ethereum smart contract and DApp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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 truffle@4.1.7
  • truffle-hdwallet-provider: version 0.0.5 yarn add truffle-hdwallet-provider@0.0.5
  • web3: yarn add web3-core-helpers@1.0.0-beta.34

随着组件版本的更新,这个 Repo 也会更新,建议学习过程中使用视频中的版本,学习完毕后在 Repo 中查看相应的更新与变化。�课程代码请在 Release 1 下载

About

Crypto Raffle is an example project to demonstrate how to develop Ethereum smart contract and DApp

License:MIT License


Languages

Language:JavaScript 86.6%Language:HTML 8.2%Language:CSS 5.2%