Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@anima.org/db-widgt

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@anima.org/db-widgt

Darkblock React Component Library

unpublished
npmnpm
Version
0.1.16
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Darkblock.io React Component Library

Getting Started 🚀

Install Darkblock's React Component Library using yarn or npm

yarn add @darkblock.io/darkblock-widget
npm i @darkblock.io/darkblock-widget --save

Once the library is installed, import or require components into your codebase

import "@iproov/web"

require("@iproov/web")

Solana Widget Component

Input

  • tokenId: id of the NFT in Solana
  • wallets: array of @solana/wallet-adapter-wallets

Examlple

This component needs to be used within the scop of the Solana Wallet Adapter component like in the following example:

import {SolanaDarkblockWidget} from "@darkblock.io/darkblockwidgets"

const Main = () => {
  ...

  return (
    <ConnectionProvider endpoint={endpoint}>
      <WalletProvider wallets={wallets} autoConnect>
        <WalletModalProvider>
          <WalletMultiButton />

          <SolanaDarkblockWidget
            tokenId="PgYulnWM90pi2oc3MpG31yvUHoWhSog17jTbjKYRjEJ"
            wallets={wallets}
          />

        </WalletModalProvider>
      </WalletProvider>
    </ConnectionProvider>
  )
}

export default Main

Examples

Keywords

web3.0

FAQs

Package last updated on 24 Feb 2022

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