mquark-sdk v0.5.2
SDK User Guide
The inital alpha version of mQuark SDK! You can saved yourself hours of work by bootstrapping your entitys with mQuark SDK. Let’s get you oriented with what’s here and how to use it.
This SDK helps you with submitting your NFT
metadatatoIPFSand interact with the smart contracts more easily.More features will be added , checkout the mQuark docs for additional information about the protocol and how to integrate with the smart contracts.
Please provide your feedbacks for our alpha SDK to our dev team member at:
dev@unbounded.vision
Installation
npm i mquark-sdkSDK Developement Guide
Available Services
Registry Service
Entity Service
Collection Service
Subscriptions Service
IPFS Service
GraphQL API Service
Utility Functions
Merkle Proof Generator
Signature Generator
Registry Service
The Registry Service is used to interact with the mQuark Registry smart contract. It provides the following functions:
registerEntitygetLastEntityIdgetEntitySubscriptionPricegetRegisteredEntitygetSubscribergetControllergetImplementationgetEntityAddressgetEntityIdgetEntityIsRegistered
Entity Service
The Entity Service is used to interact with the mQuark Entity smart contract. It provides the following functions:
createCollectionimportExternalCollectiontransferOwnershipOfCollectioncollectFundswithdrawgetEntityInfogetBalancegetLastCollectionIdgetCollectionAddress
Collection Service
The Collection Service is used to interact with the mQuark Collection smart contract. It provides the following functions:
mintairdropMintairdropBatchMintmintBatchairdropSubscriptionMintairdropBatchSubscriptionMintsubscriptionMinttransferOwnershipgetOwnerBalancegetProtocolBalancegetCollectionInfotokenEntityURItokenURI
Subscriptions Service
The Subscriptions Service is used to interact with the mQuark Subscriptions smart contract. It provides the following functions:
subscribeToEntityupdateURISlotdirectUpdateURISlotdirectUpdateURISlotsunlockTokentransferTokenEntityURIsetDefaultURIwithdrawwithdrawProtocolgetIsAddressRegisteredAsEntitygetEntityBalancegetEntityConfiggetIsUnlockedgetIsSubscribedgetCollectioncalculateBatchSubscriptionPrice
IPFS Service
pinJSONToIPFSpinFileToIPFS
GraphQL API Service
fetch_entityfetch_entity_collectionsfetch_entity_collectionfetch_all_entitiesfetch_quark_ownerfetch_tokenfetch_templatesfetch_collections_balancefetch_contractsfetch_controllerfetch_implementationfetch_imported_collectionsfetch_registryfetch_subscriber
Conculsion
The SDK is still in alpha version, more features will be added in the future. Please provide your feedbacks to our dev team member at: dev@unbounded.vision It now supports mQuarkV2 NFT Implementations, they are brand new and brings new and extended functionalities. Checkout the mQuark docs for additional information about the protocol and how to integrate with the smart contracts. You're more than welcome to implement your own SDK and share it with the community.
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago