Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knarz/tbtc-redeemer
quickly redeem a whole lot of tBTC
https://github.com/knarz/tbtc-redeemer
Last synced: 18 days ago
JSON representation
quickly redeem a whole lot of tBTC
- Host: GitHub
- URL: https://github.com/knarz/tbtc-redeemer
- Owner: knarz
- Created: 2020-08-19T20:36:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T01:26:48.000Z (about 4 years ago)
- Last Synced: 2023-03-27T13:52:00.549Z (almost 2 years ago)
- Language: JavaScript
- Size: 90.8 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tBTC redeemer
This is a simple set of scripts to redeem tBTC automatically.
There are two parts:
1. `index.js` interacts with the vending machine to burn tBTC
2. `listener.js` waits for the redemption requests and subsequent signatures,
which are then broadcasted to the bitcoin testnet.Start the listener first and then fire up the redeemer.
Redeemer:
```Bash
$ INFURA_API=APIKEYGOESHERE node --experimental-json-modules index.js WALLETPASSWORD
```Listener:
```Bash
$ INFURA_API=APIKEYGOESHERE node --experimental-json-modules listener.js REDEEMERADDR
```