https://github.com/bunsdev/streamed-atomic-swaps
https://github.com/bunsdev/streamed-atomic-swaps
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bunsdev/streamed-atomic-swaps
- Owner: BunsDev
- Created: 2022-05-08T21:29:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-08T21:30:03.000Z (about 4 years ago)
- Last Synced: 2025-02-01T09:29:26.673Z (over 1 year ago)
- Language: JavaScript
- Size: 397 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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