January 25, 2024
Does Unstoppable Wallet have an API?
Yes, Unstoppable Wallet does have an API, specifically, the Unstoppable Domains Partner API v3, which allows management of Web3 domains, such as searching and registering domains, updating records on the blockchain, and transferring domain ownership. However, rather than using Unstoppable Wallet's public API, an alternative is to use Mesh, which has built integrations with 300+ other digital asset exchanges and wallets.
About Unstoppable Wallet
Unstoppable Domains, founded in 2018 by Bogdan Gusiev, Brad Kam, Braden Pezeshki, and Matthew Gould, is a San Francisco-based company that specializes in launching blockchain-secured domains and building uncensorable websites. Offering NFT domains, Unstoppable Domains empowers users with control over their digital identity, enabling them to log into more than 150 Web3 applications, shorten crypto wallet addresses, and create a decentralized Web3 identity.
General usage
Here’s a summary of the Unstoppable Wallet API:
- Unstoppable Domains Partner API v3: This API facilitates the management of Web3 domains, offering services such as searching and registering domains, updating records on the blockchain, and transferring domain ownership. It also includes a custody solution where Unstoppable Domains handle blockchain interactions, providing partners with a RESTful API for domain management. The API also tracks charges and invoices partners, supporting domain viewing on Ethereum, Polygon, and Zilliqa, with domain management currently available on Polygon.
Authentication
This is how you authenticate your Unstoppable Wallet API:
- Choose the appropriate authentication method for your use case, such as ownership of the domain, attaching a software key record, or attaching a hardware key record.
- Implement the personal_sign method inside the Ethereum JSON-RPC to authenticate users using the chosen method.
- Ensure your application handles the two primary types of access tokens: opaque and self-encoded. Opaque tokens require validation using the Token Introspection API, while self-encoded tokens contain all necessary information for validation.
- Follow the rate limits for the API endpoints, currently set at 60 requests per IP per hour for Partner API v2 (Legacy) endpoints.
- Handle common errors and resolve them according to the guidelines.
Errors
Here are the most common API errors for Unstoppable Wallet API:
- Error: Invalid Redirect URI - Modify the redirect URIs in the Login Client to ensure a match between the server and library instance.
- Error: Login Modal Doesn't Close - Make sure the redirect URI in the client configuration is at the same origin as the application hosting the login flow.
- Error: Port "5000" Could Not Be Used - Turn off AirPlay Receiver in the Sharing preferences or use a different port for local development.
An alternative to the Unstoppable Wallet API
While the Unstoppable Wallet API offers a way to manage Web3 domains and interact with the wallet, using the Mesh API can provide additional benefits for developers and businesses looking to streamline their user experience for digital asset transactions. Some of the standout features of the Mesh API include:
- Integrated User Experience: The Mesh API seamlessly embeds digital asset functionalities into your app, offering a smooth user journey and eliminating the need to switch between multiple platforms.
- Broad Connectivity: With a single integration, the Mesh API connects to over 300 brokerages, exchanges, and wallets, providing extensive flexibility and choice for users to access their digital assets.
- Simplified Asset Management: The Mesh API eases the process of depositing assets, allowing transfers from various sources directly within your app for enhanced user convenience. This simplifies the overall asset management experience for users.
Start with Mesh today and experience the ease and efficiency of their cutting-edge API in your digital asset endeavors.