Development of Bank-Logger Honeypot System Using Solidity Inheritance Patterns

  • Unique Paper ID: 206202
  • Volume: 13
  • Issue: 2
  • PageNo: 624-629
  • Abstract:
  • When working with blockchain-based financial applications, it was noticed that smart contract security issues are becoming more common. Current analysis approaches, which are based on static code analysis, do not provide details about dynamic attacks post-deployment. In this paper, we present the design and development of a Bank-Logger Honeypot System using an inheritance approach in the Solidity smart contract language. It simulates a decentralized bank contract (with deposit and withdrawal services), and provides several layers of logging to capture the data about system interactions. The design strategy is to use three contracts: a Base Logger contract that defines event structures and logs transaction information; a Honeypot Bank contract that includes logging functionality and supports basic banking features; and a Honeypot Trap contract that inherits the banking contract and adds lures and traps to mimic malicious activity. The deployment of the system is done using Ganache so that we can test everything locally without risking real cryptocurrency. Patterns of function calls captured through Solidity events are used to understand data-flow patterns, code usage patterns and attack patterns. The experimental results show that the modular design using inheritance patterns is successful in providing separation of concerns and maintainability, and in producing a valuable dataset of interactions. This system can be used as a practical platform for learning and further research in smart contract security, and it also shows how object-oriented concepts can be applied in blockchain development.

Copyright & License

Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

BibTeX

@article{206202,
        author = {Nuthi Venkata Sai Sindhura and Vakula Lenka and Nali Girish and Meesala Rohith},
        title = {Development of Bank-Logger Honeypot System Using Solidity Inheritance Patterns},
        journal = {International Journal of Innovative Research in Technology},
        year = {2026},
        volume = {13},
        number = {2},
        pages = {624-629},
        issn = {2349-6002},
        url = {https://ijirt.org/article?manuscript=206202},
        abstract = {When working with blockchain-based financial applications, it was noticed that smart contract security issues are becoming more common. Current analysis approaches, which are based on static code analysis, do not provide details about dynamic attacks post-deployment. In this paper, we present the design and development of a Bank-Logger Honeypot System using an inheritance approach in the Solidity smart contract language. It simulates a decentralized bank contract (with deposit and withdrawal services), and provides several layers of logging to capture the data about system interactions. The design strategy is to use three contracts: a Base Logger contract that defines event structures and logs transaction information; a Honeypot Bank contract that includes logging functionality and supports basic banking features; and a Honeypot Trap contract that inherits the banking contract and adds lures and traps to mimic malicious activity. The deployment of the system is done using Ganache so that we can test everything locally without risking real cryptocurrency. Patterns of function calls captured through Solidity events are used to understand data-flow patterns, code usage patterns and attack patterns. The experimental results show that the modular design using inheritance patterns is successful in providing separation of concerns and maintainability, and in producing a valuable dataset of interactions. This system can be used as a practical platform for learning and further research in smart contract security, and it also shows how object-oriented concepts can be applied in blockchain development.},
        keywords = {Solidity, smart contracts, honeypot systems, blockchain security, Ethereum, inheritance patterns.},
        month = {July},
        }

Cite This Article

Sindhura, N. V. S., & Lenka, V., & Girish, N., & Rohith, M. (2026). Development of Bank-Logger Honeypot System Using Solidity Inheritance Patterns. International Journal of Innovative Research in Technology (IJIRT), 13(2), 624–629.

Related Articles