Skip to content

Udacity Blockchain ND Section 6: Dapps, Smart Contracts and Oracles

License

Notifications You must be signed in to change notification settings

jensendarren/BCND-C6-Exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Blockchain Course 6 Exercises

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

and for each exercise run:

npm install
truffle compile

Develop

To run truffle tests its recommnded to use ganache-cli and truffle console like so:

ganache-cli
truffle console
test # Runs the tests in the console
test test/ExcerciseC6.... # Runs the specific test file in the console

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

About

Udacity Blockchain ND Section 6: Dapps, Smart Contracts and Oracles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published