0.0.11 • Published 1 year ago

nft-checkout-html v0.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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/nft-checkout-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/nft-checkout-html@<version>/dist/index.js"></script>
<checkout-widget collectionid="<your_collection_id>" view="<normal | mini>"></checkout-widget>
0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago