Start local environment
Zeus comes with the ability to easily spawn your own full local testing environment
To start you own network run:
Start Localenv
Options
1
zeus start-localenv
Copied!
1
zeus start-localenv
2
​
3
runs eosio node for local development
4
​
5
Options:
6
--version Show version number [boolean]
7
--storage-path path for persistent storage
8
[default: "/home/ubuntu/.zeus"]
9
--rc-file use rc file to load options from
10
[default: "/home/ubuntu/.zeus/zeusrc.json"]
11
--rc-ignore ignore rc file [default: false]
12
--verbose, -v [default: false]
13
-h, --help Show help [boolean]
14
--all compile all contracts [default: true]
15
--wallet [default: "zeus"]
16
--creator-key [default: "5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"]
17
--creator [default: "eosio"]
18
--network network to work on [default: "development"]
19
--chain chain to work on [default: "eos"]
20
--services service APIs to run [default: ""]
21
--stake account staking amount [default: "300"]
22
--transfer account staking amount [default: "1000"]
23
--multi-evm run multiple evm chains [default: false]
24
--kill kill all current running nodes and services
25
[default: false]
26
--enable-features enables eosio features [default: false]
27
--single-chain run without LiquidX [default: false]
28
--basic-env, -b min needed for EOSIO smart contract test
29
[default: false]
30
--custom-token custom chain token [default: ""]
31
--custom-token-precision custom chain token permission [default: 4]
32
--evm-host custom evm host [default: ""]
33
--evm-port custom evm port [default: 4]
34
--evm-sister-host custom evm sister host [default: ""]
35
--evm-sister-port custom evm sister port [default: 4]
36
--phase phase of local env step to start [default: ""]
37
​
38
Examples:
39
zeus start-localenv
Copied!
Zeus runs the local environment files within ./zeus_boxes/start-localenv.
You can specify a file there with
1
zeus start-localenv --phase 02-a-eos-local-nodeos
2
zeus start-localenv --phase 05-a-eos-local-bios
Copied!
This will give you a basic chain. You can also run this with the --basic-env flag.
1
zeus start-localenv --basic-env
Copied!
If you wish to spawn a fully featured EOSIO network, run with --enable-features
1
zeus start-localenv --enable-features
Copied!
Note the logs are in the ./logs directory
Run specific services with the --services flag
1
zeus start-localenv --services "cron,ipfs,oracle
Copied!
Run a single chain with (so not to run excess nodeos instances):
1
zeus start-localenv --single-chain
Copied!
Specify custom system token/precision
1
zeus start-localenv --custom-token NAT --custom-token-precision 8
Copied!
Specify EVM host/port for main EVM chain and side EVM chain
1
zeus start-localenv --evm-host 127.0.0.1 --evm-port 8545 --evm-sister-host 127.0.0.1 --evm-sister-port 8546
Copied!
Last modified 4mo ago
Copy link