Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rabbitholegg/questdk-plugin-fabric

Package Overview
Dependencies
Maintainers
0
Versions
38
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.

  • 1.0.0-alpha.41
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
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 21 Aug 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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc