🔤Edition Mint Supply Text
Getting Started
Please be sure to have the following snippet in the head or upper portion of your HTML:
<script type="module" src="https://sdk.niftykit.com/widgets/widgets.esm.js"></script>
Mint Texts require users to connect their wallet first.
Code
<nk-diamond collection-id="Your-SDK-Public-Key">
<nk-is-connected>
<nk-edition-supply-text edition-id="Your-Edition-Id" />
</nk-is-connected>
</nk-diamond>
You can think of the component like any other element:
<nk-diamond collection-id="Your-SDK-Public-Key">
<nk-is-connected>
<h3>Current Supply is: <b><nk-edition-supply-text edition-id="Your-Edition-Id" /></b></h3>
</nk-is-connected>
</nk-diamond>
Codepen
Last updated
Was this helpful?