@identity.com/cryptid-cli
Sign transactions and configure Cryptid DID Wallets
Usage
$ npm install -g @identity.com/cryptid-cli
$ cryptid COMMAND
running command...
$ cryptid (-v|--version|version)
@identity.com/cryptid-cli/0.1.2 darwin-x64 node-v16.0.0
$ cryptid --help [COMMAND]
USAGE
$ cryptid COMMAND
...
Commands
cryptid airdrop [AMOUNT]
Airdrop funds into the cryptid account and owner key
USAGE
$ cryptid airdrop [AMOUNT]
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/airdrop.ts
cryptid alias [NAME] [DID]
Associate a DID with an alias
USAGE
$ cryptid alias [NAME] [DID]
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
-u, --unset unset an alias
See code: src/commands/alias.ts
cryptid balance
Show the cryptid account SOL balance
USAGE
$ cryptid balance
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/balance.ts
cryptid base
USAGE
$ cryptid base
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/base.ts
cryptid config [SUBCOMMAND] [KEY] [VALUE]
Manage Cryptid configuration
USAGE
$ cryptid config [SUBCOMMAND] [KEY] [VALUE]
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/config.ts
cryptid controller:add [DID]
Add a controller to a cryptid account
USAGE
$ cryptid controller add [DID]
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/controller/add.ts
cryptid controller:remove [DID]
Remove a controller from a cryptid account
USAGE
$ cryptid controller remove [DID]
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/controller/remove.ts
cryptid controller:show [DID]
Show the controllers of a cryptid account
USAGE
$ cryptid controller show [DID]
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/controller/show.ts
cryptid document
Show the cryptid account's DID Document
USAGE
$ cryptid document
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/document.ts
cryptid help [COMMAND]
display help for cryptid
USAGE
$ cryptid help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
cryptid init
Initialise the cryptid library
USAGE
$ cryptid init
OPTIONS
-h, --help show CLI help
-k, --key=key Path to a solana keypair
-o, --overwrite Overwrite existing configuration
-p, --path=path Configuration path
-z, --cluster=cluster Cluster
See code: src/commands/init.ts
cryptid key:add [KEY] [ALIAS]
Add a cryptid key
USAGE
$ cryptid key add [KEY] [ALIAS]
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/key/add.ts
cryptid key:remove [ALIAS]
Remove a cryptid key
USAGE
$ cryptid key remove [ALIAS]
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/key/remove.ts
cryptid key:show
List keys attached to the cryptid account
USAGE
$ cryptid key show
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
ALIASES
$ cryptid
See code: src/commands/key/show.ts
cryptid token:balance MINT
show an SPL Token balance
USAGE
$ cryptid token balance MINT
ARGUMENTS
MINT The SPL-Token mint(base58)
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/token/balance.ts
cryptid token:show
show all SPL Token balances
USAGE
$ cryptid token show
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/token/show.ts
cryptid token:transfer TO AMOUNT
Send SPL-Tokens to a recipient
USAGE
$ cryptid token transfer TO AMOUNT
ARGUMENTS
TO Recipient alias, did or public key (base58)
AMOUNT The amount in lamports to transfer
OPTIONS
-c, --config=config Path to config file
-f, --allowUnfundedRecipient Create a token account for the recipient if needed
-h, --help show CLI help
-m, --mint=mint (required) The SPL-Token mint(base58)
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/token/transfer.ts
cryptid transfer TO AMOUNT
Send SOL to a recipient
USAGE
$ cryptid transfer TO AMOUNT
ARGUMENTS
TO Recipient alias, did or public key (base58)
AMOUNT The amount in lamports to transfer
OPTIONS
-c, --config=config Path to config file
-h, --help show CLI help
-s, --as=as Execute transactions as a controlled identity (alias or did)
See code: src/commands/transfer.ts