AnswerBun.com

Is it possible to connect a swift iOS app to Ethereum?

Ethereum Asked by fech on December 13, 2020

Is it possible (and in that case how?) to connect an iOS app, build with swift using xcode, to an Ethereum testnet? So for instance a user would be able to login and set or get a value which is saved on the Ethereum test blockchain?

2 Answers

yes, it is possible to connect with Ethereum with web3swift. This lib is not official from Ethereum but This lib can connect with Ethereum blockchain. For more reference hit this link https://medium.com/@shivangpandey195/getting-started-with-web3swift-1a2454481f70 and implement web3swift lib in your XCode project.

Answered by Shivang Pandey on December 13, 2020

Yes. Run a node using Geth or Parity.

Then utilise a library such as JSONRPCKit to communicate with the node using the JSON RPC API implemented by these clients.

Answered by Thomas Clowes on December 13, 2020

Add your own answers!

Related Questions

Nethereum C# FilterInput.GetAllChanges always empty

1  Asked on February 12, 2021 by exaltedoil

       

Testing Gas Token on testnet failing transaction

0  Asked on February 9, 2021 by marr

   

I am unable to install web3 on my mac

1  Asked on February 5, 2021 by saiteja-kuruva

 

Out of stack DUP2 1/1024 when adding string to parameter

0  Asked on February 1, 2021 by koukotsu

   

How to find contract’s address?

6  Asked on January 31, 2021 by user3280964

   

Import error in Truffle Pet Shop tutorial

1  Asked on January 29, 2021 by xpain

   

Timeout w/ Mocha on deploying a contract

2  Asked on January 26, 2021 by tulun

   

How to send ERC20 token to smart contract in constructor

1  Asked on January 24, 2021 by user938363

 

Deploy bytecode

1  Asked on January 19, 2021 by william-entriken

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir