Skip to content

SoulSwapFinance/SoulWallet-Mobile

Repository files navigation

SoulWallet Mobile

This mobile version of SoulWallet Extension that is gateway help you access to Dotsama ecosytem.

Main Concept

image

Mobile version run an app runner run in hidden webview and use message passing to interact with it. There are 2 reasons why we do this:

  • React native is not support WASM, we can't get full features of @polkadot/packages so we need to run most crypto features on webview.
  • Using the same resources saves us not only development time, but also makes extension and mobile versioning more consistent

Development Guild

Requirement

Start development

  • From package folder run yarn start to make sure we installed all required packages
  • Android
    • Make sure you started a silumator and check it with command adb devices
    • Run yarn android
  • IOS
    • Run yarn ios to start development

iOS Development

  • Install pods for iOS

    cd ios && pod install

  • Run in iOS Simulator

    yarn ios