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

6.0.2 • Public • Published

Quick Start

This module is the main module of this monorepo. It sets a default authentication callback using the checkAndSignAuthMessage function from the auth-browser submodule, which is designed to work in both browser and Node.js environments, facilitating interaction with Lit nodes.

node.js / browser

yarn add @lit-protocol/lit-node-client

Vanilla JS (UMD)

<script src="https://cdn.jsdelivr.net/npm/@lit-protocol/lit-node-client-vanilla/lit-node-client.js"></script>
<script>
  const authSig = LitJsSdk_litNodeClient.checkAndSignAuthMessage({chain: 'ethereum'});
</script>

Readme

Keywords

Package Sidebar

Install

npm i @lit-protocol/lit-node-client

Weekly Downloads

3,087

Version

6.0.2

License

MIT

Unpacked Size

8.29 kB

Total Files

8

Last publish

Collaborators

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