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

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

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

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

  • 1.0.401
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
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 17 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