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.
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'
.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"),
]
)
]
)
Currently support
- Solana SDK
- EVMBase SDK (Ethereum, Avalanche, BSC, Polygon)
- Flow SDK
For further instructions please refer to Blocto Docs
Dawson, [email protected], Scott, [email protected]
BloctoSDK is available under the MIT license. See the LICENSE file for more info.