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

@lens-network/sdk

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lens-network/sdk

The quickest way to connect your dApp to the Lens Network.

  • 0.0.0-canary-20240612182135
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
13
decreased by-80.3%
Maintainers
0
Weekly downloads
 
Created
Source

Lens Network SDK

The official SDK for the Lens Network 🌿.

Table of Contents

  • Installation
  • Development Workflow
  • Contributing
  • License

Installation

pnpm add @lens-network/sdk

# or

npm install @lens-network/sdk

# or

yarn add @lens-network/sdk

Development Workflow

This section is for developers who want to contribute to the SDK.

Pre-requisites:

If you use nvm to manage your Node.js versions, you can run:

nvm use

to switch to the correct Node.js version.

We recommend to have corepack enabled to automatically have the correct version of pnpm.

Initial Setup

Clone the repository:

git clone https://github.com/lens-network/sdk.git

Install the dependencies:

pnpm install

Usage

Run the tests:

pnpm test

Lint the code:

pnpm lint

Compile the code:

pnpm build

Clean the build:

pnpm clean

Publishing

  1. Create a new release branch using the release/X.Y.Z naming convention.

  2. Bumps up version number and updates the changelog.

    pnpm changeset version
    
  3. Commit the changes using chore: bumps up version number as the commit message.

  4. Push the changes to the remote repository.

  5. Open a pull request to the main branch.

  6. Wait for all checks to pass and for the pull request to be approved.

  7. Publish the package.

    pnpm changeset publish
    
  8. Push tags to the remote repository.

    git push --follow-tags
    
  9. Merge the pull request to the main branch.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Lens Network SDK is MIT licensed

Keywords

FAQs

Package last updated on 12 Jun 2024

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