0.1.12 • Published 2 days ago

@artblocks/sdk v0.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
2 days 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.17-alpha

2 days ago

0.1.16-alpha

2 days ago

0.1.14-alpha

4 days ago

0.1.15-alpha

4 days ago

0.1.13-alpha

4 days ago

0.1.12

26 days ago

0.1.12-alpha

1 month ago

0.1.11-alpha

5 months ago

0.1.10-alpha

7 months ago

0.1.8-alpha

7 months ago

0.1.3-alpha

9 months ago

0.1.9-alpha

7 months ago

0.1.4-alpha

7 months ago

0.1.1-alpha

9 months ago

0.0.1

9 months ago

0.1.1

9 months ago

0.1.6-alpha

7 months ago

0.1.5-alpha

7 months ago

0.1.2-alpha

9 months ago

0.1.7-alpha

7 months ago

0.1.0

12 months ago