Is there any modern examples of dapps? I found that web3js has alternatives of window.ethereum.request({ method: 'eth_requestAccounts' }) for e.g. I wanna to interact with my smart contract from react app using the best practices

Jan 4, 2023, 1:43 PM
use wagmi.sh
Jan 4, 2023, 1:43 PM
but why ethers?
Jan 4, 2023, 1:44 PM
why not
Jan 4, 2023, 1:44 PM
I checked both repositories (web3js and ethersjs) and web3 seems to be more active and supported by the developer community.
Jan 4, 2023, 1:45 PM
i personally prefer ethers because I started with it.
It is your choice
Jan 4, 2023, 1:46 PM
I wanna to use technologies that will survive in a couple of years
Jan 4, 2023, 1:47 PM
what a dumb phrase🤣
if someone can predict what will disappear and what no would be awesome
use what you know better
don't stress yourself with those thoughts
Jan 4, 2023, 1:48 PM
I don't think ethers will be discontinued but activiy decreases now
web3js is updated 2 hours ago vs at October 2022
Jan 4, 2023, 1:50 PM
.
Jan 4, 2023, 1:51 PM
Mhm that's not something you should consider for an interface library imho.
Check both, try to do a simple task with both then choice what you like.
I use web3py (web3js port to python) and ethers.js for JavaScript
But if i had ethers on python i would use that there too
Jan 4, 2023, 2:38 PM
why you can't give the name
Jan 4, 2023, 2:59 PM
those updates don't tell us the real difference
Jan 4, 2023, 5:33 PM
web3 is easier to use if you do frontend, ethers in my opinion is more if you need full manage portals for contracts
web3 + types from ethersv5 and it's best combination
Jan 5, 2023, 2:51 PM

© 2024 Draquery.com All rights reserved.