@rabbitholegg/questdk-plugin-artblocks
v1.0.0-alpha.38
Published
[Art Blocks](https://www.artblocks.io) is an NFT marketplace that allows users to mint generative artwork from a published "project". Projects are made up of artist provided logic that generates unique pieces of artwork given a set of customizable paramet
Downloads
59
Readme
Art Blocks V3 Plugin
Art Blocks Overview
Art Blocks is an NFT marketplace that allows users to mint generative artwork from a published "project". Projects are made up of artist provided logic that generates unique pieces of artwork given a set of customizable parameters. Each project allows for a fixed number of mints, and each mint operation is provided with a distinct set of parameters via contract-based random number generation.
Art Blocks V3 Smart Contracts
The Art Blocks Smart Contract ecosystem provides a shared minter suite which can be utilized by the Art Blocks platform as well as any third-party controlled instances of the Art Blocks V3 contracts. These third-party controlled instances are known as "Engines".
Plugin
This plugin aims to provide support for all shared minter suite contracts that are compatible and active flagship V3 contracts. By targeting the latest V3 contracts we can ensure that all current implementations of Art Blocks are supported.
Chain Support
Currently, only mint
actions that take place on Ethereum mainnet and Arbitrum mainnet are supported by this plugin.
Action Support
The only currently supported action is the mint
action. Below is a chart demonstrating the mapping between Art Blocks purchase
and purchaseTo
transaction parameters and supported MintActionParams.
| purchase Transaction | purchaseTo Transaction | MintActionParams | | -------------------- | ---------------------- | ---------------- | | to | to | contractAddress | | input.projectId | input.projectId | tokenId | | from | input.to | recipient |
Sample Transactions
Notes
- All minters in the shared minter suite implement a
purchase
function which invokes thepurchaseTo
function to mint a new Art Blocks token. Allpurchase
function signatures include theprojectId
input parameter which is required by this plugin to target specific generative art projects.- purchase() -> purchaseTo() -> mint_joo -> mint_Ecf()