1.1.5 • Published 4 years ago

ws-wallet v1.1.5

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

web-socket wallet

This project provides a simple CLI to establish web-socket connection with the ws-identity to receive, sign and return digests.

Key-types

The wallet issues ECDSA keypairs of type p256 and p384 (secp256r1/secp384r1)

Development setup

  • Download dependencies
npm install
  • Run in dev mode
npm run build
  • Expose CLI command (see ws-wallet --help)
npm run local

commands

create a new key

ws-wallet new-key [keyname] [curve type: p256 | p384]

get pub-key-hex

ws-wallet get-pkh [keyname]

Open connection to ws-identity server

ws-wallet connect [url] [key-name] ([strict-ssl])

requires:

  • url of the ws-identity host (e.g., 'http://localhost:8700')
  • key-name of local keyfile with pub-key-hex addresss used to request new session ID
  • strict-ssl can be set to false when testing ssl/tls enabled ws-identity server

Requests a new session Id from the ws-idenity. Outputs the session Id and signature as API keys to access the ws-identity server and open connction to ws-wallet from the desired application

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.22

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago