All other commands prepended with act-
execute as a child of this command
usage: act: [-hDV] [--help] [--version]
[--debug] <command> [<args>]
Flag(s) |
Description |
Type |
-h, --help |
Show this message |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Deploy an Ara proxy or standard contract
usage: act deploy: [-h] [--help]
[options] [--] <pathspec>...
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
The DID of the Ara master account |
string |
Subcommand |
Description |
act-deploy proxy |
Deploy a proxy contract for |
act-deploy standard |
Deploy a new AFS standard |
Deploy a proxy contract for
act-deploy proxy [options] <did> <version-name>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring |
|
-v, --version, -V |
Show version number |
|
-name, -u, --upgrade |
[boolean] |
> |
-f, --force |
Bypass password input, must also pass in password. |
|
-p, --password |
Password for DID |
|
-a, -password, --afs |
Password for AFS |
|
Flag(s) |
Description |
Type |
did |
The content DID for this proxy |
string |
version-name |
The version name of the AFS standard to use with this proxy |
string required |
Deploy a new AFS standard
act-deploy standard [options] <did> <version-name> <pathspec...>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
-f, --force |
Bypass password input, must also pass in password. |
|
-p, --password |
Password for DID |
|
Flag(s) |
Description |
Type |
did |
The registry contract owner DID |
string |
version-name |
The version name of the new AFS standard |
string |
pathspec |
Paths to the solidity dependencies(s) of AFS.sol |
array required default: |
Interact with the ARA library
usage: act library: [-h] [--help]
<did> [options]
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
The library owner's DID |
string |
Subcommand |
Description |
act-library get |
Gets the content DID at in 's |
Gets the content DID at in 's
act-library get <did> <index>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
The library owner's DID |
string |
index |
The position in the library |
number |
Purchase an AFS in the ARA network
act-purchase <purchaser> <did> [--budget]
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
-b, --budget |
The amount of Ara to budget for downloading the AFS[number] |
|
Flag(s) |
Description |
Type |
purchaser |
The DID of the purchaser |
string |
did |
The content DID to purchase |
string |
Submit, allocate, and redeem rewards
usage: act reward: [-h] [--help] [options]
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Subcommand |
Description |
act-reward balance |
Query 's reward balance for |
act-reward redeem |
Transfer balance from to |
act-reward submit |
Submit a budget for a DCDN download |
act-reward budget |
Query the budget for a |
act-reward allocate |
Allocate the budget for |
Query 's reward balance for
act-reward balance <did> <content>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
The DID that owns the balance |
string |
content |
The content DID where the balance is located |
string |
Transfer balance from to
act-reward redeem <did> <content>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
The DID that owns the balance |
string |
content |
The content DID where the balance is located |
string |
Submit a budget for a DCDN download
act-reward submit <did> <content> <budget>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
The DID providing the budget |
string |
content |
The content DID where the budget will be submitted[string] [required] |
|
budget |
The amount of Ara to budget for a DCDN download |
string |
Query the budget for a
act-reward budget <content> <jobId>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
content |
The content DID where the budget is located |
string |
jobId |
The ID of the DCDN job the budget is for |
string |
Allocate the budget for
act-reward allocate <did> <content> <jobId>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
The DID allocating the budget |
string |
content |
The content DID where the budget is located |
string |
jobId |
The ID of the DCDN job the budget is for |
string |
Approve Ara transfers on a sender's behalf
act-approve [options] <owner> <spender> <amount>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
-i, --increase |
Flag to increase approval by |
|
-d, --decrease |
Flag to decrease approval by |
|
Flag(s) |
Description |
Type |
owner |
DID of the owner (the account that owns the tokens to be spent) |
string |
amount |
Amount to modify the allowance for |
string |
Transfer Ara to a specified address; can specify from address
act-transfer [--sender] <from> <to> <amount>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
-s, --sender |
DID of the sender of the transaction if it is not |
|
Flag(s) |
Description |
Type |
from |
DID of the account to transfer Ara from |
string |
to |
DID or address of the account to transfer Ara to |
string |
amount |
Number of Ara to transfer |
string |
Deposit Ara for rewards eligibility
act-deposit <did> <amount>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
DID of the requester (the account that owns the tokens to be deposited) |
string |
Withdraw Ara from prior deposit
act-withdraw <did> <amount>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
DID of the withdrawer |
string |
amount |
The number of Ara tokens to withdraw |
string |
Query balances, total supply, allowances, and deposit amounts
usage: act token: [-h] [--help] [options] [--] <command>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Subcommand |
Description |
act-token deposited |
Query number of Ara currently deposited |
act-token balance |
Query Ara balance of of an Ara identity |
act-token allowance |
Query number of Ara can spend |
act-token supply |
Query total supply of Ara |
Query number of Ara currently deposited
act-token deposited <did>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
DID of the account to check |
string |
Query Ara balance of of an Ara identity
act-token balance <account>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
account |
DID/Ethereum address of the account to check |
string |
Query number of Ara can spend
act-token allowance <did> <spender>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Flag(s) |
Description |
Type |
did |
DID of the owner |
string |
spender |
DID of the spender |
string |
Query total supply of Ara
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
Upgrade an Ara core contract (Registry, Library, Token)
act-upgrade [options] <did> <version-name>
Flag(s) |
Description |
Type |
-h, --help |
Show help |
|
-contracts, -D, --debug |
|
:*') |
-s, --secret |
Shared secret for the keyring |
|
-n, --network |
Network name of the key for the DID resolver in the keyring [string] |
|
-v, --version, -V |
Show version number |
|
-r, --registry |
Upgrade Registry contract |
|
-l, --library |
Upgrade Library contract |
|
-t, --token |
Upgrade Ara Token contract |
|
Flag(s) |
Description |
Type |
did |
The DID of the Ara master account |
string |
version-name |
The version name of the new contract |
string |