Flash

My DApp combines flash loans, arbitrage, and vesting distribution. It boosts TVL and transaction volumes by offering best prices via Coingecko API, charges 10% fees, rewards loyalty points, and distributes vesting pool profits.

ETHGlobal BrusselsShipped July 12, 2024
Repo
Flash banner

About

My DApp seamlessly integrates flash loans, arbitrage, and vesting distribution into a user-friendly platform aimed at increasing Total Value Locked (TVL) and transaction volumes. Utilizing the Coingecko API, it displays the best asset prices and filters options based on user-selected tokens for flash loans. Once a token is chosen and the flash loan initiated, expected earnings are calculated and displayed. A 10% fee on earnings is applied, with 5% going to the platform and 5% to a vesting pool. Users earn loyalty points through their trading activities, and once the vesting pool reaches a certain threshold, a vesting contract is triggered, distributing pool profits based on accumulated points. This streamlined approach simplifies user experience while offering fair rewards and enhancing trading efficiency.

How it's made

For the frontend, I utilized the Vite framework. Vite was chosen primarily for its rapid development capabilities, ease of deployment, and seamless wallet integration, which is crucial for handling cryptocurrency transactions and user authentication. Additionally, Vite’s robust support for modern JavaScript and CSS allowed for smooth and visually appealing animations, enhancing the user experience.

The backend of the project is powered by AWS, leveraging its robust infrastructure for hosting and endpoint management. AWS services such as Lambda and API Gateway were instrumental in setting up scalable and reliable endpoints. To support the arbitrage functionality, I implemented web scraping to fetch the latest cryptocurrency prices. This data is essential for identifying profitable arbitrage opportunities and is processed in real-time to ensure accuracy and timeliness.

For the smart contract development and deployment, I used Hardhat. Hardhat provided a comprehensive suite of tools for writing, testing, and deploying smart contracts. These contracts are the backbone of the project's core functionalities, facilitating flash loans and token swaps using oracles for price feeds. The use of oracles ensures that the price data used in transactions is reliable and up-to-date, which is critical for executing profitable trades.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

op-flash

DeFi Flash Loan Aggregator: Maximize capital efficiency by sourcing uncollateralized loans from multiple protocols. Optimize for best rates and largest sizes, enabling complex DeFi strategies without capital lockup.

Flash

Built a decentralized flash loan arbitrage bot using modified warden-agent-kit. Monitors and executes cross-chain arbitrage opportunities between Optimism and Sepolia, maximizing DeFi profits through automated trading