Creditcoin Docs
Creditcoin Docs
  • What is Creditcoin
    • CTC Token 101
    • Acquiring Creditcoin Assets
  • SwapCTC Quick Guide
  • Wallets
    • How to Connect Your Wallet to Creditcoin
      • Polkadot-JS Extension
      • Metamask
      • Command-line Interface
        • Subkey
        • Creditcoin CLI
    • Advanced
      • Substrate & EVM accounts
      • Proxy Accounts
        • Setting up a Staking Proxy Account
        • Setting up a Validator
    • Using Testnet Faucet
  • Staking
    • Bonded Tokens
    • Validator Elections
      • Elections Example
    • Eras and Sessions
    • Staking Rewards
    • Slashing
  • Nominator Guides
    • Nominating with Staking Pools
      • Choosing a Pool
      • Joining a Pool
      • Creating a Pool
      • Exiting a Pool
      • Managing a Pool
    • Nominating without Staking Pools
    • Claiming Rewards
  • Validator Guides
    • Minimum requirements
    • Using a Docker container
    • Stake using Creditcoin CLI
  • EVM-compatibility
  • Smart Contract Guides
    • Creditcoin Endpoints
    • Deploying contracts with Remix
    • Hardhat Smart Contract Development
    • Creating Dapps with ethers.js
  • Environments
    • Mainnet
    • Testnet
  • Releases
  • LEGAL
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
  1. Wallets
  2. How to Connect Your Wallet to Creditcoin
  3. Command-line Interface

Subkey

PreviousCommand-line InterfaceNextCreditcoin CLI

Last updated 11 months ago

You can use the following subcommands with the subkey command. For more detailed information about using Subkey, refer to their .

Command

Description

generate

Generates a random account key.

generate-node-key

Generates a random node libp2p secret key. You can save the secret key to a file or display it as standard output (stdout).

help

Displays usage information for subkey or for a specified subcommand.

inspect

Displays the public key and SS58 address for the secret URI you specify.

inspect-node-key

Displays the peer ID that corresponds with the secret node key in the file name you specify.

sign

Signs a message with the secret key you specify.

vanity

Generates a seed that provides a vanity address.

verify

Verifies the signature for a message is valid for the public or secret key you specify.

official documentation