Comments (4)
一般的dApp页面本身都会使用https://github.com/ethereum/web3.js这个脚本,如果是Android App上可以通过类似jsbridge技术。注入拦截web3接口本身的方法,比如常见的getAccounts()接口,返回你App内已有的账户即可,签名接口类似。如此就可以实现dApp本身使用App内的钱包和签名技术
from token-core-android.
react native 中如何获取创建账户的方法,以及获取私钥等
from token-core-android.
RN 可以通过RN 的plugin机制,把https://github.com/consenlabs/token-core-android/blob/master/app/src/main/java/org/consenlabs/tokencore/wallet/WalletManager.java 包装为一些RN可以调用的方法,即可使用
from token-core-android.
如果是 Object-C 要怎么实现呢 @XuNeal
一般的dApp页面本身都会使用https://github.com/ethereum/web3.js这个脚本,如果是Android App上可以通过类似jsbridge技术。注入拦截web3接口本身的方法,比如常见的getAccounts()接口,返回你App内已有的账户即可,签名接口类似。如此就可以实现dApp本身使用App内的钱包和签名技术
from token-core-android.
Related Issues (20)
- 麻烦问一下 usdt 隔离签名怎么来?usdt 的普通签名正常 HOT 9
- eos签名交易的疑问 HOT 2
- Best practices for loading the wallet upon application restart
- Why does the Ethereum wallet not expose the public key? HOT 2
- EOS签名 EOSTransaction.ToSignObj对象的属性解释 HOT 3
- ETH私钥导入钱包,无法获取助记词 HOT 4
- imtoken android 2.4.2 dapp browser `window.ethereum` injection missing HOT 2
- btc 签名错误 HOT 2
- 调用personalSign()报错 HOT 1
- BTC签名疑问 HOT 2
- 子钱包Path HOT 1
- 有没有相关资料讲解一下这个项目? HOT 5
- 为什么eos签名不需要判断r和s的长度
- how to get the balance from bit coin wallet??could you get me a example?? HOT 1
- changeIdx 传什么值?
- ETH签名疑问
- 请问USDT怎么签名
- 导入钱包问题。怎么验证用户输入的私钥是否合法?
- 钱包导入问题
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 token-core-android.