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

@moosty/lisk-connection-provider

Package Overview
Dependencies
Maintainers
2
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moosty/lisk-connection-provider

Lisk connection provider component to connect react to Lisk endpoints

  • 0.0.132
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
136
increased by2620%
Maintainers
2
Weekly downloads
 
Created
Source

Lisk Connection Provider

Usage

import { useLiskService } from "@moosty/lisk-connection-provider"

const Component = () => {
  const { serviceClient } = useLiskService()
  
  useEffect(() => {
    const getBlocks = async () => {
      console.log(await serviceClient.get('get.blocks', {limit: 10}))
    }
    if (serviceClient) {
      getBlocks()
    }
  }, [serviceClient])
}

This package exports:

import {
  useLiskService,
  ServiceRPCController,
  ConnectionState,
  ConnectionProviderProps,
  NetworkEndpoint,
} from "@moosty/lisk-connection-provider"

Keywords

FAQs

Package last updated on 11 Oct 2021

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