{"version":"0.1.98","commands":{"boilerplate":{"id":"boilerplate","description":"Boilerplate a new Proton Project with contract, frontend and tests","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"folder"}]},"version":{"id":"version","description":"Version of CLI","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"account:create-funded":{"id":"account:create-funded","description":"Create a new account funded by an existing account (no email verification).\n\nThe creator account pays for RAM and signs the transaction.\nCPU and NET bandwidth are delegated for free by the network.\n\nAccount naming rules:\n  - Must be 4-12 characters long\n  - Only lowercase letters a-z and digits 1-5 are allowed\n  - Periods (.) are allowed but the suffix must be owned by the creator\n  - Characters 0, 6, 7, 8, 9 are NOT allowed\n  - Examples: myaccount, agent11111, test.paul\n\nSecurity:\n  Use --owner to add a backup account to the owner permission.\n  This allows the designated owner to recover or rotate keys\n  on the new account if the generated key is lost or compromised.\n  The owner permission threshold is set to 1, so either the key\n  or the owner account can act independently.\n\nCost: ~6-7 XPR per 3000 bytes of RAM (default).\nThe creator account must hold enough XPR to cover RAM costs.","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"examples":["$ proton account:create-funded myaccount --creator fundingacct","$ proton account:create-funded myaccount -c fundingacct --ram 8192","$ proton account:create-funded myaccount -c fundingacct -k PUB_K1_...","$ proton account:create-funded agentacct -c fundingacct --owner paul123"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"creator":{"name":"creator","type":"option","char":"c","description":"Existing account that pays for and creates the new account","required":true,"multiple":false},"key":{"name":"key","type":"option","char":"k","description":"Public key for new account (PUB_K1_... format). Generates new key if omitted","multiple":false},"ram":{"name":"ram","type":"option","char":"r","description":"RAM bytes to purchase for new account (minimum 3000)","multiple":false,"default":3000},"owner":{"name":"owner","type":"option","char":"o","description":"Account to add as backup owner (can recover/rotate keys if agent key is lost)","multiple":false}},"args":[{"name":"account","description":"New account name (4-12 chars, a-z and 1-5 only)","required":true}]},"account:create":{"id":"account:create","description":"Create New Account","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"account","required":true}]},"account":{"id":"account","description":"Get Account Information","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"raw":{"name":"raw","type":"boolean","char":"r","allowNo":false},"tokens":{"name":"tokens","type":"boolean","char":"t","description":"Show token balances","allowNo":false}},"args":[{"name":"account","required":true}]},"action":{"id":"action","description":"Execute Action","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"contract","required":true},{"name":"action","required":false},{"name":"data","required":false},{"name":"authorization","description":"Account to authorize with","required":false}]},"block:get":{"id":"block:get","description":"Get Block","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"blockNumber","required":true}]},"chain:get":{"id":"chain:get","description":"Get Current Chain","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":["network"],"flags":{},"args":[]},"chain:info":{"id":"chain:info","description":"Get Chain Info","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"chain:list":{"id":"chain:list","description":"All Networks","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"chain:set":{"id":"chain:set","description":"Set Chain","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"chain","description":"Specific chain","required":false}]},"contract:abi":{"id":"contract:abi","description":"Get Contract ABI","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"account","required":true}]},"contract:clear":{"id":"contract:clear","description":"Clean Contract","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"abiOnly":{"name":"abiOnly","type":"boolean","char":"a","description":"Only remove ABI","allowNo":false},"wasmOnly":{"name":"wasmOnly","type":"boolean","char":"w","description":"Only remove WASM","allowNo":false}},"args":[{"name":"account","required":true}]},"contract:enableinline":{"id":"contract:enableinline","description":"Enable Inline Actions on a Contract","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"authorization":{"name":"authorization","type":"option","char":"p","description":"Use a specific authorization other than contract@active","multiple":false}},"args":[{"name":"account","description":"Contract account to enable","required":true}]},"contract:set":{"id":"contract:set","description":"Deploy Contract (WASM + ABI)\n  \n  ","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"clear":{"name":"clear","type":"boolean","char":"c","description":"Removes WASM + ABI from contract","allowNo":false},"abiOnly":{"name":"abiOnly","type":"boolean","char":"a","description":"Only deploy ABI","allowNo":false},"wasmOnly":{"name":"wasmOnly","type":"boolean","char":"w","description":"Only deploy WASM","allowNo":false},"disableInline":{"name":"disableInline","type":"boolean","char":"s","description":"Disable inline actions on contract","allowNo":false}},"args":[{"name":"account","required":true},{"name":"source","required":true}]},"encode:name":{"id":"encode:name","description":"Encode Name","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"account","required":true}]},"encode:symbol":{"id":"encode:symbol","description":"Encode Symbol","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"symbol","required":true},{"name":"precision","required":true}]},"endpoint:default":{"id":"endpoint:default","description":"Restore default enpoint","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"endpoint","description":"Restore default endpoints","required":false}]},"endpoint:get":{"id":"endpoint:get","description":"Get Current enpoint","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":["endpoint"],"flags":{},"args":[]},"endpoint:set":{"id":"endpoint:set","description":"Set current enpoint","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"endpoint","description":"Specific endpoint","required":false}]},"faucet:claim":{"id":"faucet:claim","description":"Claim faucet","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"symbol","required":true},{"name":"authorization","description":"Authorization like account1@active","required":true}]},"faucet":{"id":"faucet","description":"List all faucets","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"generate:action":{"id":"generate:action","description":"Add extra actions to the smart contract","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"The relative path to folder the the contract should be located. Current folder by default.","multiple":false,"default":""},"contract":{"name":"contract","type":"option","char":"c","description":"The name of the contract for table. 1-12 chars, only lowercase a-z and numbers 1-5 are possible","multiple":false}},"args":[],"_globalFlags":{}},"generate:contract":{"id":"generate:contract","description":"Create new smart contract","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"The relative path to folder the the contract should be located. Current folder by default.","multiple":false,"default":""}},"args":[{"name":"contractName","description":"The name of the contract. 1-12 chars, only lowercase a-z and numbers 1-5 are possible","required":true}],"_globalFlags":{}},"generate:inlineaction":{"id":"generate:inlineaction","description":"Add inline action for the smart contract","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"The relative path to folder the the contract should be located. Current folder by default.","multiple":false,"default":""},"contract":{"name":"contract","type":"option","char":"c","description":"The name of the contract for table. 1-12 chars, only lowercase a-z and numbers 1-5 are possible","multiple":false}},"args":[{"name":"actionName","description":"The name of the inline action's class.","required":true}],"_globalFlags":{}},"generate:table":{"id":"generate:table","description":"Add table for the smart contract","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"class":{"name":"class","type":"option","char":"t","description":"The name of Typescript class for the table","multiple":false},"singleton":{"name":"singleton","type":"boolean","char":"s","description":"Create a singleton table?","allowNo":false},"output":{"name":"output","type":"option","char":"o","description":"The relative path to folder the the contract should be located. Current folder by default.","multiple":false,"default":""},"contract":{"name":"contract","type":"option","char":"c","description":"The name of the contract for table. 1-12 chars, only lowercase a-z and numbers 1-5 are possible","multiple":false}},"args":[{"name":"tableName","description":"The name of the contract's table. 1-12 chars, only lowercase a-z and numbers 1-5 are possible","required":true}],"_globalFlags":{}},"key:add":{"id":"key:add","description":"Manage Keys","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"privateKey","required":false}]},"key:generate":{"id":"key:generate","description":"Generate Key","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"key:get":{"id":"key:get","description":"Reveal the private key for a saved public key (gated by the reveal password if one is set)","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"Skip the typed confirmation and TTY check. Intended for non-interactive scripts. Does NOT skip the reveal password if one is set.","allowNo":false}},"args":[{"name":"publicKey","required":true}]},"key:list":{"id":"key:list","description":"List saved keys. Shows public keys and associated accounts by default; pass --reveal-private to include private keys (gated by the reveal password if one is set).","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"reveal-private":{"name":"reveal-private","type":"boolean","char":"r","description":"Include private keys in the output (requires the reveal password if set, or a typed confirmation otherwise)","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Skip the typed confirmation and TTY check when used with --reveal-private. Intended for non-interactive scripts. Does NOT skip the reveal password if one is set.","allowNo":false}},"args":[]},"key:lock":{"id":"key:lock","description":"Lock Keys with password","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"key:remove":{"id":"key:remove","description":"Remove Key","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"privateKey","required":false}]},"key:reset":{"id":"key:reset","description":"Reset password (Caution: deletes all private keys stored)","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"key:reveal-disable":{"id":"key:reveal-disable","description":"Remove the reveal password (requires entering the current one)","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"key:reveal-setup":{"id":"key:reveal-setup","description":"Set or change the reveal password required to view private keys via key:get or key:list --reveal-private","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"key:unlock":{"id":"key:unlock","description":"Unlock all keys (Caution: Your keys will be stored in plaintext on disk)","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"password","required":false}]},"msig:approve":{"id":"msig:approve","description":"Multisig Approve","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"proposer","required":true},{"name":"proposal","required":true},{"name":"auth","required":true}]},"msig:cancel":{"id":"msig:cancel","description":"Multisig Cancel","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"proposalName","required":true},{"name":"auth","required":true}]},"msig:exec":{"id":"msig:exec","description":"Multisig Execute","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"proposer","required":true},{"name":"proposal","required":true},{"name":"auth","required":true}]},"msig:propose":{"id":"msig:propose","description":"Multisig Propose","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"blocksBehind":{"name":"blocksBehind","type":"option","char":"b","multiple":false,"default":30},"expireSeconds":{"name":"expireSeconds","type":"option","char":"x","multiple":false,"default":604800}},"args":[{"name":"proposalName","required":true},{"name":"actions","required":true},{"name":"auth","required":true}]},"permission":{"id":"permission","description":"Update Permission","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"account","description":"Account to modify","required":true}]},"permission:link":{"id":"permission:link","description":"Link Auth","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"permission":{"name":"permission","type":"option","char":"p","description":"Permission to sign with (e.g. account@active)","multiple":false,"default":""}},"args":[{"name":"account","required":true},{"name":"permission","required":true},{"name":"contract","required":true},{"name":"action","required":false,"default":""}]},"permission:unlink":{"id":"permission:unlink","description":"Unlink Auth","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"permission":{"name":"permission","type":"option","char":"p","multiple":false,"default":""}},"args":[{"name":"account","required":true},{"name":"contract","required":true},{"name":"action","required":false,"default":""}]},"psr":{"id":"psr","description":"Create Session","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"uri","required":true}]},"ram:buy":{"id":"ram:buy","description":"Buy RAM for an account","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"examples":["$ proton ram:buy myaccount myaccount 10000","$ proton ram:buy payer receiver 50000 -p payer@active"],"flags":{"authorization":{"name":"authorization","type":"option","char":"p","description":"Authorization to use (e.g., account@active). Defaults to buyer@active","multiple":false}},"args":[{"name":"buyer","description":"Account paying for RAM","required":true},{"name":"receiver","description":"Account receiving RAM","required":true},{"name":"bytes","description":"Number of bytes of RAM to purchase","required":true}]},"ram":{"id":"ram","description":"List Ram price","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"rpc:accountsbyauthorizers":{"id":"rpc:accountsbyauthorizers","description":"Get Accounts by Authorization","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"authorizations","required":true,"default":[]},{"name":"keys","required":false,"default":[]}]},"scan":{"id":"scan","description":"Open Account in Proton Scan","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"account","required":true}]},"system:buyram":{"id":"system:buyram","description":"System Buy Ram","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[{"name":"receiver","required":true},{"name":"bytes","required":true}]},"system:delegatebw":{"id":"system:delegatebw","description":"System Delegate Bandwidth","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"transfer":{"name":"transfer","type":"boolean","char":"t","allowNo":false}},"args":[{"name":"receiver","required":true},{"name":"cpu","required":true},{"name":"net","required":true}]},"system:newaccount":{"id":"system:newaccount","description":"System New Account","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"net":{"name":"net","type":"option","char":"n","multiple":false,"default":"10.0000 SYS"},"cpu":{"name":"cpu","type":"option","char":"c","multiple":false,"default":"10.0000 SYS"},"ram":{"name":"ram","type":"option","char":"r","multiple":false,"default":12288},"transfer":{"name":"transfer","type":"boolean","char":"t","allowNo":false},"code":{"name":"code","type":"boolean","allowNo":false}},"args":[{"name":"account","required":true},{"name":"owner","required":true},{"name":"active","required":true}]},"system:setramlimit":{"id":"system:setramlimit","description":"System Set RAM Limit","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[{"name":"account","required":true},{"name":"ramlimit","required":true}]},"system:undelegatebw":{"id":"system:undelegatebw","description":"System Undelegate Bandwidth","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[{"name":"receiver","required":true},{"name":"cpu","required":true},{"name":"net","required":true}]},"table":{"id":"table","description":"Get Table Storage Rows","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"lowerBound":{"name":"lowerBound","type":"option","char":"l","multiple":false},"upperBound":{"name":"upperBound","type":"option","char":"u","multiple":false},"keyType":{"name":"keyType","type":"option","char":"k","multiple":false},"reverse":{"name":"reverse","type":"boolean","char":"r","allowNo":false},"showPayer":{"name":"showPayer","type":"boolean","char":"p","allowNo":false},"limit":{"name":"limit","type":"option","char":"c","multiple":false,"default":100},"indexPosition":{"name":"indexPosition","type":"option","char":"i","multiple":false,"default":1}},"args":[{"name":"contract","required":true},{"name":"table","required":false},{"name":"scope","required":false}]},"transaction:get":{"id":"transaction:get","description":"Get Transaction by Transaction ID","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"id","required":true}]},"transaction":{"id":"transaction","description":"Execute Transaction","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"json","required":true}]},"transaction:push":{"id":"transaction:push","description":"Push Transaction","strict":true,"pluginName":"@proton/cli","pluginAlias":"@proton/cli","pluginType":"core","aliases":[],"flags":{"endpoint":{"name":"endpoint","type":"option","char":"u","description":"Your RPC endpoint","multiple":false}},"args":[{"name":"transaction","required":true}]}}}