#255: V8.1 Update
Change request updated 1 year ago
Last updated 1 year ago
Please be sure to have the following snippet in the head or upper portion of your HTML:
Mint Texts require users to connect their wallet first.
You can think of the component like any other element:
<script type="module" src="https://sdk.niftykit.com/widgets/widgets.esm.js"></script>
<nk-diamond collection-id="Your-SDK-Public-Key"> <nk-is-connected> <nk-mint-price-text /> </nk-is-connected> </nk-diamond>
<nk-diamond collection-id="Your-SDK-Public-Key"> <nk-is-connected> <h3>Current Price is: <b><nk-mint-price-text /></b></h3> </nk-is-connected> </nk-diamond>