Don't forget that we have developer documentation that can be found here. Get a key and use our API to generate and unlock Darkblocks. Or save a few dev steps and use our open source repos below. Please feel free to put in pull requests and help us extend our capabilities. Thank you.
We have a variety of npms available to make integration easy into your React project. The shared component repo is at the center of all of our other npm projects. This contains our media viewer which helps take popular file formats and render them in browser for consumption. The platform specific npms below use the shared component as a base.
Platform | Source Code | NPM | NPM Add |
---|---|---|---|
Shared Component | Github Repo | NPMJS Link | yarn add @darkblock.io/shared-components |
EVM NPM | Github Repo | NPMJS Link | yarn add @darkblock.io/eth-widget |
Ethereum NPM | Github Repo | NPMJS Link | yarn add @darkblock.io/eth-widget |
Polygon NPM | Github Repo | NPMJS Link | yarn add @darkblock.io/matic-widget |
Solana NPM | Github Repo | NPMJS Link | yarn add @darkblock.io/sol-widget |
Tezos NPM | Github Repo | NPMJS Link | yarn add @darkblock.io/tez-widget |
Avalanche NPM | Github Repo | NPMJS Link | yarn add @darkblock.io/avax-widget |
We've made it easy to create your own Darkblock site with a series of platform/chain specific starter templates.
Platform | Source Code | Download Zip | Github Clone |
---|---|---|---|
Ethereum Starter Template | Github Repo | Download Zip | gh repo clone darkblockio/Public-Ethereum-Starter |
Polygon Starter Template | Github Repo | Download Zip | gh repo clone darkblockio/Public-Polygon-Starter |
Solana Starter Template | Github Repo | Download Zip | gh repo clone darkblockio/Public-Solana-Starter |
Tezos Starter Template | Github Repo | Download Zip | gh repo clone darkblockio/Public-Tezos-Starter |
Avalanche Starter Template | Github Repo | Download Zip | gh repo clone darkblockio/Public-Avalanche-Starter |
Here is the source code for our own Chrome Extension that is available on Chrome Webstore. It embeds our Darkblock viewer on OpenSea and other marketplaces.
Here is the source code for our Unity Plugin. This is early code but the goal is to show how unlockable owned content can be used in the Unity Engine.