Catalog npm
Back to packageRELEASE DETAILS

0.0.4

npm

@0x50b/contractoor

<p align="center"> <img src="./cover.png"> </p>

Published24 Aug 2024
Direct dependencies3
Transitive dependenciesNot calculated

README

Current package documentation

The Contractoor

A simple TypeScript library which collects the most popular ETH mainnet NFT marketplaces, their ABIs, and makes them easily available.

Getting Started

Installation

You can install the package either using NPM or using Yarn.

Using NPM

npm install @0x50b/contractoor

Using Yarn

yarn add @0x50b/contractoor

Usage

Using the library itself is very easy. The main idea is centered around contract objects, which contain the contract name, address, and ABI object. Thats it 🤯

export const Blur_3: Contract = {
  name: 'Blur: 3',
  address: '0xb2ecfE4E4D61f8790bbb9DE2D1259B9e2410CEA5',
  abi: blur_3_abi,
}

You can either export individual marketplaces, or use them all.

// Marketplaces is a Map export. If you want to access individual marketplaces, use Marketplaces.get('blur_2')
import { Marketplaces } from '@0x50b/contractoor'
const { abi } = Marketplaces.Blur_Bidding

// Use the approach below, if you wish to access only some marketplaces.
import { Blur_2, Blur_3 } from '@0x50b/contractoor'

// You can then use it with ethers like this:
const seaport = new ethers.Contract(Seaport_16.address, Seaport_16.abi, provider)

Marketplaces

All the currently supported marketplaces. If you would like to add one submit an issue.

MarketplaceAddressABI
Opensea (Seaport)0x0000000000000068F116a894984e2DB1123eB395✅
Blur: 20x39da41747a83aeE658334415666f3EF92DD0D541✅
Blur: 30xb2ecfE4E4D61f8790bbb9DE2D1259B9e2410CEA5✅
Blur: Bidding0x0000000000A39bb272e79075ade125fd351887Ac✅
Blur: Blend0x29469395eAf6f95920E59F858042f0e28D98a20B✅
X2Y20x74312363e45DCaBA76c59ec49a7Aa8A65a67EeD3✅

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^10.9.2development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.5.4development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22.5.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "a65dd7f01640f676a3c184207c909c8f3782b09e",
  "tarball": "https://registry.npmjs.org/@0x50b/contractoor/-/contractoor-0.0.4.tgz",
  "fileCount": 21,
  "integrity": "sha512-3w9VXvmeZbTjManjmWA3i0EFAosbUTt+3EQx2uB7TjLWdMeT4tDateAMUC+WJacm5DuIewS0XDuG0tyJONDPwA==",
  "signatures": [
    {
      "sig": "MEQCIAfbIbj71h7t3YBdoHZ3GOYHSkqB59qHwY1D0OAoAjt9AiBgmmsqXX7d+r8EpOGw3RoRP+36d/wO9dtSoBcCEHKj2Q==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 329432
}

Repository

PENDING
designoor/contractoor

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:37 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:15a46f2aa73e3c600d4f858db73ac62aa85538ccde98271d04f0cf8528b89210

Other collected versions

0.0.1118 Oct0.0.1024 Aug0.0.924 Aug0.0.824 Aug0.0.724 Aug0.0.624 AugView all collected versions →