0.0.17 • Published 2 years ago

@cmirrorxyz/mirror-nft-sdk v0.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Overview

The Mirror NFT SDK is a TypeScript Interface for the Mirror NFT Protocol.

The Mirror NFT Protocol uses a pattern where calls are executed against the NFT contract during deployment to define settings, register different types of sales, grant roles, and set metadata rendering. With this SDK, we can define a simple object type ERC721TokenConfig and get transaction inputs (to, value, and data), with all the appropriate calls encoded.

Additionally, the SDK supports a multicall pattern, where we can deploy and collect a token in the same transaction.

Features

  • Token Creation
    • Generate transaction data for simple create transaction.
    • Generate signature input data for createWithSignature.
    • Generate transaction data for createWithSignature.
  • Collecting
    • Generate transaction data for fixed-sale purchases.
    • Generate transaction data for signature-mint purchases using a privateKey parameter.
  • Multicall
    • Combine createWithSignature and any type of purchase.

Documentation

See docs.

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago