Skip to content

Integrate with Blocto wallet on Polygon, Flow, BNB Chain, Avalanche and Ehtereum.

License

Notifications You must be signed in to change notification settings

blocto/blocto-ios-sdk

Repository files navigation

BloctoSDK

CI Status Version License Platform

Example

To run the example project, clone the repo, and run

bundle install
bundle exec pod install

or (if Bundler not installed)

pod install

from the Example directory first.

Installation

CocoaPods

BloctoSDK is available through CocoaPods. You can only include specific subspec to install, simply add the following line to your Podfile:

pod 'BloctoSDK', '~> 0.6.4'

# or 

pod 'BloctoSDK/Solana', '~> 0.6.4'

# or

pod 'BloctoSDK/EVMBase', '~> 0.6.4'

# or

pod 'BloctoSDK/Flow', '~> 0.6.4'

Swift Package Manager

.package(url: "https://github.com/portto/blocto-ios-sdk.git", .upToNextMinor(from: "0.6.4"))

and then specify "BloctoSDK" as a dependency of the Target in which you wish to use. Here's an example PackageDescription:

// swift-tools-version: 5.6
import PackageDescription

let package = Package(
    name: "MyPackage",
    products: [
        .library(
            name: "MyPackage",
            targets: ["MyPackage"]
        ),
    ],
    dependencies: [
        .package(url: "https://github.com/portto/blocto-ios-sdk.git", .upToNextMinor(from: "0.6.4"))
    ],
    targets: [
        .target(
            name: "MyPackage",
            dependencies: [
                .product(name: "BloctoSDK", package: "blocto-ios-sdk"),
            ]
        )
    ]
)

Usage

Currently support

  • Solana SDK
  • EVMBase SDK (Ethereum, Avalanche, BSC, Polygon)
  • Flow SDK

For further instructions please refer to Blocto Docs

Author

Dawson, [email protected], Scott, [email protected]

License

BloctoSDK is available under the MIT license. See the LICENSE file for more info.

About

Integrate with Blocto wallet on Polygon, Flow, BNB Chain, Avalanche and Ehtereum.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages