Prerequisites
- Download Android Studio for development and device management.
- Follow the Development Setup guide to set up your Android Device/Emulator and install an MWA-compatible wallet.
Add Gradle dependencies
In Android Studio, navigate to your Android project’s modulebuild.gradle.kts file and add the following dependencies:
build.gradle.kts
Overview of each dependency
Overview of each dependency
com.solanamobile:mobile-wallet-adapter-clientlib-ktx: Mobile Wallet Adapter client library for interacting with MWA-compatible wallets.com.solanamobile:web3-solana: Solana Kotlin library providing core Solana primitives like transaction building and public key class.com.solanamobile:rpc-core: A Kotlin library providing a generic interface and abstractions for building Solana RPC requests.io.github.funkatronics:multimult: Lightweight utility library for Base58 conversions.
Next steps
Setup
Instantiate the MobileWalletAdapter client and connect to wallets.
