armada-cli
Advanced tools
| { | ||
| "name": "armada-cli", | ||
| "version": "0.3.2", | ||
| "description": "Command line utility for the Armada Network", | ||
| "homepage": "https://armadanetwork.com", | ||
| "license": "MIT", | ||
| "scripts": { | ||
| "run": "npm run build && ./bin/run", | ||
| "dev": "npm run build && ./bin/dev", | ||
| "debug": "DEBUG=1 npm run build && ./bin/dev", | ||
| "build": "rm -rf ./dist && tsc", | ||
| "clean": "rm -rf ./dist", | ||
| "postpack": "rm -f oclif.manifest.json", | ||
| "prepack": "npm run build && oclif manifest" | ||
| }, | ||
| "bin": { | ||
| "armada": "./bin/run" | ||
| }, | ||
| "files": [ | ||
| "/bin", | ||
| "/dist", | ||
| "/oclif.manifest.json" | ||
| ], | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/armada-network/armada-cli" | ||
| }, | ||
| "engines": { | ||
| "node": ">=16.0.0" | ||
| }, | ||
| "oclif": { | ||
| "bin": "armada", | ||
| "dirname": "armada", | ||
| "commands": "./dist/src/commands", | ||
| "plugins": [ | ||
| "@oclif/plugin-help" | ||
| ], | ||
| "topicSeparator": " ", | ||
| "topics": { | ||
| "bundle": { | ||
| "description": "Build Armada Network content bundles." | ||
| }, | ||
| "key": { | ||
| "description": "Manage keys for signing transactions." | ||
| }, | ||
| "escrow": { | ||
| "description": "Manage the Armada project escrows." | ||
| }, | ||
| "node": { | ||
| "description": "Work with nodes on the Armada Network." | ||
| }, | ||
| "project": { | ||
| "description": "Work with projects on the Armada Network." | ||
| } | ||
| } | ||
| }, | ||
| "dependencies": { | ||
| "@ethersproject/constants": "^5.7.0", | ||
| "@ledgerhq/hw-app-eth": "^6.29.10", | ||
| "@ledgerhq/hw-transport-node-hid": "^6.27.6", | ||
| "@oclif/core": "^1.20.2", | ||
| "@oclif/plugin-help": "^5.1.17", | ||
| "ethers": "^5.7.1", | ||
| "inquirer": "^7.1.4", | ||
| "keytar": "^7.9.0", | ||
| "tar": "^6.1.11", | ||
| "yargs": "^17.6.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@ethersproject/abstract-provider": "^5.7.0", | ||
| "@ethersproject/abstract-signer": "^5.7.0", | ||
| "@ethersproject/json-wallets": "^5.7.0", | ||
| "@types/inquirer": "^9.0.2", | ||
| "@types/node": "^18.11.0", | ||
| "@types/node-hid": "^1.3.1", | ||
| "@types/tar": "^6.1.3", | ||
| "@types/yargs": "^17.0.13", | ||
| "@typescript-eslint/eslint-plugin": "^5.41.0", | ||
| "@typescript-eslint/parser": "^5.41.0", | ||
| "eslint": "^8.26.0", | ||
| "eslint-config-prettier": "^8.5.0", | ||
| "eslint-plugin-import": "^2.26.0", | ||
| "eslint-plugin-node": "^11.1.0", | ||
| "eslint-plugin-prettier": "^4.2.1", | ||
| "eslint-plugin-promise": "^6.1.1", | ||
| "oclif": "^3.2.24", | ||
| "prettier": "^2.7.1", | ||
| "ts-node": "^10.9.1", | ||
| "typescript": "^4.8.4" | ||
| } | ||
| } |
+2
-1
@@ -6,2 +6,3 @@ "use strict"; | ||
| const core_1 = require("@oclif/core"); | ||
| const package_json_1 = require("../package.json"); | ||
| const helpers_1 = require("./helpers"); | ||
@@ -15,3 +16,3 @@ const networks_1 = require("./networks"); | ||
| const netVersionStar = netVersion.split(".", 2).join(".") + ".*"; | ||
| const cliVersion = process.env.npm_package_version ?? ""; | ||
| const cliVersion = package_json_1.version; | ||
| const cliVersionStar = cliVersion.split(".", 2).join(".") + ".*"; | ||
@@ -18,0 +19,0 @@ if (netVersionStar !== cliVersionStar) { |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| const package_json_1 = require("../../package.json"); | ||
| const base_1 = require("../base"); | ||
@@ -11,3 +12,3 @@ const helpers_1 = require("../helpers"); | ||
| const netVersion = await registry.getVersion(); | ||
| const cliVersion = process.env.npm_package_version ?? ""; | ||
| const cliVersion = package_json_1.version; | ||
| const lastEpochStart = new Date(); | ||
@@ -14,0 +15,0 @@ lastEpochStart.setUTCHours(0, 0, 0, 0); |
@@ -1,1 +0,1 @@ | ||
| {"version":"0.3.1","commands":{"status":{"id":"status","summary":"Shows the current epoch status.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[]},"bundle:checksum":{"id":"bundle:checksum","summary":"Print the SHA256 checksum of the provided file.","strict":true,"usage":"<%= command.id %> FILE","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> my-site-v1.0.0.tgz"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"FILE","description":"The file to checksum.","required":true}]},"bundle:create":{"id":"bundle:create","summary":"Bundle an application for use on the Armada Network.","strict":true,"usage":"<%= command.id %> NAME DIR","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> my-site-v1.0.0 ./dist"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"NAME","description":"The name of the bundle to create (e.g. my-site-v1.0.0).","required":true},{"name":"DIR","description":"Relative path to the app's build directory (e.g. ./dist).","required":true}]},"bundle:manifest":{"id":"bundle:manifest","summary":"Generate a new site manifest.","strict":true,"usage":"<%= command.id %> DIR","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","hidden":true,"aliases":[],"examples":["<%= config.bin %> <%= command.id %> ./dist"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"DIR","description":"Relative path to the app's build directory (e.g. ./dist).","required":true}]},"key:balance":{"id":"key:balance","summary":"Shows token balance for an address.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[{"name":"ADDR","description":"The address to show balance."}]},"key:delete":{"id":"key:delete","summary":"Deletes a private key from the keystore.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"ADDR","description":"The address of the key to delete."}]},"key:edit":{"id":"key:edit","summary":"Changes the optional key description.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"ADDR","description":"The address of the key to describe."},{"name":"DESC","description":"The new description for the key."}]},"key:import":{"id":"key:import","summary":"Saves a private key for signing transactions.\nThe keys are stored in an encrypted keystore.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[]},"key:list":{"id":"key:list","summary":"Lists keys saved in the encrypted keystore.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[]},"node:create":{"id":"node:create","summary":"Register content nodes on the Armada Network.","description":"Node prices (PRICE) are expressed in USDC.","strict":true,"usage":"<%= command.id %> ID VALUES [DEFAULTS]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... host1.com:na,host2.com:eu","<%= config.bin %> <%= command.id %> 0x123abc... host1.com,host2.com na:true:1.5"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to own the nodes.","required":true},{"name":"VALUES","description":"The comma separated nodes data: HOST:REGION?:ENABLED?:PRICE?,...","required":true},{"name":"DEFAULTS","description":"The defaults, if omitted in the values: REGION?:ENABLED?:PRICE?","required":false}]},"node:delete":{"id":"node:delete","summary":"Delete content nodes from the Armada Network.","description":"Only unreserved nodes can be deleted. To force unreserve nodes, disable them and wait for the current epoch to end.","strict":true,"usage":"<%= command.id %> IDS...","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"IDS","description":"The comma separated IDs of the nodes to delete.","required":true}]},"node:enable":{"id":"node:enable","summary":"Change enabled state of content nodes.","description":"The nodes are enabled immediately, or disabled starting from the next epoch. Disabled nodes are unreserved immediately, effective from the next epoch.","strict":true,"usage":"<%= command.id %> IDS BOOL","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... true"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"IDS","description":"The comma separated IDs of the nodes.","required":true},{"name":"BOOL","description":"The new enabled state for the nodes.","required":true}]},"node:host":{"id":"node:host","summary":"Change hosts and regions of content nodes.","description":"Values can only be changed for currently unreserved nodes. Values can be partially omitted to keep the old values.","strict":true,"usage":"<%= command.id %> ID[:HOST?:REGION?],... [DEFAULT_REGION]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["node:host","node:hosts"],"examples":["<%= config.bin %> <%= command.id %> 0x123...:host1.com:na,0x234...:host2.com:eu","<%= config.bin %> <%= command.id %> 0x123...:host1.com,0x234...:host2.com","<%= config.bin %> <%= command.id %> 0x123...::na,0x234...::eu","<%= config.bin %> <%= command.id %> 0x123...,0x234... na"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID:HOST:REGION","description":"The comma separated values for the nodes.","required":true},{"name":"DEFAULT_REGION","description":"The default region, if omitted in the values.","required":false}]},"node:list":{"id":"node:list","summary":"List content nodes on the Armada Network.","strict":true,"usage":"<%= command.id %> [--topology] [--operator ID] [--skip N] [--size N] [--page N]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"topology":{"name":"topology","type":"boolean","description":"List topology nodes instead.","allowNo":false},"operator":{"name":"operator","type":"option","description":"Filter by operator ID.","helpValue":"ID","multiple":false},"vacant":{"name":"vacant","type":"boolean","description":"List only vacant nodes in this or next epoch.","allowNo":false},"spot":{"name":"spot","type":"boolean","description":"List only vacant nodes available in this epoch.","allowNo":false,"dependsOn":["vacant"]},"renew":{"name":"renew","type":"boolean","description":"List only vacant nodes available from next epoch.","allowNo":false,"dependsOn":["vacant"]},"skip":{"name":"skip","type":"option","description":"The number of results to skip.","helpValue":"N","multiple":false,"default":0},"size":{"name":"size","type":"option","description":"The number of results to list.","helpValue":"N","multiple":false,"default":100},"page":{"name":"page","type":"option","description":"The contract call paging size.","helpValue":"N","multiple":false,"default":100}},"args":[]},"node:price":{"id":"node:price","summary":"Change prices of content nodes.","description":"Spot prices can only be changed for currently unreserved nodes. Renewal prices can only be changed outside of the grace period, and a node will be automatically unreserved at the current epoch end if the reserving project escrow is no longer enough for the new price.","strict":true,"usage":"<%= command.id %> ID[:PRICE?],... [DEFAULT_PRICE] [--spot] [--renew]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["node:price","node:prices"],"examples":["<%= config.bin %> <%= command.id %> 0x123...:1.5,0x234...:1.5 --renew","<%= config.bin %> <%= command.id %> 0x123...,0x234... 1.5 --renew"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"spot":{"name":"spot","type":"boolean","description":"Change price in the current epoch only (nodes must not be reserved).","allowNo":false},"renew":{"name":"renew","type":"boolean","description":"Change price from the next epoch and on (must not be in grace period).","allowNo":false}},"args":[{"name":"ID:PRICE","description":"The comma separated USDC price values for the nodes.","required":true},{"name":"DEFAULT_PRICE","description":"The default USDC price, if omitted in the values.","required":false}]},"node:show":{"id":"node:show","summary":"Show details of an Armada Network node.","strict":true,"usage":"<%= command.id %> ID","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[{"name":"ID","description":"The ID of the node to show.","required":true}]},"operator:deposit":{"id":"operator:deposit","summary":"Deposit USDC to operator earned balance.","strict":true,"usage":"<%= command.id %> ID USDC","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to deposit balance for.","required":true},{"name":"USDC","description":"The USDC amount to deposit (e.g. 1.0).","required":true}]},"operator:list":{"id":"operator:list","summary":"List operators on the Armada Network.","strict":true,"usage":"<%= command.id %> [--skip N] [--size N] [--page N]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"skip":{"name":"skip","type":"option","description":"The number of results to skip.","helpValue":"N","multiple":false,"default":0},"size":{"name":"size","type":"option","description":"The number of results to list.","helpValue":"N","multiple":false,"default":100},"page":{"name":"page","type":"option","description":"The contract call paging size.","helpValue":"N","multiple":false,"default":100}},"args":[]},"operator:owner":{"id":"operator:owner","summary":"Transfer ownership of an operator.","strict":true,"usage":"<%= command.id %> ID ADDR","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["operator:owner","operator:transfer"],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 0x456def..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to change owner.","required":true},{"name":"ADDR","description":"The address of the new operator owner.","required":true}]},"operator:props":{"id":"operator:props","summary":"Change detailed properties of an operator.","strict":true,"usage":"<%= command.id %> ID NAME EMAIL","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... \"My Operator\" notify@myoperator.com"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to change properties.","required":true},{"name":"NAME","description":"The new human readable name of the operator.","required":true},{"name":"EMAIL","description":"The new email for admin notifications.","required":true}]},"operator:show":{"id":"operator:show","summary":"Show details of an Armada Network operator.","strict":true,"usage":"<%= command.id %> ID","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[{"name":"ID","description":"The ID of the operator to show.","required":true}]},"operator:stake":{"id":"operator:stake","summary":"Deposit Armada tokens to operator stake.","strict":true,"usage":"<%= command.id %> ID TOKENS","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to deposit stake for.","required":true},{"name":"TOKENS","description":"The Armada token amount to deposit (e.g. 1.0).","required":true}]},"operator:unstake":{"id":"operator:unstake","summary":"Withdraw Armada tokens from operator stake.","description":"The tokens are sent to the operator owner. Only the part of tokens not needed to stake the nodes can be withdrawn. In order to withdraw more, nodes can be deleted.","strict":true,"usage":"<%= command.id %> ID TOKENS","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"recipient":{"name":"recipient","type":"option","description":"[default: caller] The recipient address for tokens.","helpValue":"ADDR","multiple":false}},"args":[{"name":"ID","description":"The ID of the operator to withdraw stake from.","required":true},{"name":"TOKENS","description":"The Armada token amount to withdraw (e.g. 1.0).","required":true}]},"operator:withdraw":{"id":"operator:withdraw","summary":"Withdraw USDC from operator earned balance.","description":"The tokens are sent to the operator owner.","strict":true,"usage":"<%= command.id %> ID USDC","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"recipient":{"name":"recipient","type":"option","description":"[default: caller] The recipient address for tokens.","helpValue":"ADDR","multiple":false}},"args":[{"name":"ID","description":"The ID of the operator to withdraw balance from.","required":true},{"name":"USDC","description":"The USDC amount to withdraw (e.g. 1.0).","required":true}]},"project:content":{"id":"project:content","summary":"Publish the provided bundle on the network.","strict":true,"usage":"<%= command.id %> ID URL SHA","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["project:content","project:publish"],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... https://.../my-site-v1.0.0.tgz 0x456def...","<%= config.bin %> <%= command.id %> 0x123abc... '' '' # Unpublishes the project content"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to publish to.","required":true},{"name":"URL","description":"The public URL to fetch the bundle."},{"name":"SHA","description":"The SHA-256 checksum of the bundle."}]},"project:create":{"id":"project:create","summary":"Register a new project on the Armada Network.","strict":true,"usage":"<%= command.id %> [--owner ADDR] NAME EMAIL [URL] [SHA]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> \"My Project\" notify@myproject.com"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"owner":{"name":"owner","type":"option","description":"[default: caller] The owner for the new project.","helpValue":"ADDR","multiple":false}},"args":[{"name":"NAME","description":"The human readable name of the new project.","required":true},{"name":"EMAIL","description":"The project email for admin notifications.","required":true},{"name":"URL","description":"The public URL to fetch the content bundle.","default":""},{"name":"SHA","description":"The SHA-256 checksum of the content bundle.","default":""}]},"project:delete":{"id":"project:delete","summary":"Delete a project from the Armada Network.","strict":true,"usage":"<%= command.id %> ID","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to delete.","required":true}]},"project:deposit":{"id":"project:deposit","summary":"Deposit Armada tokens to project escrow.","strict":true,"usage":"<%= command.id %> ID TOKENS","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to deposit escrow for.","required":true},{"name":"USDC","description":"The USDC amount to deposit (e.g. 1.0).","required":true}]},"project:list":{"id":"project:list","summary":"List projects on the Armada Network.","strict":true,"usage":"<%= command.id %> [--owner ADDR] [--skip N] [--size N] [--page N]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"owner":{"name":"owner","type":"option","description":"Filter by owner address.","helpValue":"ADDR","multiple":false},"skip":{"name":"skip","type":"option","description":"The number of results to skip.","helpValue":"N","multiple":false,"default":0},"size":{"name":"size","type":"option","description":"The number of results to list.","helpValue":"N","multiple":false,"default":100},"page":{"name":"page","type":"option","description":"The contract call paging size.","helpValue":"N","multiple":false,"default":100}},"args":[]},"project:owner":{"id":"project:owner","summary":"Transfer ownership of a project.","strict":true,"usage":"<%= command.id %> ID ADDR","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["project:owner","project:transfer"],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 0x456def..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to change owner.","required":true},{"name":"ADDR","description":"The address of the new project owner.","required":true}]},"project:props":{"id":"project:props","summary":"Change detailed properties of a project.","strict":true,"usage":"<%= command.id %> ID NAME EMAIL","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... \"My Project\" notify@myproject.com"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to change properties.","required":true},{"name":"NAME","description":"The new human readable name of the project.","required":true},{"name":"EMAIL","description":"The new email for admin notifications.","required":true}]},"project:show":{"id":"project:show","summary":"Show details of an Armada Network project.","strict":true,"usage":"<%= command.id %> ID","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[{"name":"ID","description":"The ID of the project to show.","required":true}]},"project:withdraw":{"id":"project:withdraw","summary":"Withdraw USDC from project escrow.","description":"The tokens are sent to the project owner. Only the part of tokens not needed to reserve the nodes can be withdrawn. In order to withdraw more, reservations can be deleted.","strict":true,"usage":"<%= command.id %> ID USDC","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"recipient":{"name":"recipient","type":"option","description":"[default: caller] The recipient address for tokens.","helpValue":"ADDR","multiple":false}},"args":[{"name":"ID","description":"The ID of the project to withdraw escrow from.","required":true},{"name":"USDC","description":"The USDC amount to withdraw (e.g. 1.0).","required":true}]},"reservation:create":{"id":"reservation:create","summary":"Reserve content nodes for a project.","description":"Spot reservations are effective immediately, but expire at the end of the epoch. Renewal reservations are effective from the next epoch on, and will auto-renew. Specify both spot+renew reservation to reserve immediately and with auto-renewal. Spot reservations can't be unreserved until at least the end of the current epoch.","strict":true,"usage":"<%= command.id %> ID IDS... [--spot] [--renew]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 0x456def... --spot --renew"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"spot":{"name":"spot","type":"boolean","description":"Reserve in the current epoch only (can't unreserve until end of the epoch!)","allowNo":false},"renew":{"name":"renew","type":"boolean","description":"Reserve from the next epoch and on (can unreserve before next epoch start)","allowNo":false}},"args":[{"name":"ID","description":"The ID of the project to reserve the nodes.","required":true},{"name":"IDS","description":"The comma separated IDs of the nodes to reserve.","required":true}]},"reservation:delete":{"id":"reservation:delete","summary":"Unreserve content nodes from a project.","description":"The reservations are deleted immediately, effective in the next epoch.","strict":true,"usage":"<%= command.id %> ID IDS...","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 0x456def..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to unreserve the nodes.","required":true},{"name":"IDS","description":"The comma separated IDs of the nodes to unreserve.","required":true}]},"reservation:list":{"id":"reservation:list","summary":"List node reservations by a project.","strict":true,"usage":"<%= command.id %> [--skip N] [--size N] [--page N]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"skip":{"name":"skip","type":"option","description":"The number of results to skip.","helpValue":"N","multiple":false,"default":0},"size":{"name":"size","type":"option","description":"The number of results to list.","helpValue":"N","multiple":false,"default":100},"page":{"name":"page","type":"option","description":"The contract call paging size.","helpValue":"N","multiple":false,"default":100}},"args":[{"name":"ID","description":"The ID of the project.","required":true}]}}} | ||
| {"version":"0.3.2","commands":{"status":{"id":"status","summary":"Shows the current epoch status.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[]},"bundle:checksum":{"id":"bundle:checksum","summary":"Print the SHA256 checksum of the provided file.","strict":true,"usage":"<%= command.id %> FILE","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> my-site-v1.0.0.tgz"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"FILE","description":"The file to checksum.","required":true}]},"bundle:create":{"id":"bundle:create","summary":"Bundle an application for use on the Armada Network.","strict":true,"usage":"<%= command.id %> NAME DIR","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> my-site-v1.0.0 ./dist"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"NAME","description":"The name of the bundle to create (e.g. my-site-v1.0.0).","required":true},{"name":"DIR","description":"Relative path to the app's build directory (e.g. ./dist).","required":true}]},"bundle:manifest":{"id":"bundle:manifest","summary":"Generate a new site manifest.","strict":true,"usage":"<%= command.id %> DIR","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","hidden":true,"aliases":[],"examples":["<%= config.bin %> <%= command.id %> ./dist"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"DIR","description":"Relative path to the app's build directory (e.g. ./dist).","required":true}]},"key:balance":{"id":"key:balance","summary":"Shows token balance for an address.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[{"name":"ADDR","description":"The address to show balance."}]},"key:delete":{"id":"key:delete","summary":"Deletes a private key from the keystore.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"ADDR","description":"The address of the key to delete."}]},"key:edit":{"id":"key:edit","summary":"Changes the optional key description.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[{"name":"ADDR","description":"The address of the key to describe."},{"name":"DESC","description":"The new description for the key."}]},"key:import":{"id":"key:import","summary":"Saves a private key for signing transactions.\nThe keys are stored in an encrypted keystore.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[]},"key:list":{"id":"key:list","summary":"Lists keys saved in the encrypted keystore.","strict":true,"usage":"<%= command.id %>","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false}},"args":[]},"node:create":{"id":"node:create","summary":"Register content nodes on the Armada Network.","description":"Node prices (PRICE) are expressed in USDC.","strict":true,"usage":"<%= command.id %> ID VALUES [DEFAULTS]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... host1.com:na,host2.com:eu","<%= config.bin %> <%= command.id %> 0x123abc... host1.com,host2.com na:true:1.5"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to own the nodes.","required":true},{"name":"VALUES","description":"The comma separated nodes data: HOST:REGION?:ENABLED?:PRICE?,...","required":true},{"name":"DEFAULTS","description":"The defaults, if omitted in the values: REGION?:ENABLED?:PRICE?","required":false}]},"node:delete":{"id":"node:delete","summary":"Delete content nodes from the Armada Network.","description":"Only unreserved nodes can be deleted. To force unreserve nodes, disable them and wait for the current epoch to end.","strict":true,"usage":"<%= command.id %> IDS...","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"IDS","description":"The comma separated IDs of the nodes to delete.","required":true}]},"node:enable":{"id":"node:enable","summary":"Change enabled state of content nodes.","description":"The nodes are enabled immediately, or disabled starting from the next epoch. Disabled nodes are unreserved immediately, effective from the next epoch.","strict":true,"usage":"<%= command.id %> IDS BOOL","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... true"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"IDS","description":"The comma separated IDs of the nodes.","required":true},{"name":"BOOL","description":"The new enabled state for the nodes.","required":true}]},"node:host":{"id":"node:host","summary":"Change hosts and regions of content nodes.","description":"Values can only be changed for currently unreserved nodes. Values can be partially omitted to keep the old values.","strict":true,"usage":"<%= command.id %> ID[:HOST?:REGION?],... [DEFAULT_REGION]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["node:host","node:hosts"],"examples":["<%= config.bin %> <%= command.id %> 0x123...:host1.com:na,0x234...:host2.com:eu","<%= config.bin %> <%= command.id %> 0x123...:host1.com,0x234...:host2.com","<%= config.bin %> <%= command.id %> 0x123...::na,0x234...::eu","<%= config.bin %> <%= command.id %> 0x123...,0x234... na"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID:HOST:REGION","description":"The comma separated values for the nodes.","required":true},{"name":"DEFAULT_REGION","description":"The default region, if omitted in the values.","required":false}]},"node:list":{"id":"node:list","summary":"List content nodes on the Armada Network.","strict":true,"usage":"<%= command.id %> [--topology] [--operator ID] [--skip N] [--size N] [--page N]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"topology":{"name":"topology","type":"boolean","description":"List topology nodes instead.","allowNo":false},"operator":{"name":"operator","type":"option","description":"Filter by operator ID.","helpValue":"ID","multiple":false},"vacant":{"name":"vacant","type":"boolean","description":"List only vacant nodes in this or next epoch.","allowNo":false},"spot":{"name":"spot","type":"boolean","description":"List only vacant nodes available in this epoch.","allowNo":false,"dependsOn":["vacant"]},"renew":{"name":"renew","type":"boolean","description":"List only vacant nodes available from next epoch.","allowNo":false,"dependsOn":["vacant"]},"skip":{"name":"skip","type":"option","description":"The number of results to skip.","helpValue":"N","multiple":false,"default":0},"size":{"name":"size","type":"option","description":"The number of results to list.","helpValue":"N","multiple":false,"default":100},"page":{"name":"page","type":"option","description":"The contract call paging size.","helpValue":"N","multiple":false,"default":100}},"args":[]},"node:price":{"id":"node:price","summary":"Change prices of content nodes.","description":"Spot prices can only be changed for currently unreserved nodes. Renewal prices can only be changed outside of the grace period, and a node will be automatically unreserved at the current epoch end if the reserving project escrow is no longer enough for the new price.","strict":true,"usage":"<%= command.id %> ID[:PRICE?],... [DEFAULT_PRICE] [--spot] [--renew]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["node:price","node:prices"],"examples":["<%= config.bin %> <%= command.id %> 0x123...:1.5,0x234...:1.5 --renew","<%= config.bin %> <%= command.id %> 0x123...,0x234... 1.5 --renew"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"spot":{"name":"spot","type":"boolean","description":"Change price in the current epoch only (nodes must not be reserved).","allowNo":false},"renew":{"name":"renew","type":"boolean","description":"Change price from the next epoch and on (must not be in grace period).","allowNo":false}},"args":[{"name":"ID:PRICE","description":"The comma separated USDC price values for the nodes.","required":true},{"name":"DEFAULT_PRICE","description":"The default USDC price, if omitted in the values.","required":false}]},"node:show":{"id":"node:show","summary":"Show details of an Armada Network node.","strict":true,"usage":"<%= command.id %> ID","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[{"name":"ID","description":"The ID of the node to show.","required":true}]},"operator:deposit":{"id":"operator:deposit","summary":"Deposit USDC to operator earned balance.","strict":true,"usage":"<%= command.id %> ID USDC","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to deposit balance for.","required":true},{"name":"USDC","description":"The USDC amount to deposit (e.g. 1.0).","required":true}]},"operator:list":{"id":"operator:list","summary":"List operators on the Armada Network.","strict":true,"usage":"<%= command.id %> [--skip N] [--size N] [--page N]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"skip":{"name":"skip","type":"option","description":"The number of results to skip.","helpValue":"N","multiple":false,"default":0},"size":{"name":"size","type":"option","description":"The number of results to list.","helpValue":"N","multiple":false,"default":100},"page":{"name":"page","type":"option","description":"The contract call paging size.","helpValue":"N","multiple":false,"default":100}},"args":[]},"operator:owner":{"id":"operator:owner","summary":"Transfer ownership of an operator.","strict":true,"usage":"<%= command.id %> ID ADDR","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["operator:owner","operator:transfer"],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 0x456def..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to change owner.","required":true},{"name":"ADDR","description":"The address of the new operator owner.","required":true}]},"operator:props":{"id":"operator:props","summary":"Change detailed properties of an operator.","strict":true,"usage":"<%= command.id %> ID NAME EMAIL","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... \"My Operator\" notify@myoperator.com"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to change properties.","required":true},{"name":"NAME","description":"The new human readable name of the operator.","required":true},{"name":"EMAIL","description":"The new email for admin notifications.","required":true}]},"operator:show":{"id":"operator:show","summary":"Show details of an Armada Network operator.","strict":true,"usage":"<%= command.id %> ID","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[{"name":"ID","description":"The ID of the operator to show.","required":true}]},"operator:stake":{"id":"operator:stake","summary":"Deposit Armada tokens to operator stake.","strict":true,"usage":"<%= command.id %> ID TOKENS","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the operator to deposit stake for.","required":true},{"name":"TOKENS","description":"The Armada token amount to deposit (e.g. 1.0).","required":true}]},"operator:unstake":{"id":"operator:unstake","summary":"Withdraw Armada tokens from operator stake.","description":"The tokens are sent to the operator owner. Only the part of tokens not needed to stake the nodes can be withdrawn. In order to withdraw more, nodes can be deleted.","strict":true,"usage":"<%= command.id %> ID TOKENS","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"recipient":{"name":"recipient","type":"option","description":"[default: caller] The recipient address for tokens.","helpValue":"ADDR","multiple":false}},"args":[{"name":"ID","description":"The ID of the operator to withdraw stake from.","required":true},{"name":"TOKENS","description":"The Armada token amount to withdraw (e.g. 1.0).","required":true}]},"operator:withdraw":{"id":"operator:withdraw","summary":"Withdraw USDC from operator earned balance.","description":"The tokens are sent to the operator owner.","strict":true,"usage":"<%= command.id %> ID USDC","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"recipient":{"name":"recipient","type":"option","description":"[default: caller] The recipient address for tokens.","helpValue":"ADDR","multiple":false}},"args":[{"name":"ID","description":"The ID of the operator to withdraw balance from.","required":true},{"name":"USDC","description":"The USDC amount to withdraw (e.g. 1.0).","required":true}]},"project:content":{"id":"project:content","summary":"Publish the provided bundle on the network.","strict":true,"usage":"<%= command.id %> ID URL SHA","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["project:content","project:publish"],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... https://.../my-site-v1.0.0.tgz 0x456def...","<%= config.bin %> <%= command.id %> 0x123abc... '' '' # Unpublishes the project content"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to publish to.","required":true},{"name":"URL","description":"The public URL to fetch the bundle."},{"name":"SHA","description":"The SHA-256 checksum of the bundle."}]},"project:create":{"id":"project:create","summary":"Register a new project on the Armada Network.","strict":true,"usage":"<%= command.id %> [--owner ADDR] NAME EMAIL [URL] [SHA]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> \"My Project\" notify@myproject.com"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"owner":{"name":"owner","type":"option","description":"[default: caller] The owner for the new project.","helpValue":"ADDR","multiple":false}},"args":[{"name":"NAME","description":"The human readable name of the new project.","required":true},{"name":"EMAIL","description":"The project email for admin notifications.","required":true},{"name":"URL","description":"The public URL to fetch the content bundle.","default":""},{"name":"SHA","description":"The SHA-256 checksum of the content bundle.","default":""}]},"project:delete":{"id":"project:delete","summary":"Delete a project from the Armada Network.","strict":true,"usage":"<%= command.id %> ID","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to delete.","required":true}]},"project:deposit":{"id":"project:deposit","summary":"Deposit Armada tokens to project escrow.","strict":true,"usage":"<%= command.id %> ID TOKENS","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to deposit escrow for.","required":true},{"name":"USDC","description":"The USDC amount to deposit (e.g. 1.0).","required":true}]},"project:list":{"id":"project:list","summary":"List projects on the Armada Network.","strict":true,"usage":"<%= command.id %> [--owner ADDR] [--skip N] [--size N] [--page N]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"owner":{"name":"owner","type":"option","description":"Filter by owner address.","helpValue":"ADDR","multiple":false},"skip":{"name":"skip","type":"option","description":"The number of results to skip.","helpValue":"N","multiple":false,"default":0},"size":{"name":"size","type":"option","description":"The number of results to list.","helpValue":"N","multiple":false,"default":100},"page":{"name":"page","type":"option","description":"The contract call paging size.","helpValue":"N","multiple":false,"default":100}},"args":[]},"project:owner":{"id":"project:owner","summary":"Transfer ownership of a project.","strict":true,"usage":"<%= command.id %> ID ADDR","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":["project:owner","project:transfer"],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 0x456def..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to change owner.","required":true},{"name":"ADDR","description":"The address of the new project owner.","required":true}]},"project:props":{"id":"project:props","summary":"Change detailed properties of a project.","strict":true,"usage":"<%= command.id %> ID NAME EMAIL","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... \"My Project\" notify@myproject.com"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to change properties.","required":true},{"name":"NAME","description":"The new human readable name of the project.","required":true},{"name":"EMAIL","description":"The new email for admin notifications.","required":true}]},"project:show":{"id":"project:show","summary":"Show details of an Armada Network project.","strict":true,"usage":"<%= command.id %> ID","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false}},"args":[{"name":"ID","description":"The ID of the project to show.","required":true}]},"project:withdraw":{"id":"project:withdraw","summary":"Withdraw USDC from project escrow.","description":"The tokens are sent to the project owner. Only the part of tokens not needed to reserve the nodes can be withdrawn. In order to withdraw more, reservations can be deleted.","strict":true,"usage":"<%= command.id %> ID USDC","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 1.0"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"recipient":{"name":"recipient","type":"option","description":"[default: caller] The recipient address for tokens.","helpValue":"ADDR","multiple":false}},"args":[{"name":"ID","description":"The ID of the project to withdraw escrow from.","required":true},{"name":"USDC","description":"The USDC amount to withdraw (e.g. 1.0).","required":true}]},"reservation:create":{"id":"reservation:create","summary":"Reserve content nodes for a project.","description":"Spot reservations are effective immediately, but expire at the end of the epoch. Renewal reservations are effective from the next epoch on, and will auto-renew. Specify both spot+renew reservation to reserve immediately and with auto-renewal. Spot reservations can't be unreserved until at least the end of the current epoch.","strict":true,"usage":"<%= command.id %> ID IDS... [--spot] [--renew]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 0x456def... --spot --renew"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]},"spot":{"name":"spot","type":"boolean","description":"Reserve in the current epoch only (can't unreserve until end of the epoch!)","allowNo":false},"renew":{"name":"renew","type":"boolean","description":"Reserve from the next epoch and on (can unreserve before next epoch start)","allowNo":false}},"args":[{"name":"ID","description":"The ID of the project to reserve the nodes.","required":true},{"name":"IDS","description":"The comma separated IDs of the nodes to reserve.","required":true}]},"reservation:delete":{"id":"reservation:delete","summary":"Unreserve content nodes from a project.","description":"The reservations are deleted immediately, effective in the next epoch.","strict":true,"usage":"<%= command.id %> ID IDS...","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %> 0x123abc... 0x456def..."],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"address":{"name":"address","type":"option","description":"The account address to use (keystore only).","helpValue":"ADDR","helpGroup":"BASE","multiple":false,"exclusive":["signer","key"]},"signer":{"name":"signer","type":"option","description":"The method for signing transactions.","helpValue":"(keystore|ledger|raw)","helpGroup":"BASE","multiple":false,"options":["keystore","ledger","raw"],"exclusive":["address","key"],"default":"keystore"},"account":{"name":"account","type":"option","description":"Account derivation number if using Ledger, starts at 0.","helpValue":"N","helpGroup":"BASE","multiple":false,"relationships":[{"type":"all","flags":[{"name":"signer"}]}],"exclusive":["address","key"],"default":"0"},"key":{"name":"key","type":"option","description":"The private key for transactions (danger).","helpValue":"KEY","helpGroup":"BASE","multiple":false,"exclusive":["address","signer"]}},"args":[{"name":"ID","description":"The ID of the project to unreserve the nodes.","required":true},{"name":"IDS","description":"The comma separated IDs of the nodes to unreserve.","required":true}]},"reservation:list":{"id":"reservation:list","summary":"List node reservations by a project.","strict":true,"usage":"<%= command.id %> [--skip N] [--size N] [--page N]","pluginName":"armada-cli","pluginAlias":"armada-cli","pluginType":"core","aliases":[],"examples":["<%= config.bin %> <%= command.id %>"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"network":{"name":"network","type":"option","description":"The network to use.","helpValue":"(testnet|staging|localhost)","helpGroup":"BASE","multiple":false,"options":["testnet","staging","localhost"],"default":"testnet"},"abi":{"name":"abi","type":"option","description":"The ABI base directory.","helpValue":"DIR","helpGroup":"BASE","multiple":false},"rpc":{"name":"rpc","type":"option","description":"Ethereum node endpoint.","helpValue":"URL","helpGroup":"BASE","multiple":false},"skip":{"name":"skip","type":"option","description":"The number of results to skip.","helpValue":"N","multiple":false,"default":0},"size":{"name":"size","type":"option","description":"The number of results to list.","helpValue":"N","multiple":false,"default":100},"page":{"name":"page","type":"option","description":"The contract call paging size.","helpValue":"N","multiple":false,"default":100}},"args":[{"name":"ID","description":"The ID of the project.","required":true}]}}} |
+3
-3
| { | ||
| "name": "armada-cli", | ||
| "version": "0.3.1", | ||
| "version": "0.3.2", | ||
| "description": "Command line utility for the Armada Network", | ||
@@ -11,4 +11,4 @@ "homepage": "https://armadanetwork.com", | ||
| "debug": "DEBUG=1 npm run build && ./bin/dev", | ||
| "build": "rm -rf dist && tsc", | ||
| "clean": "rm -rf dist", | ||
| "build": "rm -rf ./dist && tsc", | ||
| "clean": "rm -rf ./dist", | ||
| "postpack": "rm -f oclif.manifest.json", | ||
@@ -15,0 +15,0 @@ "prepack": "npm run build && oclif manifest" |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
687427
0.43%68
1.49%10065
0.02%7
-22.22%