There are two ways that a Darkblock can be added to an NFT. It can be added as an upgrade after the NFT is created on Opensea or MagicEden or Solsea. Or the Darkblock can be created first, then added as a trait or property when creating your NFT.
First step is to create your Darkblock. You can do this directly from our API via the Stoplight tool:
You will need an API key. Please request one by sending an email to email@example.com or joining our Discord channel and requesting there.
Four other pieces of information you will need:
This is the file that you want encrypted, stored on Arweave, and unlockable by only the NFT creator and owner.
This is the contract address of the NFT creator.
This is the chain that you want this Darkblock to be associated with (ie, Ethereum, Solana, Polygon, Tezos or Avalanche)
This is the NFT standard associated with your chain (ie, ERC-721, ERC-1155, Metaplex, etc)
Once ready, submit your API request and wait while the file gets uploaded. After a few moments, you should receive a SUCCESS response along with a txID. This txID is important, please save that information. This is the number that you need to add as an attribute to your NFT mint.
Create an attribute pair with: darkblock-id (literally the value darkblock-id) and the txID (literally the alphanumeric string you received as confirmation).