Barnabas Munuhe's Work | ContraWork by Barnabas Munuhe
Barnabas Munuhe

Barnabas Munuhe

Smart Contract Developer | Solidity, Foundry & Web3 Security

New to Contra

Barnabas is building their profile!

Cover image for About My Work: Account Abstraction
About My Work: Account Abstraction & Smart Wallet Infrastructure I specialize in the architecture of Account Abstraction (AA), specifically focusing on the intersection of ERC-4337 standards and zkSync Era’s native AA framework. My work bridges the gap between complex cryptographic security and the seamless user experience required for mass Web3 adoption. In this project, I engineered a production-ready Smart Wallet system using Solidity and the Foundry framework. Rather than a one-size-fits-all solution, I implemented dual-compatibility: a minimal Ethereum-compatible account for standard EVM chains and a zkSync-native implementation. This required a deep dive into the zkSync bootloader execution flow and system contracts, ensuring the wallet could handle native gas sponsorship and prefunding mechanisms efficiently. Key Engineering Highlights: Programmable Security: I implemented secure signature validation logic supporting both EIP-712 and EIP-191, enabling off-chain transaction signing and secure nonce management. Infrastructure Mastery: I architected the flow for EntryPoint-based user operations, allowing for advanced features like gasless transactions and modular execution logic that traditional wallets cannot support. DevOps & Security: Leveraging Foundry, I built a high-coverage testing suite that simulates complex execution environments and ensures the integrity of private key handling within deployment scripts. My philosophy is that a wallet shouldn't just hold assets; it should be an intelligent, programmable agent. By mastering the nuances of system contracts and signature schemes, I build account infrastructure that is as secure as a hardware wallet but as flexible as modern software. The Technical Snapshot Primary Stack: Solidity, Foundry, zkSync Era Core Standards: ERC-4337, EIP-712, ECDSA Domain Expertise: Layer 2 Scaling, Smart Contract Wallets, On-chain Automation
2
20
Cover image for About My Work
I specialize in
About My Work I specialize in engineering high-integrity smart contracts where security and automation are non-negotiable. My recent focus has been on mastering the Chainlink ecosystem to build decentralized systems that are truly autonomous. A prime example of my approach is my Decentralized Raffle Protocol. Rather than just writing a basic lottery, I architected a fully hands-off system using Solidity and Foundry. I integrated Chainlink VRF v2.5 to ensure winner selection is provably fair and tamper-proof, and utilized Chainlink Automation to handle the execution logic. This means the contract operates entirely on its own—opening, selecting winners, and distributing rewards based on a precise on-chain heartbeat without any manual intervention. My development philosophy is rooted in rigorous verification. I don’t just write code; I "break" it first using Foundry’s advanced testing tools. From simulating complex time-based transitions with vm.warp to mocking VRF callbacks for local development, I ensure every state transition—from OPEN to CALCULATING—is bulletproof. By combining the Checks-Effects-Interactions pattern with custom error handling, I deliver protocols that aren't just secure against common attack vectors like reentrancy, but are also optimized for gas efficiency. I build for the long term, ensuring every contract I deploy is resilient, verifiable, and ready for production.
2
30
Cover image for Secure-Crowd_Funding-Protocol
Secure-Crowd_Funding-Protocol
0
0