Timeline for Using the Truffle command line debugger
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 7, 2018 at 3:42 | vote | accept | rranjik | ||
Dec 7, 2018 at 3:36 | comment | added | galal27 | If you're testing smart contracts for functionality and writing test cases for that, you can just use remix ide with the JavaScript VM and then write your test files and use truffle to confirm that they pass. You can find more info on Remix in their documentation: remix.readthedocs.io/en/latest/run_tab.html#run-setup | |
Dec 7, 2018 at 3:18 | comment | added | galal27 | Nope, this gets you to run an entirely private blockchain with dummy accounts so that you can test your functionality. You can download ganache here: truffleframework.com/ganache. Remix is an online IDE for solidity smart contracts. When you modify your truffle.js file, you are essentially telling it to point towards the accounts set up by Ganache. Then by setting up Remix to point to it too, everything is synchronized to work with the dummy accounts. Remix is an IDE and it allows you to compile, run and test your smart contracts without having to set up a front-end. | |
Dec 7, 2018 at 3:04 | comment | added | rranjik | I'm new to this environment. Could you please share more details ? | |
Dec 7, 2018 at 2:57 | comment | added | rranjik | Thanks for your answer. Does this require going online ? I'm not writing any production code. This is a homework assignment that I'm trying to debug! Can I not do this offline ? | |
Dec 7, 2018 at 2:40 | history | answered | galal27 | CC BY-SA 4.0 |