1.0.0 • Published 6 months ago

folks-widget-react v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Folks Swap Widget

Overview

Welcome to the Folks Swap Widget! I'm thrilled to introduce this powerful and flexible tool, designed for seamless asset swapping on the Algorand blockchain. Our widget is packed with features to enhance your user experience, streamline transactions, and provide a visually appealing interface for both web and mobile applications.

Core Features with their Description

FeatureDescription
Wallet ConnectivityEasily connect your wallet using TxnLab's use-wallet. The widget supports direct wallet integration or, if your protocol has its own infrastructure, facilitates the exchange of unsigned transactions.
API UtilizationHarness the power of Folks Router's APIs for fetching swap quotations and related transactions.
ThemesChoose between light and dark themes, with easy customization options for you.
Swap ModesDynamic swap modes allow you to execute "fixed input" or "fixed output" swaps based on the last manually entered value.
API Request DebouncingDebounce API calls when you manually input values for a smoother experience.
Automatic Quotation UpdatesStay informed with automatic quotation updates at regular intervals, complete with a countdown or indicator for transparency.
Asset SelectionSelect from a preset list of assets or manually input an asset ID. Display asset information, including name, icon, and wallet amount.
Simulate SwapEven without a connected wallet, you can enter arbitrary amounts for simulation, with a clear indication of the reason for any disabled swap button.
Invert Selected AssetsSwap the two selected assets effortlessly with a single click.
Dollar PricesView dollar values based on the amounts used, with multi-currency support.
Swap RoutesVisualize swap routes with an intuitive accordion interface.
Handle Opt-inEfficiently handle opt-in transactions if required by your connected wallet.
Gas Fee ManagementWe'll warn you if you lack sufficient funds to cover gas fees, preventing failed transactions.
CompatibilityOur widget seamlessly integrates with both web and mobile contexts and is not restricted to React applications.

About Folks Finance

Folks Finance is a leading DeFi platform, revolutionizing lending, borrowing, trading, and asset management on the Algorand blockchain. Our user-centric approach combines DeFi innovation with a competitive UI/UX, all powered by permissionless smart contract technology. Join us in shaping the future of decentralized finance!