@lit-protocol/auth-helpers
TypeScript icon, indicating that this package has built-in type declarations

4.2.1 • Public • Published

Quick Start

This submodule manages permissions and capabilities related to accessing specific resources on the blockchain. It utilizes features from the 'siwe' and 'siwe-recap' libraries to verify and handle data, allowing users to encode and decode session capabilities, add proofs and attenuations (specific resource permissions), and verify whether certain capabilities for a resource are supported. It also provides the ability to add capabilities to 'siwe' messages and provides methods specifically tailored to the LIT protocol, enabling adding and verifying capabilities for specific LIT resources.

node.js / browser

yarn add @lit-protocol/auth-helpers

Vanilla JS (UMD)

<script src="https://cdn.jsdelivr.net/npm/@lit-protocol/auth-helpers-vanilla/auth-helpers.js"></script>
<script>
  console.log(LitJsSdk_authHelpers);
</script>

Readme

Keywords

Package Sidebar

Install

npm i @lit-protocol/auth-helpers

Weekly Downloads

8,982

Version

4.2.1

License

MIT

Unpacked Size

40.2 kB

Total Files

23

Last publish

Collaborators

  • maximushaximus
  • famura
  • josh-long
  • hwrdtm
  • websaam
  • adarsh-kumar28
  • glitch003