i want to build a mobile DeFi wallet but i'm wondering how to interact my front End with smart contracts and the ethereum blockchain. Please help me. Will i use truffle in it like other web Dapps ?
Asked
Active
Viewed 112 times
1 Answers
0
Yes, your frontend needs to be connected the same way as if it was for desktop. There's no difference at all in how the connections are done. In the end, you have your contracts, and you can interact with them with libraries such as web3.js, ethers.js and any others. What do you to then create a mobile version, is up to you.

Raul
- 1
-
Thanks for replying. Did you have a work or guide to do that. – khlifi rabii Aug 16 '22 at 10:11
-
You can google for web3.js, ethers.js, those are JavaScript libraries to interact with contracts. – Raul Aug 16 '22 at 14:12
-
I did that but it doesn't work. – khlifi rabii Aug 17 '22 at 08:33