Skip to main content

Installation

How to install Beacon iOS SDK

To add Beacon iOS SDK into your project add the dependencies:

stable latest

Package.swift
dependencies: [
.package(url: "https://github.com/airgap-it/beacon-ios-sdk", from: "x.y.z")
],

Or in Xcode open the Add Package Dependency window (as described in the official guide) and enter the Beacon iOS SDK GitHub repository URL

https://github.com/airgap-it/beacon-ios-sdk

Packages Overview

The library packages and their relations are described below.

Core

Core packages are the basis for other packages. They are required for the SDK to work as expected.

ModuleDescriptionDependenciesRequired by
BeaconCoreBase for other modules✖️BeaconClientWallet

BeaconBlockchainSubstrate
BeaconBlockchainTezos

BeaconTransportP2PMatrix

Client

Client packages ship with Beacon implementations for different parts of the network.

ModuleDescriptionDependenciesRequired by
BeaconClientWalletBeacon implementation for walletsBeaconCore✖️

Blockchain

Blockchain packages provide support for different blockchains.

ModuleDescriptionDependenciesRequired by
BeaconBlockchainSubstrateSubstrate specific componentsBeaconCore✖️
BeaconBlockchainTezosTezos specific componentsBeaconCore✖️

Transport

Transport packages provide various interfaces used to establish connection between Beacon clients.

ModuleDescriptionDependenciesRequired by
BeaconTransportP2PMatrixBeacon P2P implementation which uses Matrix for the communicationBeaconCore✖️