https://github.com/bitcoin-com/lefay.cash
Double spend game for Satoshi's Vision 2018 Milan
https://github.com/bitcoin-com/lefay.cash
Last synced: about 2 months ago
JSON representation
Double spend game for Satoshi's Vision 2018 Milan
- Host: GitHub
- URL: https://github.com/bitcoin-com/lefay.cash
- Owner: Bitcoin-com
- License: mit
- Created: 2018-10-18T21:15:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T21:42:48.000Z (over 7 years ago)
- Last Synced: 2025-03-21T09:48:10.342Z (about 1 year ago)
- Language: JavaScript
- Size: 4.38 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## lefay.cash
Double spend game for Satoshi's Vision 2018 Milan.
[Live example](https://www.lefay.cash/)

## Setup
1. Clone the repo
- `git clone https://github.com/Bitcoin-com/lefay.cash.git`
2. Install the dependencies
- `cd lefay.cash && npm install`
3. Plug in your mnemonic to `app.js` on line #13 and fund the first BIP44 account's external change address.
- ex: `m/44'/145'/0'/0/0`
4. Start the app
- `npm start`
5. Load the app in your browser
- `http://localhost:3000/`
6. Send funds to the app's address. Whatever you send will be immediately resent to your original sending address. If you can double spend your tx you get to keep the BCH! You can use `setup.js` as a helper script to send to the double spend address from a single output.