How To turn Twitch Drops into NFT Drops on the WAX Blockchain
No matter if you're new to twitch and NFTs, or if you're a seasoned veteran, we're here to help. Our mission is to empower game creators, so they can reward their most loyal fans with collectible NFTs. Dropping rewards isn't new to twitch, but dropping NFTs is. That's where we step in. In order for us to be able to help you, you will need to do a few basic things:
Make sure you have developer ownership of your game
Go to https://dev.twitch.tv/console
In the upper right corner, select your organization. If you don't see your organization there, either create one or request access to it. An organisation is needed to manage games.
Once you are in your organisation's console, go to the Games tab. If you've already done twitch drops in the past or worked on other integrations, you will probably find your game there. Otherwise add your game by clicking on the "Add Game" button and following the instructions.If it looks something like this, you're done with Step 1. But before you proceed, click on the game, and take note of the game's ID (you will need it later). You can find it in the URL, between /games/ and /boxart. For example, the id of Blockchain Brawlers is 1913924127.
Register an app
Using the drop down in the top right corner, switch from the organisation's console to your personal developer account.An "Applications" tile with a button "Register Your Application" should appear. Click the button.You will be taken to a new dialog.
Fill out the form like so:
Name - You can select any name here, it's only visible in the backend and won't be surfaced to the user.
OAuth Redirect URLs - In order for the twitch signin process to work, this must be set to
/[Your Game ID]/
Optional: If we need to debug your login process, we will need you to also add
http://localhost:3000/[Your Game ID]/
as a second URL.
Category - "Giveaway / Loyalty Tool"
Organization - Your Organization
Create a Drops Campaign
Now you can switch back to your Organization's console, and from there to the Drops Campaign Tab. In order for us to link NFTs with your Campaign, it is super important that you set the Client ID you just created as the Client ID of the drop. In order to do that, click on "Drops Settings" here:And click "Edit Details" in the corresponding row of the table below. A popup like this will appear, where you must enter the id:
Now go back to the Drops Campaigns Tab and click on "Create Drops Campaign"
Fill the form out as you see fit. You can go to twitch.tv/drops/campaigns to get a feel for campaign descriptions and titles. For us, the most important thing here is that you enter the URL /[your Game ID] in the field Drops Connection URL. As a reminder: You got the game ID from the URL at the end of the first step. So for Blockchain Brawlers with the game ID 1913924127 that would be
/1913924127
Any reward you create here is not an NFT! Rewards on twitch are basically vouchers for the actual NFT rewards you will be setting up later on, using our WAX drop creator.
Once you are done setting up your drop and the reward on twitch, make sure to get the Reward ID by going to "Drops" and then clicking "Edit Details"......and then switching to the "Rewards" tab. Click "Copy Reward ID" and store it for later.We highly recommend putting the campaign into "Test Mode". In this mode the campaign is only visible to whitelisted users, and you can safely test directly on twitch.
Set up Drops on wax.io
After you've finished setting up the drops on twitch, you will now need to set up the drop on the wax blockchain. For this you will need a wax wallet, which must be authorized to edit your collection on the blockchain. We have set up a drop creator tool you can find here: