Skip to main content

Install

The Coinbase Wallet Mobile SDK is available on both CocoaPods and Swift Package Manager.

Cocoapods

Add Coinbase Wallet SDK to your Podfile.

use_frameworks!

target 'YOUR_TARGET_NAME' do
pod 'CoinbaseWalletSDK', '1.0.3'
end

Replace YOUR_TARGET_NAME, and then in the Podfile directory run:

pod install

Swift Package Manager

Add Coinbase Wallet SDK to your Package.swift file.

Under File > Add packages… enter the package url: https://github.com/coinbase/wallet-mobile-sdk

import PackageDescription

let package = Package(
name: "YOUR_PROJECT_NAME",
dependencies: [
.package(url: "https://github.com/coinbase/wallet-mobile-sdk.git", from: "1.0.3"),
]
)

Replace YOUR_PROJECT_NAME, and then run:

swift build