iOS 10+
pod ‘CrypttpFramework’
After line added
pod install
Anywhere (between keys) in Info.plist add the following code.
Probably CFBundleURLTypes key is already exists, then you should add required shcema to array
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>crypttp</string>
</array>
<key>CFBundleURLName</key>
<string></string>
</dict>
</array>SDK methods are called through the Crypttp class.
guard let params = Crypttp.shared.parseCrypttpDeeplink(url: incomingURL) {
return false
}Use this method to send transaction hash to Crypttp
If crypttp does not receive hashes from you, then we have the right to disconnect you from the system without explanation
Crypttp.shared.sendTransactionHash(transactionId:"id", transactionHash:"hash", success: {
print("success")
}) { error in
print("Error: \(error.localizedDescription)")
}Signup at Dashboard
Navigate to Settings/Wallet App
Set:
-
Name
-
Discription
-
Icon
-
Available currencies
-
Urls to AppStore and Google Play
This configuration will help you promote your wallet app.
Every user that has no wallet installed while paying at Crypttp merchants will be redirected to a special page where user can find featured wallets