1.0.0-next.45 • Published 4 months ago

@uncefact/vckit-tools v1.0.0-next.45

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

Tools

This directory contains tools that are used to expose as library or API.

Usage

API

Run server with pnpm vckit server command. Open browser and navigate to http://localhost:3332/api-docs#post-/computeHash.

Library

Install @uncefact/vckit-tools package with pnpm i @uncefact/vckit-tools command. Use computeHash function from @uncefact/vckit-tools package.

Run unit test

Run pnpm run test:packages command.

Config in agent config file

...
constants:
  methods:
    ...
    # Add method for MultibaseEncodedSHA256
    - computeHash

...
agent:
  $require: '@veramo/core#Agent'
  $args:
    plugins:
        ...
        # Add tools plugin for MultibaseEncodedSHA256
        - $require: '@uncefact/vckit-tools?#MultibaseEncodedSHA256'
1.0.0-next.50

4 months ago

1.0.0-next.58

4 months ago

1.0.0-next.57

4 months ago

1.0.0-next.45

5 months ago