Swiftpack.co - trinsic-id/sdk-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by trinsic-id.
trinsic-id/sdk-swift 1.13.1
Swift Package Manager repository for trinsic services
⭐️ 1
🕓 21 weeks ago
iOS macOS
.package(url: "https://github.com/trinsic-id/sdk-swift.git", from: "1.13.1")

Trinsic SDK for Swift

Usage

Add this repo to your Packages.swift

dependencies: [
    .package(name: "Trinsic", url: "https://github.com/trinsic-id/sdk-swift", branch: "main")
],

Import the services in your app

import Trinsic

let accountService = Services.Account().build()
let myProfile = try accountService.loginAnonymous("default")

let walletService = Services.Wallet()
    .with(profile: myProfile)
    .build()
let items = try walletService.search()

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics