Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Examples

You can create a jwt with any signing function as long as your singature verifier function is compatible. Added examples are for web3, ethers, polkadot.js, bitcoinjs, metamask.

Running an example

For running the web3 example.

cd web3
npm i
ts-node .
  • All the project in the directory have the same structure.
  • I'm using ts-node, you can also use tsc to run the examples.