Comments (10)
And I don't see recoverPubkeyFrom(signature, message)
method in the Crypto.h in my project (but it is there in Git: https://github.com/TrustWallet/trust-core/blob/master/Sources/Crypto.h) - is CocoaPods version so old? I can't invoke that method.
from trustsdk-ios.
Here https://github.com/TrustWallet/trust-core/blob/08cecb0d655df1b3fc250a36a9912bde2ca701a3/Tests/CryptoTests.swift I see let data = Crypto.recoverPubkey(from: signature, message: hash)!
, but can't invoke Crypto.recoverPubkey(from, message)
too.
from trustsdk-ios.
@dmitry-kanunnikoff make sure you run latest TrustCore lib
from trustsdk-ios.
@vikmeup Just checked:
Using TrezorCrypto (0.0.8)
Using TrustCore (0.2.2)
Using TrustSDK (0.0.1)
It is the latest from CocoaPods.
from trustsdk-ios.
@dmitry-kanunnikoff can and point to the master? we don't always push to cocoapods updated version
from trustsdk-ios.
@vikmeup Could you, please, tell how can I do that? I'm not a Xcode professional, and can add pods only.
from trustsdk-ios.
You can just specify in your pod file for each module
pod 'TrustCore', :git=>'https://github.com/TrustWallet/trust-core', :branch=> 'master'
from trustsdk-ios.
Mm, thank you very much! All works now! The signature's verifying is correct. Your help was really great!
@vikmeup Please, look at the similar issue on Android: trustwallet/TrustSDK-Android#10
Seems, signature is not ok there.
from trustsdk-ios.
@dmitry-kanunnikoff can you message me on telegram: @vikmeup for quicker feedback
from trustsdk-ios.
Thank you very much for your help!
from trustsdk-ios.
Related Issues (20)
- Confirming transaction problem.
- Trust wallet browser issue HOT 2
- Main wallet
- EthereumTransaction.ContractGeneric example HOT 1
- pod 'TrustSDK'
- ! HOT 1
- TrustSDK/Classes/Wallet/WalletSDK.swift
- Pod::Spec.new do |s| s.name = 'TrustSDK' s.version = '1.4.7' s.summary = 'Trust Wallet SDK' s.homepage = 'https://github.com/TrustWallet/TrustSDK-iOS' s.license = { :type => 'MIT', :file => 'LICENSE' } s.authors = { 'Leone Parise' => 'leoneparise', 'Viktor Radchenko' => 'vikmeup' } s.source = { :git => 'https://github.com/TrustWallet/TrustSDK-iOS.git', :tag => s.version.to_s } s.ios.deployment_target = '11.0' s.swift_version = '5.1' s.default_subspec = 'Client' s.subspec 'Client' do |cs| cs.resource_bundles = { 'TrustSDK' => ['TrustSDK/Resources/**/*.xcassets', 'TrustSDK/Resources/**/*.strings'] } cs.source_files = 'TrustSDK/Classes/Client/**/*' cs.dependency 'TrustWalletCore/Types' cs.dependency 'BigInt' end s.subspec 'Wallet' do |cs| cs.source_files = 'TrustSDK/Classes/Wallet/**/*' cs.dependency 'TrustSDK/Client' end end HOT 1
- Trust
- .
- Yes
- pod 'TrustSDK'
- D
- Trust
- Tryst
- m HOT 2
- Sign then Send for Tron network HOT 3
- Hello HOT 1
- Wallet Connect doesn't work properly for IOS HOT 6
- Conect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trustsdk-ios.