🛠️Is Connected

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>

Anything underneath this component will only appear when the user has connected their wallet.

Code

<nk-diamond collection-id="Your-SDK-Public-Key">
  <nk-is-connected>
    <h3>Foo?</h3>
    <p>Why does everyone keeps using Foo</p>
  </nk-is-connected>
</nk-diamond>

Last updated