Everything you need to know about Flashy Chat V1, its features, and how it works.
Find answers to common questions about Flashy Chat V1's functionality, security, and usage. If you can't find what you're looking for, feel free to ask in our community chat.
Flashy Chat V1 is a decentralized messaging platform built on Ethereum and Base networks that combines flash loan functionality with a social chat system. Users can send messages to the blockchain while leveraging flash loan capabilities, creating a unique DeFi-social hybrid experience.
The messaging system allows users to send messages to the blockchain by paying a message fee (currently 0.02 ETH). Each message is stored as a blockchain transaction and can be viewed by anyone. The contract owner can send messages without paying fees.
Flash loans are uncollateralized loans that must be borrowed and repaid within the same transaction. Flashy Chat V1 integrates flash loans through the Morpho protocol, allowing users to execute flash loans for multiple supported tokens sequentially while participating in chat activities.
The current message fee is 0.02 ETH per message, but this fee can be changed by the contract owner at any time using the setMessageFee() function. When the fee changes, a FeeUpdated event is emitted to notify users of the new rate. The fee is automatically transferred to the contract owner when a message is sent. The contract owner is exempt from paying message fees. Users who send excess ETH will automatically receive refunds for the overpaid amount.
Flashy Chat V1 is deployed on two main networks: Ethereum Mainnet and Base Network. Both networks support the same contract address (0x534A94e63a9Ce3b6b040f283d6B299d4066ad9fB) and offer identical functionality.
The contract supports multiple tokens across both networks. On Ethereum Mainnet, it supports 19 tokens including cbBTC, wstETH, wBTC, USDbC, USDC, and various stablecoins. On Base Network, it supports 8 tokens including cbBTC, USDbC, and WETH. The contract owner can add or remove tokens as needed.
The frontend uses smart contract event listeners to detect new MessageSent events in real-time. When a new message is submitted to the blockchain, it automatically appears in the chat interface without requiring a page refresh, providing a seamless messaging experience.
Each message displays a USD value representing the total transaction volume associated with that message. This is calculated by scraping blockchain explorer data (Etherscan/Basescan) to determine the USD value of the ETH transaction fees and any associated token transfers.
The interface automatically detects your current network and suggests switching if needed. You can manually switch between Ethereum Mainnet and Base Network using wallet controls. The chat interface adapts to show relevant data based on the currently active network.
The contract owner has several administrative privileges: (1) Send messages without paying fees, (2) Update message fees via setMessageFee(), (3) Manage supported tokens via addToken()/removeToken(), (4) Set promotional website via setWebsite(), (5) Withdraw contract funds via withdrawEther()/withdrawToken().
The contract implements multiple security measures including reentrancy protection using OpenZeppelin's ReentrancyGuard, access control for owner-only functions, SafeERC20 for secure token transfers, and authorization checks to ensure only authorized protocols can execute flash loans.
The contract includes an automatic refund system. If you send more ETH than required for the message fee, the excess amount is automatically returned to your wallet in the same transaction. This ensures you only pay the exact fee amount.
Yes! Every message is a blockchain transaction with a unique transaction hash. The interface provides direct links to view each message on Etherscan (for Ethereum) or Basescan (for Base), allowing you to verify the transaction details and confirm message authenticity.
The contract emits several important events: MessageSent(address sender, string message) when messages are sent, PresentBy(string message) for website promotion, FeeUpdated(uint256 oldFee, uint256 newFee) when fees change, WebsiteUpdated(string oldWebsite, string newWebsite) for website updates, and TokenAdded/TokenRemoved for token management.
The contract processes flash loans sequentially for all supported tokens. It uses the Morpho protocol's flash loan functionality, executing each loan one after another while ensuring proper repayment and fee handling for each token type in the sequence.
Flashy Chat V1 works with any modern web browser and supports Web3-compatible wallets including MetaMask, WalletConnect, Coinbase Wallet, and others. The interface automatically detects your wallet connection and network status.
Yes, the interface is fully responsive and optimized for mobile devices. It includes mobile-specific navigation, touch-friendly controls, and adaptive layouts that work seamlessly on smartphones and tablets.
The contract is deployed at address 0x534A94e63a9Ce3b6b040f283d6B299d4066ad9fB on both Ethereum Mainnet and Base Network. You can verify the contract code on block explorers to ensure it matches the open-source implementation available in the project repository.
The contract includes a promotional feature that triggers a PresentBy event to display a website URL. This allows the contract owner to promote websites or services through the chat interface, creating additional utility for marketing and promotional purposes.
USD values are calculated by scraping blockchain explorer data to determine the ETH price at the time of transaction. The system uses anti-bot measures including user-agent rotation and retry logic to ensure reliable data fetching from Etherscan and Basescan APIs.
Yes! The contract is open-source and can be deployed to other networks. However, you should thoroughly test the contract, understand the security implications, and consider auditing the code before deploying to production environments with real funds.