2015-05-24 12:47:06 +00:00
|
|
|
module.exports = (grunt) ->
|
|
|
|
|
|
|
|
grunt.registerTask "blockchain", "deploy ethereum node", (env_) =>
|
|
|
|
env = env_ || "development"
|
2015-06-28 02:20:07 +00:00
|
|
|
Embark = require('embark-framework')
|
2015-07-04 02:27:17 +00:00
|
|
|
Embark.init()
|
|
|
|
Embark.blockchainConfig.loadConfigFile('config/blockchain.yml')
|
|
|
|
Embark.startBlockchain(env)
|
2015-05-24 12:47:06 +00:00
|
|
|
|