New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lit-protocol/auth-browser

Package Overview
Dependencies
Maintainers
0
Versions
524
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-protocol/auth-browser

Browser-specific authentication utilities for the Lit Protocol, enabling seamless connection to various blockchain networks including Ethereum, Cosmos, and Solana.

  • 7.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
decreased by-33.02%
Maintainers
0
Weekly downloads
 
Created
Source

Auth Browser

Browser-specific authentication utilities for the Lit Protocol, enabling seamless connection to various blockchain networks including Ethereum, Cosmos, and Solana.

Installation

yarn add @lit-protocol/auth-browser

Quick Start

import { checkAndSignAuthMessage } from '@lit-protocol/auth-browser';

// Generate an authSig with long expiration
const expiration = new Date(
  Date.now() + 1000 * 60 * 60 * 24 * 30
).toISOString();
const authSig = await checkAndSignAuthMessage({
  chain: 'ethereum',
  expiration: expiration,
});

Key Features

  • Multi-chain authentication support
    • Ethereum
    • Cosmos
    • Solana
  • Convenient network connection management
  • Automatic signature generation
  • Flexible expiration handling
  • Network disconnection utilities

Authentication Methods

  • Standard Authentication: Quick connect with default settings
  • Custom Expiration: Control signature validity period
  • Multi-Chain Support: Connect to different networks
  • Network Management: Connect and disconnect as needed

Keywords

FAQs

Package last updated on 05 Feb 2025

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