2017-01-14 23:11:43 +00:00
|
|
|
Working with different chains
|
|
|
|
=============================
|
|
|
|
|
|
|
|
You can specify which environment to deploy to:
|
|
|
|
|
2017-02-08 11:31:57 +00:00
|
|
|
``$ embark blockchain livenet``
|
2017-01-14 23:11:43 +00:00
|
|
|
|
2017-02-08 11:31:57 +00:00
|
|
|
``$ embark run livenet``
|
2017-01-14 23:11:43 +00:00
|
|
|
|
|
|
|
The environment is a specific blockchain configuration that can be
|
|
|
|
managed at config/blockchain.json
|
|
|
|
|
|
|
|
.. code:: json
|
|
|
|
|
|
|
|
# config/blockchain.json
|
|
|
|
...
|
|
|
|
"livenet": {
|
|
|
|
"networkType": "livenet",
|
|
|
|
"rpcHost": "localhost",
|
|
|
|
"rpcPort": 8545,
|
|
|
|
"rpcCorsDomain": "http://localhost:8000",
|
|
|
|
"account": {
|
2017-02-08 11:31:57 +00:00
|
|
|
"password": "config/livenet/password"
|
2017-01-14 23:11:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
...
|