Comments (2)
Hi, thanks for the question!
Take a look at signing section here https://github.com/Tangem/tangem-sdk-android#sign
Also, we have a demo project https://github.com/Tangem/tangem-sdk-android/tree/master/tangem-demo
Let me know if you have other questions.
from tangem-sdk-android.
I'd like to add that you should provide 256 bit hash to sign with secp256k1 curve. For Ethereum you should hash your message with Keccak256.
Signature from card might not be canonical (have "high S" value) so you should also canonicalize it first, most crypto libraries can do that.
from tangem-sdk-android.
Related Issues (10)
- Failed to resolve: com.github.tangem.tangem-sdk-android:tangem-core:3.6.2 HOT 4
- How to get wallet address from CardWallet.publicKey? HOT 1
- Duplicate values in `TlvTag` HOT 4
- Legacy support libraries are detected (AndroidX support). HOT 3
- Try Again. Failed to send a transaction (400) HOT 1
- 3.7.0 release: missed dependencies. HOT 4
- tangem-sdk-android/android sources are not included in v3.7.1 HOT 4
- Add XinFin-XDC Network support HOT 1
- Nokia 8.1 throwing error
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 tangem-sdk-android.