Socket
Socket
Sign inDemoInstall

@rabbitholegg/questdk-plugin-fabric

Package Overview
Dependencies
2
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
169
increased by141.43%
Maintainers
0
Created
Weekly downloads
 

Readme

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 17 Jul 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc