@rabbitholegg/questdk-plugin-paragraph
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.24 • Public • Published

Paragraph Plugin

Overview

Paragraph. xyz is a web3-native publishing platform that helps creators publish blogs and newsletters for virtual communities. The platform aims to help creators reach their audiences on web2 while using web3 tools to create, distribute, and monetize their content.

Documentation: https://docs.paragraph.xyz/

Gallery: https://paragraph.xyz/discover/feed/trending/paragraph

Mint Plugin

The mint plugin targets the mint functions on the paragraph ERC721 contract. There are 2 functions that mints may be routed through.

  • mint
  • mintWithReferrer

Both of these use the same parameters, with the exception of the additional referrer parameter which is not relevant to our plugin.

Limitations
  • only 1 NFT can be minted per transaction, so the amount paramenter is ignored.
  • tokenId is ignored since these are ERC721
  • There is a createAndMint function on the ERC721 Factory that is called when there is a "first mint". Unfortunately this cannot be supported since the contract address for the project is not actually created until the first mint happens. We have had this issue with other mint actions such as zora. You technically need to have the contract address before you can make the boost, so this should be a non-issue.
Sample Transactions

Readme

Keywords

none

Package Sidebar

Install

npm i @rabbitholegg/questdk-plugin-paragraph

Weekly Downloads

727

Version

1.0.0-alpha.24

License

ISC

Unpacked Size

649 kB

Total Files

38

Last publish

Collaborators

  • quazia
  • jamierabbithole
  • rhjim