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

nft20

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nft20

NFT20 SDK for easily trading NFT

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28
increased by460%
Maintainers
1
Weekly downloads
 
Created
Source

nft20.js

Getting started

Import in your project

npm install --save nft20

then in your javascript code:

const NFT20 = requir('nft20')

Or in the browser :

<script src="https://unpkg.com/nft20@1.0.5/build/nft20.js"></script>

And access the NFT20 global variable.

Initialize

let nft20 = new NFT20("https://mainnet.infura.io/v3/a634422ef8f84eeab6c55d89d1a38e5d")

Listing Pools

let pools = await nft20.getPools()

Listing NFTs in a pool

``

Keywords

FAQs

Package last updated on 07 Jul 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