Integration with Mobile Apps

To use our SDK on mobile apps, you don't need to install or include zh-web-sdk as a dependency in your project. We use a proxy server that calls the SDK internally to make it work for mobile applications. This proxy service is referred to as sdk-mobile, and the URLs are:

Cert: https://sdk-mobile.cert.zerohash.com/v1
Prod: https://sdk-mobile.zerohash.com/v1

These are the URLs your WebView should use in your mobile app. The URL can have the following parameters, with zeroHashAppsURL being required:

  • achDepositsJWT
  • cryptoBuyJWT
  • cryptoSellJWT
  • cryptoWithdrawalsJWT
  • fiatWithdrawalsJWT
  • userOnboardingJWT
  • zeroHashAppsURL

Here is an example URL for Cert:

https://sdk-mobile.cert.zerohash.com/v1?achDepositsJWT=token&cryptoBuyJWT=token&cryptoSellJWT=token&cryptoWithdrawalsJWT=token&fiatWithdrawalsJWT=token&userOnboardingJWT=token&zeroHashAppsURL=https://web-sdk.cert.zerohash.com