commandosslabs/Setup Sui CLI
Install a specific Sui CLI version and configure a deployer wallet for a target network.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| network | Target Sui network. Supported values: - `testnet` - `mainnet` | no | testnet |
| private_key | Sui private key to import into the local keystore. Accepted format: - Compatible with `sui keytool import <PRIVATE_KEY> ed25519` - Typically starts with `suiprivkey...` Tip: - Export an existing key with `sui keytool export --key-identity <SUI_ADDRESS>` If omitted, the action installs Sui CLI only and skips wallet configuration. | no | — |
| version | Sui CLI version tag to install. If omitted, the action resolves the latest network-specific release tag from the official Sui repository. Available releases: https://github.com/MystenLabs/sui/releases/ | no | — |
| token | GitHub token used to authenticate requests to the GitHub API when resolving the default Sui CLI version. Defaults to the workflow's built-in `github.token` to avoid unauthenticated rate limits. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| rpc_url | Resolved Sui RPC endpoint for the selected network. |
| active_address | Active Sui address imported into the wallet. |