Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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