mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
Merge pull request #73 from hitchcott/develop
implement `getStartBlockchainCommand` to return geth CLI string within app
This commit is contained in:
commit
95845252c5
@ -126,4 +126,9 @@ Blockchain.prototype.execGeth = function(args) {
|
||||
exec(cmd);
|
||||
}
|
||||
|
||||
Blockchain.prototype.getStartChainCommand = function(use_tmp) {
|
||||
var address = this.get_address();
|
||||
return this.run_command(address, use_tmp);
|
||||
}
|
||||
|
||||
module.exports = Blockchain
|
||||
|
@ -35,6 +35,11 @@ Embark = {
|
||||
chain.startChain(use_tmp);
|
||||
},
|
||||
|
||||
getStartBlockchainCommand: function(env, use_tmp) {
|
||||
var chain = new Blockchain(this.blockchainConfig.config(env));
|
||||
return chain.getStartChainCommand(use_tmp);
|
||||
},
|
||||
|
||||
deployContracts: function(env, contractFiles, destFile, chainFile) {
|
||||
this.contractsConfig.init(contractFiles, env);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user