An easy way to add Blocto iOS SDK dependency to an iOS project is through CocoaPods, like this:
pod 'BloctoSDK/EVMBase'
The dependency can be installed simply by pod install:
pod install
Blocto wallet supports EVMBase staring from version 3.8.0.
Usage
Initialize Blocto SDK
BloctoSDK.shared.initialize(
with: "YOUR_APP_ID", // required
window: yourWindow, // required PresentationContextProvider of web SDK authentication.
logging: true, // optional (default is true)
environment: .dev // optional (default is prod)
)
parameter environment:
in Ethereumdev for Goerli and prod for mainnet.
in BSCdev for testnet and prod for mainnet.
in Polygondev for Mumbai and prod for mainnet.
in Avalanchedev for FUJI Testnet and prod for mainnet.