Hot answers tagged

4

There are some guys who are running geth on Android and iOS. you could find the libs and the apk project. But seriously, you need to wait the light protocol client because it is a bit insane to use a full client (Many Go of storage + so many writes that it will use battery and storage longevity). Look this: Android Ethereum on Android: https://www.reddit....


3

There is a web3 library for swift web3swift.


2

Did you look at this? It is erc-20 compatible. https://github.com/walleth


2

You can invoke the unlockAccount method of personal from your Web application. I am using Web3 0.18.2 version. In the below mentioned method call last parameter is duration i.e how long the account will be kept unlocked in seconds. It is optional. You can use any of the ways. When you start your node using Geth you need to expose personal through rpc. I ...


2

There is Nethereum which is a .Net client for Ethereum. You can use Xamarin (comes free with VS now) to build Android, iOS and Windows apps through the .Net framework. Github link - https://github.com/Nethereum/Nethereum


1

For iOS here is an example, how to work with ERC20 tokens: https://github.com/matterinc/DiveLane


1

I used Browserify to package all modules and then used webView to call the js functions. here is my js file, index.js "use strict" let Web3 = require('web3.js'); window.Web3 = Web3; and then use Broswerify to pack browserify index.js -o web3.js my html, <html> <head> <script type="text/javascript" src="web3.js"></script> ...


1

For iOS: matterinc/web3swift Here is elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions Here is an example, to send transaction: TransactionsService().prepareTransactionForSendingEther(destinationAddressString: destinationAddress, amountString: amount, gasLimit: 21000) { (result) in switch result { ...


1

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


1

I fixed my issue by adding the --lightserv 90 flag when booting my private nodes (cause i'm using a private blockchain). You should use the GethSetVerbosity(9) method to add so trace and debug in your xcode console. If you see a "useless peer" error it's because your server protocol doesn't match the node protocol. In my case I add only "les" protocol in my ...


1

It's simple,just type this command in the geth console: web3.personal.unlockAccount("0x..", "<pass>");


1

Nope, I didn't find a similar solution to communicate with a blockchain. The easiest way that I found to run a node using Geth and communicate with it via JSON RPC API.


1

(Note: I haven't done any mobile development for a while, and certainly none related to Ethereum. The below answer therefore includes a level of conjecture. I don't know of any existing efforts.) Android apps are (most often) written in Java, so it's plausible that the relevant parts of EthereumJ could be ported with relatively little pain. It's also been ...


Only top voted, non community-wiki answers of a minimum length are eligible