argos-did-jwt

Library for signing and verifying DID JWTs

Usage no npm install needed!

<script type="module">
  import argosDidJwt from 'https://cdn.skypack.dev/argos-did-jwt';
</script>

README

argos-did-jwt

The argos-did-jwt library allows you to sign and verify JSON Web Tokens (JWT) using ES256K or ES256K-R algorithms for use on the blockchain.

Public keys are resolved using the Decentralized ID (DID) of the signing identity of the claim, which is passed as the iss attribute of the encoded JWT.

Installation

npm install argos-did-jwt

or if you use yarn

yarn add argos-did-jwt