We will use SMOOTH contract's id (contract_63b848e9-b316-48a3-adfd-065403ab88ae) as a working one in later examples. While running those examples on your account, please use a SMOOTH contract's Id allocated for your account.
3. Create Wallets
Now, you need to register some user wallets in the system using the registerWallet API method.
3.1 Create a Wallet with an Email Address, Wallet1
Repeat the process using the Wallet3 credentials and confirm that the response indicates no minted tokens.
Conclusion
This enhanced quick start guide provides a comprehensive step-by-step approach to seamlessly integrate with the Alpha API. Ensure all API requests include the necessary authorization headers, and that you handle responses appropriately, checking for errors or necessary information.
Calling with an email address will create a new wallet, and return the wallet address and wallet ID. If a wallet with this email already exists, it will be returned to you. For the sake of example, we will call this "Wallet1".
Use the same API method but with a mobile number as the parameter. For the sake of example, we will call this wallet, "Wallet2".
Use the same API method for empty wallet. We will call this wallet "Wallet3" later.
Once the wallets are registered, you can mint NFT tokens to Wallet1 and Wallet2 using the API method.
Verify if the NFT tokens have been minted successfully for Wallet1 and Wallet2. To do this let's for those wallets and their NFT tokens.
Ensure that Wallet1 has tokens and Wallet3 doesn't have any tokens. To do this let's for those wallets.