Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

warp-contracts-plugin-jwt-verify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

warp-contracts-plugin-jwt-verify

A warp-contracts plugin that allows you to verify the validity of a JSON web token

  • 1.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Warp Contracts JWT verify plugin

This plugin attaches the .verify() function from the jsonwebtoken library to the SmartWeave global object.

Installation

npm i @othent/warp-contracts-plugin-jwt-verify

It can be then used inside the contract like this:

const verify = new SmartWeave.extensions.verify();

It can be then used in deployment like this:

import { WarpFactory } from 'warp-contracts';
import { DeployPlugin, ArweaveSigner } from 'warp-contracts-plugin-deploy';
import { JWTVerifyPlugin } from '@othent/warp-contracts-plugin-jwt-verify';

const warp = WarpFactory.forMainnet().use(new DeployPlugin()).use(new JWTVerifyPlugin());

Requires warp-contract SDK ver. min. 1.2.18.

Contact

If you have any questions or issues with the Othent Library, please contact us at hello@othent.io or open an issue in the GitHub repository.

License

The Othent Library is licensed under the MIT License. Please see the LICENSE file for more information.

FAQs

Package last updated on 16 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc