0.1.29 • Published 8 months ago

@artblocks/sdk v0.1.29

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

artblocks-sdk

This SDK can assist in simplifying the process of configuring minters, integrating purchasing functionality, and streamlining integration between Art Blocks Engine and partner websites using the Art Blocks minter suite.

Overview

The Art Blocks SDK is a TypeScript library that can be used to simplify the process of integrating with the Art Blocks minter suite. It can be used to:

  • Configure a project's current minter
  • Query available minters and update the selected minter for a project
  • Retrieve pricing information and metadata for a project
  • Initiate a purchase transaction to mint a new token
  • Check if a wallet is allowed to mint a token
  • Retrieve the allowlist (if configured) for a minter

Add the SDK to your project

To get started with the SDK, you will need to install it as a dependency in your project:

npm install @artblocks/sdk --save

If you are using Yarn:

yarn add @artblocks/sdk

Import and initialize the SDK

Once installed, you can import the SDK into your project and initialize it with your backend authentication token and an ethers.js provider:

import { ArtBlocksSDK } from '@artblocks/sdk';
import { ethers } from 'ethers';

const artBlocksSDK = new ArtBlocksSDK({
    jwt: 'my-jwt',  // backend authentication token
    provider: ethers.getDefaultProvider('homestead')  // ethers.js provider
});
0.1.30-13

8 months ago

0.1.30-12

8 months ago

0.1.30-11

8 months ago

0.1.30-8

9 months ago

0.1.30-9

9 months ago

0.1.30-10

8 months ago

0.1.30-7

9 months ago

0.1.30-6

9 months ago

0.1.30-5

9 months ago

0.1.30-4

9 months ago

0.1.30-3

9 months ago

0.1.30-2

9 months ago

0.1.30-1

10 months ago

0.1.24-alpha

11 months ago

0.1.27-alpha

11 months ago

0.1.22-alpha

12 months ago

0.1.19-alpha

1 year ago

0.1.29

10 months ago

0.1.28-alpha

11 months ago

0.1.18-alpha

1 year ago

0.1.23

12 months ago

0.1.25-alpha

11 months ago

0.1.26-alpha

11 months ago

0.1.30-0

10 months ago

0.1.21-alpha

12 months ago

0.1.23-alpha

12 months ago

0.1.17-alpha

1 year ago

0.1.16-alpha

1 year ago

0.1.14-alpha

1 year ago

0.1.15-alpha

1 year ago

0.1.13-alpha

1 year ago

0.1.12

1 year ago

0.1.12-alpha

1 year ago

0.1.11-alpha

2 years ago

0.1.10-alpha

2 years ago

0.1.8-alpha

2 years ago

0.1.3-alpha

2 years ago

0.1.9-alpha

2 years ago

0.1.4-alpha

2 years ago

0.1.1-alpha

2 years ago

0.0.1

2 years ago

0.1.1

2 years ago

0.1.6-alpha

2 years ago

0.1.5-alpha

2 years ago

0.1.2-alpha

2 years ago

0.1.7-alpha

2 years ago

0.1.0

2 years ago