reown-com / reown-swift

Apache License 2.0
29 stars 9 forks source link

Reown WalletKit & AppKit - Swift

CI main CI develop

Swift implementation of WalletKit and AppKit for native iOS applications.

Requirements

Documentation & Usage

Installation

Swift Package Manager

Add .package(url:_:) to your Package.swift:

dependencies: [
    .package(url: "https://github.com/reown-com/reown-swift", .branch("main")),
],

Cocoapods

Add pod to your Podfile:

pod 'reown-swift'

If you encounter any problems during package installation, you can specify the exact path to the repository

pod 'reown-swift', :git => 'https://github.com/reown-com/reown-swift.git', :tag => '1.0.0'

Setting Project ID

Follow instructions from Configuration.xcconfig and configure PROJECT_ID with your ID from WalletConnect Dashboard

// Uncomment next line and paste your project id. Get this on: https://cloud.walletconnect.com/sign-in
// PROJECT_ID = YOUR_PROJECT_ID
// To use Push Notifications on the Simulator you need to grab the simulator identifier
// from Window->Devices and Simulators->Simulator you're using->Identifier
SIMULATOR_IDENTIFIER = YOUR_SIMULATOR_IDENTIFIER

Example Apps

open Example/ExampleApp.xcodeproj

License

Apache 2.0

Guides