npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

folks-widget-react

v1.0.0

Published

Folks Finance React Widget for Swapping on Algorand

Downloads

17

Readme

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

| Feature | Description | |-------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Wallet Connectivity | Easily 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 Utilization | Harness the power of Folks Router's APIs for fetching swap quotations and related transactions. | | Themes | Choose between light and dark themes, with easy customization options for you. | | Swap Modes | Dynamic swap modes allow you to execute "fixed input" or "fixed output" swaps based on the last manually entered value. | | API Request Debouncing | Debounce API calls when you manually input values for a smoother experience. | | Automatic Quotation Updates | Stay informed with automatic quotation updates at regular intervals, complete with a countdown or indicator for transparency. | | Asset Selection | Select from a preset list of assets or manually input an asset ID. Display asset information, including name, icon, and wallet amount. | | Simulate Swap | Even 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 Assets | Swap the two selected assets effortlessly with a single click. | | Dollar Prices | View dollar values based on the amounts used, with multi-currency support. | | Swap Routes | Visualize swap routes with an intuitive accordion interface. | | Handle Opt-in | Efficiently handle opt-in transactions if required by your connected wallet. | | Gas Fee Management | We'll warn you if you lack sufficient funds to cover gas fees, preventing failed transactions. | | Compatibility | Our 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!