Giter VIP home page Giter VIP logo

indy-wallet-watch's Introduction

indy-wallet-watch

Inspect your Hyperledger Indy Wallets. Contain library functions and globally executable commands.

Executable commands

  • wallet-create - creates new wallet
  • wallets-list - list existing wallets
  • wallet-keys - prints found wallet keys (based on dictionary testing)
  • wallet-inspect - prints content of a wallet

Installation

npm install -g indy-wallet-watch

Examples

wallet-create

Creates new wallet called WALLET protected by KEY
WALLET=mywallet KEY=123 wallet-create 

wallets-list

Prints list of all wallets found in ~/.indyclient/wallet
wallets-list
[
  'forward_agent_wallet',
  'frr8mHtVbP',
  'k9Sr5S7oDo',
  'kyc-integration-test-wallet-1555083444',
  'kyc-integration-test-wallet-1555084265',
]

wallet-keys

Tries to open all wallets with keys specified as JSON array in KEYS variable. Prints wallets wallets and keys which opens them.
KEYS='["123","key","foobar"]' wallet-keys
{
  "discovered": {
    "agent-localpool": {
      "name": "agent-localpool",
      "key": "key"
    },
    "forward-agent": {
      "name": "forward-agent",
      "key": "foobaar"
    }
  },
  "unknown": {
    "well-protected-wallet": {
      "name": "well-protected-wallet"
    }
  }
}

wallet-inspect

Tries to open all wallets using keys KEYS and print content
Target wallets:
["alice","dummy_8gNF3yDuDbAbeFeRHXrPps_NEfND5RXiN","dummy_LEriTkBmcKhSxEKbZhaYDf_BTiIRC09hH","forward_agent_wallet","node_vcx_demo_faber_wallet_1555263472"]
Key dictionary:
["123","key"]
-------------------------------- 'alice--------------------------------'
Key: 'key'
DID table:
<TABLE DISPLPAYED HERE>
└────────────────────────────────┴────────────────────────────────────────────────┴────────────────┴──────────────────────────────────────────────────┘
----------------------------------------Couldn't open wallets--------------------------------------------------
[]
---------------------------------------------------------------------------------------------------------------

indy-wallet-watch's People

Contributors

patrik-stas avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.