Flexir is a revolutionary platform tackling crypto liquidity challenges by enabling seamless trading of points, NFTs, and pre-market assets before the Token Generation Event (TGE). Using smart contracts, Flexir ensures real-time ownership transfer, offering users unparalleled liquidity and flexibility. With a user-centric approach, competitive transaction fees.
Join us in transforming the future of crypto markets.
Flexir was built using a combination of cutting-edge technologies to deliver a seamless, secure, and scalable platform for pre-TGE asset trading. Here are the key details of how the project was developed:
- Frontend Development
Technology Stack: Next.js, TypeScript, React, and Tailwind CSS.
Features:
User-friendly interface optimized for crypto traders with minimal friction.
Wallet connection through MetaMask integration for seamless login and asset management.
Real-time data updates using WebSocket for live trading and pricing information.
- Backend Development
Technology Stack: Node.js with Express and TypeScript.
Architecture: REST APIs for handling transactions, user data, and integration with blockchain nodes.
Database: MySQL for user profiles, transaction logs, and metadata storage. The schema was designed with efficiency and scalability in mind, especially for high-frequency trading scenarios.
- Blockchain Integration
Smart Contracts: Written in Solidity and deployed on EVM-compatible blockchains.
Smart contracts enable secure ownership transfers of assets in real-time, ensuring trustless transactions.
Key Contracts:
PointMarket: Facilitates the listing and trading of pre-TGE points.
USDT: Allows stablecoin transactions for ease of entry into the market.
ORB Token: Native token for incentivizing platform activity.
Deployed Network: Linea (EVM-compatible blockchain).
The Linea network provides fast transactions and low gas fees, which are critical for frequent trading activity.
- Partner Technologies
Etherscan: For verifying and showcasing deployed smart contracts.
MetaMask: For wallet integration, allowing easy access to the platform.
Web3.js: Facilitates communication between the DApp and the blockchain.
- Notable Hacks and Challenges
Dynamic Smart Contract Updates: We implemented a mechanism to automatically update wallet addresses during resale transactions, ensuring seamless transfer of ownership. This required a unique event-driven architecture combining smart contracts and backend services.
Gas Fee Optimization: Early versions had higher-than-expected gas fees. By streamlining smart contract functions and reducing redundant calls, we significantly lowered transaction costs.
NFT and Point Market Integration: Merging NFT and point markets required a flexible architecture to handle multiple asset types while maintaining efficiency.
- Development Tools and Practices
Development Environment: A local setup using Hardhat for smart contract testing and MySQL for database simulation.
Version Control: GitHub for source control and CI/CD pipelines for automated deployment to Linea.
Monitoring: Custom dashboards for tracking transaction volumes and identifying performance bottlenecks in real time.
This tech stack and approach allowed us to create a robust, user-friendly platform tailored for pre-TGE trading, with scalability and flexibility to expand into other markets in the future.