Skip to content

Swift Package Manager repository for trinsic services

License

Notifications You must be signed in to change notification settings

trinsic-id/v2-sdk-swift

Repository files navigation

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

About

Swift Package Manager repository for trinsic services

Resources

License

Stars

Watchers

Forks

Packages

No packages published