Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/masaun/streamed-atomic-swaps
- Owner: masaun
- Created: 2020-01-09T03:04:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T21:02:26.000Z (almost 3 years ago)
- Last Synced: 2024-10-08T03:21:32.727Z (about 1 month ago)
- Topics: react, sablier-protocol, solidity, truffle, web3js
- Language: JavaScript
- Homepage:
- Size: 637 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
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