Trendaavat aiheet
#
Bonk Eco continues to show strength amid $USELESS rally
#
Pump.fun to raise $1B token sale, traders speculating on airdrop
#
Boop.Fun leading the way with a new launchpad on Solana.
A simple change just got shipped that should make every crypto app way faster by default.
Viem (the library powering most crypto apps) polls the chain to check if a transaction has completed every 4 seconds as the default value.
This makes sense for mainnet with 12 second block times, but most L2s today have much shorter block times.
Polling every 4 seconds means your app could be waiting for transaction confirmation despite your transaction being confirmed many blocks ago.
This PR adds a new “chain.blockTime” field that changes the default polling interval to be much faster on L2s.
Instead of 4 seconds, the default polling interval is now (chain.blockTime / 3) with block times predefined for OP stack and ZK stack chains including Abstract.
Shoutout to @coffeexcoin and @_jxom for shipping this.
Update your Viem versions to see the difference!


6,69K
Johtavat
Rankkaus
Suosikit