Skip to content

WalletConnect/WalletConnectSwiftV2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
Mar 13, 2023
Feb 27, 2023
Mar 10, 2023
Mar 14, 2023
Mar 13, 2023
Mar 13, 2023
Feb 8, 2023
Feb 8, 2023
Feb 8, 2023
Jul 5, 2022
Oct 3, 2022
Dec 13, 2021
Mar 13, 2023
Dec 22, 2022
Feb 27, 2023
Jan 27, 2023
Jan 18, 2023
Oct 6, 2021

Repository files navigation

Wallet Connect v.2 - Swift

CI main CI develop

Swift implementation of WalletConnect v.2 protocol for native iOS applications.

Requirements

  • iOS 13
  • XCode 13
  • Swift 5

Documentation & Usage

Installation

Swift Package Manager

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

dependencies: [
    .package(url: "https://github.com/WalletConnect/WalletConnectSwiftV2", .branch("main")),
],

Cocoapods

Add pod to your Podfile:

pod 'WalletConnectSwiftV2'

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

pod 'WalletConnectSwiftV2', :git => 'https://github.com/WalletConnect/WalletConnectSwiftV2.git', :tag => '1.0.5'

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 App

open Example/ExampleApp.xcodeproj

Web3Wallet

Web3Wallet SDK introduces a new interface for all wallets that wraps the Sign and Auth clients internally.

License

Apache 2.0