Bitcoin
Bitcoin (BTC)
$99,126.00 2.40576
Bitcoin price
Ethereum
Ethereum (ETH)
$3,377.25 7.59559
Ethereum price
BNB
BNB (BNB)
$629.26 2.8351
BNB price
Solana
Solana (SOL)
$260.32 7.60216
Solana price
XRP
XRP (XRP)
$1.38 23.34472
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000249 3.27743
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000211 8.63943
Pepe price
Bonk
Bonk (BONK)
$0.0000513 -1.03396
Bonk price
dogwifhat
dogwifhat (WIF)
$3.30 3.68325
dogwifhat price
Popcat
Popcat (POPCAT)
$1.58 1.89229
Popcat price
Bitcoin
Bitcoin (BTC)
$99,126.00 2.40576
Bitcoin price
Ethereum
Ethereum (ETH)
$3,377.25 7.59559
Ethereum price
BNB
BNB (BNB)
$629.26 2.8351
BNB price
Solana
Solana (SOL)
$260.32 7.60216
Solana price
XRP
XRP (XRP)
$1.38 23.34472
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000249 3.27743
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000211 8.63943
Pepe price
Bonk
Bonk (BONK)
$0.0000513 -1.03396
Bonk price
dogwifhat
dogwifhat (WIF)
$3.30 3.68325
dogwifhat price
Popcat
Popcat (POPCAT)
$1.58 1.89229
Popcat price
Bitcoin
Bitcoin (BTC)
$99,126.00 2.40576
Bitcoin price
Ethereum
Ethereum (ETH)
$3,377.25 7.59559
Ethereum price
BNB
BNB (BNB)
$629.26 2.8351
BNB price
Solana
Solana (SOL)
$260.32 7.60216
Solana price
XRP
XRP (XRP)
$1.38 23.34472
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000249 3.27743
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000211 8.63943
Pepe price
Bonk
Bonk (BONK)
$0.0000513 -1.03396
Bonk price
dogwifhat
dogwifhat (WIF)
$3.30 3.68325
dogwifhat price
Popcat
Popcat (POPCAT)
$1.58 1.89229
Popcat price
Bitcoin
Bitcoin (BTC)
$99,126.00 2.40576
Bitcoin price
Ethereum
Ethereum (ETH)
$3,377.25 7.59559
Ethereum price
BNB
BNB (BNB)
$629.26 2.8351
BNB price
Solana
Solana (SOL)
$260.32 7.60216
Solana price
XRP
XRP (XRP)
$1.38 23.34472
XRP price
Shiba Inu
Shiba Inu (SHIB)
$0.0000249 3.27743
Shiba Inu price
Pepe
Pepe (PEPE)
$0.0000211 8.63943
Pepe price
Bonk
Bonk (BONK)
$0.0000513 -1.03396
Bonk price
dogwifhat
dogwifhat (WIF)
$3.30 3.68325
dogwifhat price
Popcat
Popcat (POPCAT)
$1.58 1.89229
Popcat price

OpenZeppelin excludes isContract, urging ecosystem evolution

openzeppelin-excludes-iscontract-urging-ecosystem-evolution
Edited by
News
OpenZeppelin excludes isContract, urging ecosystem evolution

OpenZeppelin eradicates the isContract function, fostering a shift towards greater adaptability and enhanced user experiences in the Ethereum ecosystem.

Smart contract development service OpenZeppelin recently removed a commonly used smart contract function called isContract to push the ecosystem forward toward greater flexibility and improved user experiences.

The isContract function returns true if an Ethereum (ETH) address belongs to a smart contract account rather than an externally owned account (EOA). Many decentralized application (dapp) developers have relied on it for security purposes, such as preventing bots from minting non-fungible tokens (NFTs).

However, as Ambire Wallet co-founder and CEO Ivo Georgiev pointed out rejoicing for removing the feature, relying on isContract breaks compatibility with account abstraction wallets like Ambire, Argent, and Safe. These wallets use smart contracts to manage users’ funds while abstracting some complexities away from the end user.

According to Georgiev, better ways to prevent issues like NFT minting abuse and security vulnerabilities exist. The presence of isContract has led to a harmful myth that smart contracts cannot function as user accounts.

In response, OpenZeppelin removed the function to push developers to reconsider assumptions about smart contracts and user accounts. This controversial move could accelerate the adoption of account abstraction and its associated benefits.

Safe — a decentralized custody protocol previously known as Gnosis Safe — developer Misha highlighted legitimate use cases of isContract, like ensuring that added Safe modules are valid contracts. However, Georgiev argued that there are better solutions that don’t preclude important account abstraction techniques.

The OpenZeppelin documentation warns that isContract should not be relied upon as the sole determiner of contract or EOA status. According to him, with clever programming, bots can return false positives or negatives.

This debate represents an important step forward as Ethereum builders rethink outdated assumptions and plant the seeds for the next generation of user-friendly decentralized applications. Removing isContract forces developers to find alternative solutions, ultimately benefiting end users by stopping discrimination against abstracted accounts.