How to use Web3 connect MetaMask on iOS (Swift)

Hi everybody. I want to create an iOS app (Swift), for example: Click a button and then call a function of Smart Contract address. Absolutely confirm by Meta Mask of iOS device.

How could I do that? Thank you

2 Likes

Hey, I am also looking for exact same thing. Did you find any solution?

1 Like

One way might be to use WalletConnect. WalletConnect would help you make a connection to MetaMask, or other wallets that support the WalletConnect protocol. Once you make a connection, your app can interact with the blockchain with the connected wallet.

1 Like

This swift package does it pretty easily:

Since I cannot post links, on Github search for maurovz/Glaip