Papers1 provider · 1 record
April 9, 2026· Cureus Journal of Computer Science.
article
Open access

CryptoSafeSend: A Blockchain-Based Secure Transaction Mediator for Decentralized Finance

Authors:Kamalika BhowalSrijit MondalKousik DasguptaAbir Chattopadhyay

Abstract

In decentralized finance (DeFi), accidental cryptocurrency transfers to incorrect wallet addresses are a large usability and security issue, frequently causing permanent loss of funds. We present CryptoSafeSend, a smart contract-based safety protocol for transactions featuring a cryptographically secure passcode verification scheme supporting conditional transfers. This work addresses higher-level security issues by introducing a PBKDF2-based key derivation function, which generates strong encryption keys based on Firebase's Firebase Unique Identifier. Secret passcodes are encrypted in Advanced Encryption Standard operating in Galois/Counter Mode functions deployed underneath the Web Crypto API, and the initialization vector and ciphertext are Base64 encoded for off-chain reliable storage and Firebase Firestore-based messaging. The protocol prevents unauthorized exploitation by safely binding off-chain passcode transmission to a matching on-chain verification, reinforcing user trust without undermining decentralization. Also, to ensure recoverability, CryptoSafeSend integrates a 7-day on-chain escrow lock, after which unclaimed funds become permissionlessly refundable to the sender, preserving decentralization while eliminating reliance on trusted intermediaries. Testing on an Ethereum testnet confirms negligible gas overhead, immunity against double claims, and strong security guarantees, qualifying CryptoSafeSend as a valuable constituent in next-generation secure digital asset protocols.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.