Hypersign.Id
Hypersign.idEntity StudioIdentity Wallet
  • 💬Welcome!
  • Hypersign KYC
    • Introduction
    • Integrations
      • KYC Service
      • Widget Configuration
      • Environments
        • Development
        • Production
      • Webhook
    • KYC Widget
      • Integrations
        • Backend Integration
          • Generate AccessTokens
          • Generate KYC Session Id
        • Frontend Integration
      • Data Capture
        • Data Vault Setup
        • Capture Facial Recognition
        • Capture ID Document
        • Capture zk-proof and KYC token
        • Capture User Consent
      • User Data
        • idToken
    • Hypersign ID Wallet
    • On-Chain KYC
      • Contracts Deployment
      • Use Cases
      • Supported Blockchains
      • KYC Token Metadata
    • Dashboard
      • User Sessions
      • User Session Details
      • Usage
      • Credit
    • Concepts
      • Facial Recognition
      • ID Verification (via OCR)
      • Reusable KYC
      • Encrypted Data Vault (EDV)
      • Facial Authentication
      • Issuer Marketplace
      • Security
      • Privacy
      • Credentials Types
        • Personhood Credential
        • Passport / Govt. ID Credential
      • zk Proof Types
        • Proof Of Personhood (PoP)
        • Proof Of KYC (PoK)
        • Proof Of Age (PoA)
      • Uniqueness Check
      • Credential Revocability
      • Machine Readable Zone (MRZ)
      • Liveliness Check
      • Zero Knowledge Proof (zkp)
        • Introduction
        • zk-SNARK
        • Circuits
        • SSI and ZKP
    • Tutorials
      • How to Integrate KYC in minutes?
      • How to add your team member?
  • Hypersign SSI
    • Introduction
    • Setup SSI Service
      • Create Your First DID
      • Credits
    • 🔗API Reference
      • Service Authentication API
      • DID
      • Schema
      • Verifiable Credential
      • Verifiable Presentation
        • Presentation Template
        • Presentation
    • 🎰API Playground
    • 🏑SSI Playground
  • Hypersign Developer Dashboard
    • Service
      • Managing API keys
      • Network Fee
    • Members & Roles
      • Members
        • Assign Role To Member
      • Invitations
        • Member Access Admin's Dashboard
      • Roles & Permissions
        • Permissions List
    • Security
      • Login
      • Multi factor Authentication (MFA)
  • Hypersign Identity Network
    • Introduction
    • Validators & Delegators
      • Installation of Node
      • Running a Testnet Validator Node
    • Governance
      • Proposals
        • Blockchain Node Upgrade
        • Community Pool Spend Proposal
        • Blockchain Parameter Change Proposal
        • Text Proposal
      • Delegation
    • Faucet (testnet)
    • Developers
      • HID-Node Codebase
      • ⚙️Setup Local hid-network Tutorial
        • Running one-node local hid network
        • Create and fund new account
        • Transfer funds
        • Connect Keplr to local hid network
      • Hypersign SSI Toolkit
        • Hypersign DID SDK
        • Hypersign Schema SDK
        • Hypersign Verifiable Credential SDK
        • Hypersign Verifiable Presentation SDK
        • OfflineSigner
    • Blockchain & ID Explorer
  • Core Concepts
    • Introduction
    • Decentralized Identifier (DID)
      • DID Registry
      • Private and Public DID
      • DID Authentication
      • DID Communication (DIDComm)
      • Adding multiple controller to DID
      • Adding multiple verification methods
      • Verification Method vs Recovery Signature
      • Blockchain Account Id
      • DID Threshold
      • Verifiable Condition
      • Verification Relationships
        • Authorization Capabilities (zCap)
    • Schema
      • Schema Registry
      • Schema.org
    • Verifiable Credential (VC)
      • Credential Revocation Registry
      • Issuing a Credential to Multiple Subjects
      • Bearer Credential
      • Single-Use Credential
    • Verifiable Presentation (VP)
    • Specifications
      • Supported Signature Algorithms
      • Client Specification
        • EVM based chains
        • Cosmos based chains
  • Ecosystem
    • Forum
    • Github
    • HID Explorer
    • Eiko
    • MetaAuth
  • Privacy Policy
Powered by GitBook
On this page
  • Check if hid-node binary is installed in your machine
  • Create a new account
  • Check balance
  • List all accounts
  • Delete an account
Edit on GitHub
  1. Hypersign Identity Network
  2. Developers
  3. Setup Local hid-network Tutorial

Create and fund new account

Check if hid-node binary is installed in your machine

Switch to a new terminal and type hid-noded command to check if hid node is installed in your machine or not.

➜  ~ hid-noded
Hypersign Identity Network (hid-noded) CLI

Usage:
  hid-noded [command]

Available Commands:
  add-genesis-account Add a genesis account to genesis.json
  collect-gentxs      Collect genesis txs and output a genesis.json file
  configure           Adjust node parameters
  debug               Tool for helping with debugging your application
  gentx               Generate a genesis tx carrying a self delegation
  ...
  ...
Flags:
  -h, --help                help for hid-noded
      --home string         directory for config and data (default "/Users/hermit/.hid-node")
      --log_format string   The logging format (json|plain) (default "plain")
      --log_level string    The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
      --trace               print out full stack trace on errors.
Use "hid-noded [command] --help" for more information about a command.
  export              Export state to JSON

Make sure you are running hid network in your local machine before proceeding with this document.

Create a new account

Type the following command to create a new account.

hid-noded keys add <account-name> --keyring-backend test
  • account-name : Provide an alias for your new account

The command will spit out a new wallet address along with its mnemonics. This command also stores key material for this account locally in your computer which you can refer this using the account-name alias that you provided.

Example:

➜  ~ hid-noded keys add my-account1 --keyring-backend test

- name: my-account1
  type: local
  address: hid1ysq78a7qypxmf5wdcnvn2sz7sswg9guh8vfxcr
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Az3UboQVFxJtR8kGmrr7woZDiouB4uDcU7jIQpSiMJRB"}'
  mnemonic: ""


**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.

know leisure elegant entry recycle crop already merry virus width slide bike model pupil sword cupboard flat spoon stool rebuild art float aisle gown

Check balance

hid-noded q bank balances <address>

Example:

➜  ~ hid-noded q bank balances hid1qm40ngul9h0hrm4kjxdjktfekhvk4t0jjk7vft
balances:
- amount: "449999999999965859"
  denom: uhid
pagination:
  next_key: null
  total: "0"

List all accounts

Run the following command to list down all account stored in your hid node.

hid-noded keys list --keyring-backend test

Example:

➜  ~ hid-noded keys list --keyring-backend test
- name: my-account1
  type: local
  address: hid1ysq78a7qypxmf5wdcnvn2sz7sswg9guh8vfxcr
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Az3UboQVFxJtR8kGmrr7woZDiouB4uDcU7jIQpSiMJRB"}'
  mnemonic: ""
- name: node1
  type: local
  address: hid1qm40ngul9h0hrm4kjxdjktfekhvk4t0jjk7vft
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AqVU3YfzrOUIMpJEacdJMPDn34g0HxqrsmrG55r8dwVX"}'
  mnemonic: ""

Delete an account

You can use the following command to delete an account from your hid-node.

hid-noded keys delete <account-name> --keyring-backend test

Example:

➜  ~ hid-noded keys delete my-account1 --keyring-backend test
Key reference will be deleted. Continue? [y/N]: y
Key deleted forever (uh oh!)
PreviousRunning one-node local hid networkNextTransfer funds

Last updated 1 year ago

⚙️
Running one-node local hid network