[Ethereum] Integrate web3.js into a native iOS & Android Apps

androiddapp-developmentiosweb3js

Integrating web3.js into a native iOS & Android Apps has issues.

I am having difficulty integrating web3.js into a native mobile App (iOS & Android), would it be reasonable to use a cloud server & npm install web3 and let the mobile App connect to that Cloud server instance to make all calls to a deployed Smart Contract?

The only issue I see with this, is that it defies the peer-to-peer architecture of the blockchain by having a cloud server in the middle.

Best Answer

You can use the Infura APIS from mobile to interact with the blockchain locally https://blog.infura.io/getting-started-with-infura-28e41844cc89 that way you don't have to setup your own proxy server

Related Topic