Skip to content

This is dApp for "Streamed Atomic Swaps" by using sablier protocol.

Notifications You must be signed in to change notification settings

masaun/streamed-atomic-swaps

Repository files navigation

Streamed Atomic Swaps


【Introduction of Streamed Atomic Swaps】

  • This is the "Streamed Atomic Swaps".
  • This is dApp for "Streamed Atomic Swaps" by using sablier protocol.
  • I implement "Streamed Atomic Swaps" in ./contracts/StreamedSwap.sol especially.
    • Currently, I implement swap between DAI and BAT on ropsten. (Both of value are static. So, I will replace value from static to dynamic in the future)

 


【Setup】

Setup wallet by using Metamask

  1. Add MetaMask to browser (Chrome or FireFox or Opera or Brave)
    https://metamask.io/

  2. Adjust appropriate newwork below

Ropsten Test Network

 

Setup backend

  1. Deploy contracts to Kovan Test Network
(root directory)

$ npm run migrate:ropsten

 

Setup frontend

  1. Execute command below in root directory.

$ npm run client
  1. Access to browser by using link
http://127.0.0.1:3000

 


【Work flow】

 


【References】

About

This is dApp for "Streamed Atomic Swaps" by using sablier protocol.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published