---
title: "Discussion on \"Enhancing Security with receive() and fallback() in Ethereum Contracts (Part-2)\" | Hashnode"
description: "Discussion on \"Enhancing Security with receive() and fallback() in Ethereum Contracts (Part-2)\". INTRODUCTION\nThe fallback function is executed on a call to the contract if none of the other functions match the given function signature, or if no data was supplied at all and there is no receive ether function. The visibility of the fallback funct..."
url: "https://hashnode.com/posts/enhancing-security-with-receive-and-fallback-in-ethereum-contracts-part-2/6513cef8dc0067f7b3fb3617"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Enhancing Security with receive() and fallback() in Ethereum Contracts (Part-2)](https://blockchaindeveloperblog.hashnode.dev/enhancing-security-with-receive-and-fallback-in-ethereum-contracts-part-2?utm_source=hashnode&utm_medium=feed)

INTRODUCTION The fallback function is executed on a call to the contract if none of the other functions match the given function signature, or if no data was supplied at all and there is no receive ether function. The visibility of the fallback funct...

Sep 27, 2023 · 5 min read · blockchaindeveloperblog.hashnode.dev  
Read the article

-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#fallback-functions](https://hashnode.com/tag/fallback-functions)
-   [#blockchain](https://hashnode.com/tag/blockchain)
-   [#web3](https://hashnode.com/tag/web3)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)

## Written by

[Ashish Meena](https://hashnode.com/@MrAshishMeena)

@MrAshishMeena

  
[View profile](https://hashnode.com/@MrAshishMeena)

i am a Blockchain developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
