Mainframe CLI
npm install @mainframe/cli``sh`In packages/cli
./bin/run
- env:create: create a new environmentenv:default
- : get or set the default environment to useenv:delete
- : delete an environmentenv:list
- : list the environmentsdaemon:setup
- : configure the daemon binary and socket pathsdaemon:status
- : display the daemon running status and socket pathdaemon:start
- : start the daemon using the store configurationdaemon:stop
- : start the daemon using the store configurationclient:repl
- : open a node REPL with an injected client object connected to the daemonclient:setup
- : ensure the environment has a default vault setupvault:create
- : create a vaultvault:delete
- : delete a vaultvault:list
- : list existing vaultsvault:settings
- : set and/or display a vault settingsgraphql:query
- : execute a GraphQL querygraphql:schema
- : write the GraphQL schemagraphql:server
- : create a HTTP proxy for GraphQL queriesidentity:create
- : create an identityidentity:list
- : list identitiesapp:create
- : create an appapp:publish
- : publish the app to Swarmwallet:createEth
- : create a new Ethereum walletwallet:connectLedgerAccount
- : connect an account from ledger hardware walletwallet:delete
- : delete a walletwallet:importEth
- : import an Ethereum wallet
1. Run env:create to create a new environment, set it as default unless you want to provide it explicitly in the next commandsdaemon:setup
1. Run to configure the path to the daemon CLI, ex ./bin/run daemon:setup --bin-path=../daemon/bin/rundaemon:start
1. Run to start the daemon, use DEBUG="mainframe:*" ./bin/run daemon:start to see the logsclient:setup
1. Run to create a new vault and configure it to be used by defaultclient:repl` to start interacting with the daemon
1. Run