This guide will walk you through setting up a developer wallet for your project, and the possible transactions that can be done with the wallets.
So that only you can control your developer wallet, we will assign you a wallet key. These will be required to authorize transactions involving currency and assets from your developer wallet, so make sure it is stored in a safe place (and is separate from your GAMEXX api key). This wallet key is separate from your GAMEXX key, which enables access to the rest of GAMEXX's APIs. We do not store these credentials and therefore cannot recover access to your developer wallet if you lose them.
In this user guide:
x-api-key will refer to the GAMEXX key
x-wallet-key will refer to the Dev Wallet key
Each developer wallet has its own unique address. To retrieve your developer wallet address, make sure you generate a wallet key, and fetch your developer wallet address as so
curl -X GET "https://api.gamexx.dev/nx/developer-wallet" \
-H "accept: application/json" \
-H "content-type: application/json" \
-H "x-api-key: <your api key>"
Developer wallets allow you to interact with game items, namely fetching and transferring Currencies and Unique Assets. Transferring assets gives you a pending transaction which we will address in the next section.
Upon completing a transfer, you will receive a transactionId, which you can check on the status of the transaction by making a GET request to /transactions/:transactionId.