一款基于ethereum以太链的手机app应用status.im

Status.im是一款集成了Ethereum钱包、区块链聊天IM和Dapp分发市场的轻量级应用。作为开源项目,它支持将Ethereum应用移植到移动端。本文介绍了Status.im的开发平台及其实现Ethereum轻客户端的方式。

Status.im开发平台介绍

https://status.im/ 一款集成了ethereum钱包,区块链聊天IM和Dapp分发市场功能的以太链轻量app(light client)。app目前还在公开测试中。最主要的是,他是开源的,如果你想将ethereum应用搬迁到手机上,status.im是一个可选的开发平台(有点类似mist或metamask)。

Status的理念介绍文章:https://blog.status.im/introducing-status-ethereum-918b1447274

 

官方版本的Light client到现在还没有发布 (update:官方已经放出了安卓和iOS开发包SDKhttps://cocoapods.org/?q=ethereum , 更多介绍
What should I install on my mobile/tablet?

We are at the very beginning of our support for mobile devices. The Go team are publishing experimental iOS and Android libraries, which some developers are using to start bootstrapping mobile applications, but there are not yet any mobile Ethereum clients available.

The main hinderance to the use of Ethereum on mobile devices is that the Light Client support is still incomplete. The work which has been done is off in a private branch, and is only available for the Go client. doublethinkco will be starting development of Light Client for the C++ client in the coming months, following grant funding.

Check out Status.im, who were initially using ethereumj-personal based on Ethereum(J), but have recently flipped to Geth cross-builds with Light Client.

Source:http://ethereum-homestead.readthedocs.io/en/latest/ethereum-clients/choosing-a-client.html#what-should-i-install-on-my-mobile-tablet

APP上实现Ethereum的替换方案

如果还没有light client正式发布的情况下,可能方案是将node运行在专有的多个server上(模拟多个用户),简单的讲,就是通过webview来桥接到node节点服务器上,如:

这种曲线方案有很多实现案例,如这个人写的https://medium.com/@kouohhashi/ethereum-light-client-with-private-network-29f8a3c8862

 

官方Light client开发进展

https://github.com/ethereum/wiki/wiki/Light-client-protocol
https://ethereum.stackexchange.com/questions/225/ethereum-light-client-roadmap
https://blog.ethereum.org/2017/01/07/introduction-light-client-dapp-developers/

2018.4.14 update: geth 1.8+以后默认使用light client 同步方式,建议都升级一下。

https://geth.ethereum.org/downloads/
 

转载于:https://my.oschina.net/swingcoder/blog/1622521

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值