- Download Visual Studio Code: https://code.visualstudio.com/download
- Download the solidity extension for VSCode: https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity
- Open the folder you cloned in VSCode: BlockchainDev
- Have npm and node installed (instructions here: https://nodejs.org/en/download/. Make sure node is on your path if you run into issues using npm/node)
- Run
npm install -g truffle
- Now to run the code:
truffle compile
truffle develop
- In the truffle console that appears, run the following
migrate
HelloWorldContract.deployed().then(_app => { hello = _app })
hello.greet()
- To close the truffle console, hit "Ctrl+d"
-
Notifications
You must be signed in to change notification settings - Fork 0
dabdoue/BlockchainDev
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published