Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 493 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 493 Bytes

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()