Stackr CLI
npm install @stackr/cli@stackr/cli
=================
CLI to register, compile and deploy your Stackr Micro Rollups
``sh-session`
$ npm install -g @stackr/cli
$ stackr COMMAND
running command...
$ stackr (--version)
@stackr/cli/0.1.8 linux-x64 node-v18.20.4
$ stackr --help [COMMAND]
USAGE
$ stackr COMMAND
...
](#stackr-add-entity-contract)
* stackr compile
* stackr deploy
* [stackr help [COMMAND]](#stackr-help-command)
* [stackr init [PROJECTNAME]](#stackr-init-projectname)
* stackr register
* [stackr transfer-ownership [NEWOWNER]](#stackr-transfer-ownership-newowner)
* [stackr verify [APPINBOXCONTRACT]](#stackr-verify-appinboxcontract)stackr add [ENTITY] [CONTRACT]Adds Bridge contract to the AppInbox contract of your MRU
`
USAGE
$ stackr add [ENTITY] [CONTRACT] [--envFile ]ARGUMENTS
ENTITY (bridge) Entity to add to your App Inbox
CONTRACT Contract Address of the entity to add to your App Inbox
FLAGS
--envFile= [default: .env] Path to the .env file
DESCRIPTION
Adds Bridge contract to the AppInbox contract of your MRU
EXAMPLES
$ stackr add bridge 0x1234567890abcdef1234567890abcdef12345678
$ stackr add bridge 0x1234567890abcdef1234567890abcdef12345678 --envFile=
`_See code: src/commands/add/index.ts_
stackr compileCompile yours Stackr State Machines to portable WASM modules.
`
USAGE
$ stackr compile [--skipLintChecks]FLAGS
--skipLintChecks Whether to skip lint checks before compiling (default: false)
DESCRIPTION
Compile yours Stackr State Machines to portable WASM modules.
EXAMPLES
$ stackr compile
`_See code: src/commands/compile/index.ts_
stackr deployDeploy your MRU to Vulcan
`
USAGE
$ stackr deploy [--envFile ] [--privateKey ]FLAGS
--envFile= [default: .env] Path to the .env file
--privateKey= Private key of the account to be used to deploy the contract
DESCRIPTION
Deploy your MRU to Vulcan
EXAMPLES
$ stackr deploy
$ stackr deploy --privateKey
`_See code: src/commands/deploy/index.ts_
stackr help [COMMAND]Display help for stackr.
`
USAGE
$ stackr help [COMMAND...] [-n]ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for stackr.
`_See code: @oclif/plugin-help_
stackr init [PROJECTNAME]Init an MRU from templates
`
USAGE
$ stackr init [PROJECTNAME]DESCRIPTION
Init an MRU from templates
EXAMPLES
$ stackr init
`_See code: src/commands/init/index.ts_
stackr registerRegister your MicroRollup with Stackr
`
USAGE
$ stackr register [--envFile ] [--privateKey ]FLAGS
--envFile= [default: .env] Path to the .env file
--privateKey= Private key of the account to be used to register the contract
DESCRIPTION
Register your MicroRollup with Stackr
EXAMPLES
$ stackr register
$ stackr register --privateKey --envFile
`_See code: src/commands/register/index.ts_
stackr transfer-ownership [NEWOWNER]Transfer ownership of the AppInbox contract to a new address
`
USAGE
$ stackr transfer-ownership [NEWOWNER] [--envFile ] [--privateKey ]ARGUMENTS
NEWOWNER Address of the new owner of the contract
FLAGS
--envFile= [default: .env] Path to the .env file
--privateKey= Private key of the current owner of the contract
DESCRIPTION
Transfer ownership of the AppInbox contract to a new address
EXAMPLES
$ stackr transfer-ownership
$ stackr transfer-ownership --privateKey
$ stackr transfer-ownership --envFile
`_See code: src/commands/transfer-ownership/index.ts_
stackr verify [APPINBOXCONTRACT]Verify that the source state machine binary matches with the registered binary on AppInbox
`
USAGE
$ stackr verify [APPINBOXCONTRACT]ARGUMENTS
APPINBOXCONTRACT The address of the AppInbox contract. If not provided, the address will be read from the
deployment.json file.
DESCRIPTION
Verify that the source state machine binary matches with the registered binary on AppInbox
EXAMPLES
$ stackr verify
$ stackr verify 0x1234567890abcdef1234567890abcdef12345678
``_See code: src/commands/verify/index.ts_