Install Zeus and Unboxing
Zeus can easily be installed with:
npm install -g @liquidapps/zeus-cmd
Once installed a new Zeus box can be created for the project (equivalent of npm init
). This produces a zeus-box.json
(equivalent of package.json
). For more on the zeus-box.json
see here.
mkdir helloworld; cd helloworld
zeus box create
Once created, you can unbox an existing box, example for basic contract
zeus unbox helloworld
# to compile, start local env, and run unit tests
zeus test -c
# create new contract
zeus create contract hello --chain=eos --language=cpp --template=simplecontract
Unbox for all dapp services example contract
zeus unbox all-dapp-services
# to compile, start local env, and run unit tests
zeus test -c
# create new contract
zeus create contract <CONTRACT_NAME>
To see a list zeus_boxes
run:
zeus list-boxes
Last updated
Was this helpful?