The Darkblock NPM
The Darkblock NPM enables you to add unlockable content to any website with ease. The best way to add the Darkblock Viewer to your website is to use one of our chain-specific NPM packages.
We have built out a robust set of NPMs available across 5 different chains.
Shared Components Library
Install Darkblock's React Shared Component Library using
yarn add @darkblock.io/shared-components
npm i @darkblock.io/shared-components --save
Once the library is installed, import or require components into your codebase, i.e:
} from "@darkblock.io/shared-components"