@insomnialab/mintstack-sdk-html
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

NFT-Checkout-Package HTML version

Insomnia NFT project's React plugin library published by creator's portal.

Built with Lit and TypeScript. Check out the Demo!

Usage

Install the SDK

<!--
  You can embed the SDK in <head> tag of your site. Or just before <checkout-widget> code.
-->
<script src="https://unpkg.com/@insomnialab/mintstack-sdk-html@<version>/dist/index.js"></script>

Set up widget

Just add this line

<checkout-widget collectionid="<your_collection_id>" view="<normal | mini>"></checkout-widget>

collectionid: Your collection id view: view mode, either normal or mini(with necessary fields only)

note: Above is sample code and demo purpose. Don't use it straightforward on production. Use it replacing collectionId with your project's id

You can import DetailBox compoent and use directly in your front-end code.

Usage on sitebuilder like Wix

You can embed the SDK adding below code snippet to your site wix

<script src="https://unpkg.com/@insomnialab/mintstack-sdk-html@<version>/dist/index.js"></script>
<checkout-widget collectionid="<your_collection_id>" view="<normal | mini>"></checkout-widget>

Readme

Keywords

none

Package Sidebar

Install

npm i @insomnialab/mintstack-sdk-html

Weekly Downloads

2

Version

0.0.6

License

ISC

Unpacked Size

3.2 MB

Total Files

11

Last publish

Collaborators

  • ultraj0330
  • lunamarketnpm