Giter Club home page Giter Club logo

1inch-widget's Introduction

Bruce Logo

The DEX Swap Widget that
Packs a Punch πŸ‘Š

https://brucecrypto.vercel.app/

πŸ₯‹ Inspiration

1inch.exchange was born from the philosophy of Bruce Lee’s world renowned one inch punch, a Martial Arts pinnacle of speed, vigor and efficiency. The Bruce swap widget aims to embody this same idea: a simple interface with powerful results. Shapeshift attempted this years ago, but was ultimately strangled by the bureaucracy that centralized systems invariably beckon. 1inch poises an opportunity to decentralize and simplify any-to-any token transactions. The purpose of this project is to capture that opportunity in an easy-to-use interface that anyone can share on their website.

πŸŠβ€β™€οΈ Product Deepdive

Video Demo

Features:

  • Over 2300 Tokens
  • Automatic fiat conversions via stablecoin quotes
  • Static Output Token
    • Allows Token organizations to designate a single token for the widget to output
  • Trade pair inversion (ETH-DAI to DAI-ETH in one click)
  • Auto-generated token logos for non-standard tokens
  • Illustrative UX animations
  • Ready-on-load thanks to preloaded SSR data

⏰ Upcoming:

  • CHI gas token support

Tech

🦺 Type Safe API's

  • 1inch Swagger V2:
    • Typescript libraries generated via OpenAPI Tools
  • 1inch Subgraph GraphQL:
    • Typescript interfaces generated via GraphQL Codegen
  • Contracts: OneSplit & ERC20:
    • Typescript interfaces generated from ABI's using TypeChain

πŸ₯ž Stack

  • Typescript
  • React
  • Next.js - Static generated with tokens & leading token logos pre-loaded for instant embedded rendering
  • Web3React - Enabling wallet interconnectivity
  • Ethers - Ethereum network interaction

πŸš€ Usage & Deployment

Requirements

  • Metamask (or other web3-compatible browser extension)
  • Node.js >=v10.1.0
  • NPM or Yarn
  • Git

⬇️ Clone the repository

git clone https://github.com/mccallofthewild/1inch-widget.git

⬇️ Install the node_modules

yarn

or

npm i

πŸ’° Start Server

yarn dev

🏨 Host

Deploy to Vercel, or your static host of choice.

1inch-widget's People

Contributors

mccallofthewild 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.