add web3 to console help

This commit is contained in:
Iuri Matias 2017-02-15 20:35:42 -05:00
parent bd99a75048
commit 617d40086c
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ Console.prototype.executeCmd = function(cmd, callback) {
'Welcome to Embark 2', 'Welcome to Embark 2',
'', '',
'possible commands are:', 'possible commands are:',
// TODO: only if the blockchain is actually active!
// will need to pass te current embark state here
'web3 - instantiated web3.js object configured to the current environment',
'quit - to immediatly exit', 'quit - to immediatly exit',
'', '',
'The web3 object and the interfaces for the deployed contrats and their methods are also available' 'The web3 object and the interfaces for the deployed contrats and their methods are also available'