Giter Site home page Giter Site logo

kamalbuilds / folksrouterwidget Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 5.0 668 KB

Folks swap widget

Home Page: https://www.npmjs.com/package/folks-widget-react

JavaScript 1.18% CSS 1.01% TypeScript 97.81%
algorand-blockchain dex folks-finance defi

folksrouterwidget's Introduction

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.

Link to the slides -> https://docs.google.com/presentation/d/1fFAy0ZcY9Hovi51mFc8BFprUJU6fCgRJPtRhUrY4JKE/edit?usp=sharing

image

Development and Technologies

Monorepo Structure

Organized for flexibility and scalability:

  • /apps/swap-widget-website: Web application deployment.
  • /packages/swap-widget-react: React component for easy integration.
  • /packages/swap-widget-js: Communication library for diverse technology stacks.

This approach ensures a scalable and maintainable solution for our project.

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

We are Folks Finance, 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!

folksrouterwidget's People

Contributors

abhishek-01k avatar kamalbuilds avatar turbobot-temp avatar wagmi7 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.