🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@rabbitholegg/questdk-plugin-fabric

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rabbitholegg/questdk-plugin-fabric

Fabric and the Subscription Token Protocol extends the Non Fungible Token standard with the addition of a temporal dimension, and economic incentives for distribution, adoption, growth, and retention.

latest
npmnpm
Version
1.0.0-alpha.43
Version published
Weekly downloads
30
900%
Maintainers
4
Weekly downloads
 
Created
Source

Fabric Plugin

Overview

Fabric and the Subscription Token Protocol extends the Non Fungible Token standard with the addition of a temporal dimension, and economic incentives for distribution, adoption, growth, and retention.

Documentation: https://docs.withfabric.xyz/stp/overview

Mint Gallery: https://hypersub.withfabric.xyz/

Mint Plugin

The mint plugin targets the mint functions on the SubscriptionTokenV1 contract. There are 4 functions that mints may be routed through.

  • mint
  • mintFor
  • mintWithReferral
  • mintWithReferralFor

The mintFor methods are used when the NFT is gifted to another address. Referral methods are used when referral metadata is attached to the transaction. Otherwise these all are very similar.

The only parameter on the mint function is numTokens which is the same value as transaction.value when ETH is used for the mint.

On mintFor there is an extra parameter called account which is the recipient of the NFT when the gift option is choosen on the frontend. This parameter will map to the recipient.

Limitations
  • only 1 subscription NFT can be minted per transaction, so the amount paramenter is ignored.
Sample Transactions

FAQs

Package last updated on 14 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts