Skip to content

oraclesep/cryptoswapping-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Crypto Swapping Widget

This is a simple HTML and JavaScript widget for swapping cryptocurrencies using the Uniswap API.

Features

  • Swaps cryptocurrencies using the Uniswap API
  • Error handling
  • Loading indicator
  • Success message after a successful swap

Usage

  1. Clone the repository:

    git clone https://github.com/oraclesep/cryptoswapping-widget.git
  2. Open index.html in your browser.

  3. Choose the cryptocurrencies you want to swap, enter the amount, and click "Swap".

How It Works

The widget fetches the swapping details from the Uniswap API. Once the user selects the cryptocurrencies and enters the amount, it queries the API and displays the result.

Demo

A live demo can be found .....

Dependencies

  • None

License

This project is licensed under the MIT License.

About

Simple swap widget for common cryptocurrencies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages