Skip to content

Embeddable 1inch widget that enables token swaps on any website.

Notifications You must be signed in to change notification settings

kelonye/1inch-swap.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  • Node.JS 12+
  • Git

Getting started

  • Clone project.
  • cd into example, iframe and js in seperate tabs.
  • In each of them:
    • Copy .env.sample to .env, filling out INFURA_ID with your own. The id is an Infura app project id which you can get one for free by signing up here.
    • Ran yarn
    • Ran make or yarn start
  • Visit the example page at http://localhost:3500

Demo

https://1inch-swap.surge.sh

Video demo

https://photos.app.goo.gl/2KCQYa2x3i7SiNT67

How it works

Todo.

Deploying to production

Todo.

Project is a submission to the 1inch widget hackathon bounty.

About

Embeddable 1inch widget that enables token swaps on any website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published