项目作者: ish3lan

项目描述 :
Exercises related to Advanced Blockchain Concepts and Oracles chapter at Udacity Blockchain Nanodegree
高级语言: JavaScript
项目地址: git://github.com/ish3lan/Advance_Blockchain_Concepts.git
创建时间: 2019-04-12T14:14:32Z
项目社区:https://github.com/ish3lan/Advance_Blockchain_Concepts

开源协议:MIT License

下载


Blockchain Course 6 Exercises

To install, download or clone the repo, then move to the required exercise branch with either:

  • git checkout ExerciseC6A
  • git checkout ExerciseC6B
  • git checkout ExerciseC6C
  • git checkout ExerciseC6D

and for each exercise run:

npm install
truffle compile

Develop

To run truffle tests:

truffle test ./test/ExerciseC6A.js or npm test

Resources

Versions

This code was created with the following versions of tools:

  • Truffle v5.0.1 (core: 5.0.1)
  • Solidity v0.5.0 (solc-js)
  • Node v8.9.4
  • Ganache v1.2.3

Troubleshooting

  • Ensure Ganache is running on port 8545
  • Ensure Ganache mnemonic is identical to mnemonic in truffle.js
  • Ensure you have at least the versions of the tools specified above
  • Delete node_modules folder and run “npm install” to refresh dependencies
  • If you get compiler errors, change the “pragma” line in all .sol files to match your version