[Ethereum] Create an Ethereum wallet with React Native for single token

light-clientsreactweb3js

Many of you might think that this question has already been answered
but I don't think that there is a clear answer on the internet for the
current Ethereum, Web3.js and React Native versions (for 2018). In the blockchain space, answers that are 6 months old are obsolete.

Hello,

I recently created a bunch of Ethereum smart contracts on a custom PoA private network and everything is working great on the browser using MetaMask and Truffle.

Now, the next step is to create a mobile application with React Native to interact with the smart contracts, handle public/private keys, etc (What MetaMask does for the browser).

So my question is: What is the best way to create an Ethereum dApp with React Native with the purpose of only creating and storing cryptographic material, creating and signing transactions? I don't want to create a light client but use the application with platforms like Infura (I know that it is not really decentralized but this is temporary before a light-client is available for Ethereum).

Has anyone already done that with web3.js v.1.0? What are the difficulties? Is web3.js enough? Can it be used with React Native?

Thank you

Best Answer

You basically just need a provider (like metamask) for your react native app. Everything else works both on a web browser and react native.

Check this: https://www.google.co.in/search?q=metamask+react+native&rlz=1C5CHFA_enIN786IN786&oq=metamask+react+native&aqs=chrome.0.0j69i57.4526j0j7&sourceid=chrome&ie=UTF-8

Related Topic