@stackr/cli
CLI to register, compile and deploy your Stackr Micro Rollups
Usage
$ npm install -g @stackr/cli
$ stackr COMMAND
running command...
$ stackr (--version)
@stackr/cli/0.1.1 linux-x64 node-v18.20.3
$ stackr --help [COMMAND]
USAGE
$ stackr COMMAND
...
Commands
stackr add [ENTITY] [CONTRACT]
Adds Bridge or Hook to the AppInbox contract of your MRU
USAGE
$ stackr add [ENTITY] [CONTRACT] [--envFile <value>]
ARGUMENTS
ENTITY (bridge|hook) Entity to add to your App Inbox
CONTRACT Contract Address of the entity to add to your App Inbox
FLAGS
--envFile=<value> [default: .env] Path to the .env file
DESCRIPTION
Adds Bridge or Hook to the AppInbox contract of your MRU
EXAMPLES
$ stackr add bridge 0x1234567890abcdef1234567890abcdef12345678
$ stackr add hook 0x1234567890abcdef1234567890abcdef12345678
$ stackr add hook 0x1234567890abcdef1234567890abcdef12345678 --envFile=<relative path to file>
See code: src/commands/add/index.ts
stackr compile
Compile yours Stackr State Machines to portable WASM modules.
USAGE
$ stackr compile
DESCRIPTION
Compile yours Stackr State Machines to portable WASM modules.
EXAMPLES
$ stackr compile
See code: src/commands/compile/index.ts
stackr deploy
Deploy your MRU to Vulcan
USAGE
$ stackr deploy [--envFile <value>] [--privateKey <value>]
FLAGS
--envFile=<value> [default: .env] Path to the .env file
--privateKey=<value> Private key of the account to be used to deploy the contract
DESCRIPTION
Deploy your MRU to Vulcan
EXAMPLES
$ stackr deploy
$ stackr deploy --privateKey <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 register
Register your MicroRollup with Stackr
USAGE
$ stackr register [--envFile <value>] [--privateKey <value>]
FLAGS
--envFile=<value> [default: .env] Path to the .env file
--privateKey=<value> Private key of the account to be used to register the contract
DESCRIPTION
Register your MicroRollup with Stackr
EXAMPLES
$ stackr register
$ stackr register --privateKey <privateKey> --envFile <path>
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 <value>] [--privateKey <value>]
ARGUMENTS
NEWOWNER Address of the new owner of the contract
FLAGS
--envFile=<value> [default: .env] Path to the .env file
--privateKey=<value> Private key of the current owner of the contract
DESCRIPTION
Transfer ownership of the AppInbox contract to a new address
EXAMPLES
$ stackr transfer-ownership <new-address>
$ stackr transfer-ownership <new-address> --privateKey <privateKey>
$ stackr transfer-ownership <new-address> --envFile <relative path to file>
See code: src/commands/transfer-ownership/index.ts