You will be prompted to select a pallet, the dispatchable function and its required arguments, connection details for the chain, and the account to sign the transaction.
If interactive guidance is not desired, you can proceed manually as follows:
To dispatch a call with Root origin when the chain's runtime includes pallet-sudo, you can wrap the call in a sudo.sudo() call by using the --sudo flag:
Wallet Signing Portal for Browser Extension Signing
Pop CLI includes a --use-wallet option that opens a signing portal, allowing you to sign transactions using a browser extension wallet. This eliminates the need to provide your account's private key directly in the command line. --suri can not be used with --use-wallet.
popcallchain--helpCallachainUsage:popcallchain [OPTIONS]Options:-p,--pallet<PALLET>Thepalletcontainingthedispatchablefunctiontoexecute-f,--function<FUNCTION>Thedispatchablefunctiontoexecutewithinthespecifiedpallet-a,--args [<ARGS>...]Thedispatchablefunctionarguments,encodedasstrings-u,--url<URL>Websocketendpointofanode-s,--suri<SURI>SecretkeyURIfortheaccountsigningtheextrinsic.e.g.-foradevaccount"//Alice"-withapassword"//Alice///SECRET_PASSWORD"-w,--use-walletUseabrowserextensionwallettosigntheextrinsic-c,--call<call>SCALEencodedbytesrepresentingthecalldataoftheextrinsic-S,--sudoAuthenticatesthesudokeyanddispatchesafunctioncallwith`Root`origin-y,--skip-confirmAutomaticallysignsandsubmitstheextrinsicwithoutpromptingforconfirmation-h,--helpPrinthelp (see asummarywith'-h')