Ethereum Blockchain Wallet App with React Native

I recently created an Ethereum blockchain wallet app using React Native. The purpose of the app is such that user can create keys, retrieve keys and send ether to other users. The architecture of the app is dissected in this article. Subsequently, the design choices are discussed briefly. For background info, React Native is a framework that is used to develop mobile app that runs on Android and iOS.

The following diagram shows the directory structure of the wallet app code. The actions folder is the dispatch to props actions. The components folder contains the mobile app software components. The reducers folder is the redux reducers. The store is the redux store. The web3 contains the code that talks to Ethereum through web3 library.

src 
 |-- actions
 |-- components
 |-- reducers
 |-- store
 |-- web3

The state management is implemented using redux. I could have used React hook. I choose redux, as it can be expanded easily. The map state to

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值