Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/masaun/streamed-atomic-swaps

This is dApp for "Streamed Atomic Swaps" by using sablier protocol.
https://github.com/masaun/streamed-atomic-swaps

react sablier-protocol solidity truffle web3js

Last synced: 30 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
```

2. Access to browser by using link
```
http://127.0.0.1:3000
```

 

***

## 【Work flow】

 

***

## 【References】
- Gitcoin / Take Back the Web
https://gitcoin.co/issue/sablierhq/sablier/29/3870

- Document of sablier protocol
- https://docs.sablier.finance/streams
- https://faq.sablier.finance/

- Github of sablier protocol
- https://github.com/sablierhq/sablier

- Discord of sablier protocol
https://discordapp.com/channels/659709894315868191/659713154288451623