I started working on a small script to generate "rain" bets using Electrum's "Create Transaction from CSV Text" feature. It's a working prototype, the code isn't great, but it's a solid concept to start with.
You can find the CSV Generator here:
http://jsfiddle.net/jadra/brt5kjdL/6/embedded/result/(JSFiddle.net is a free CSS/HTML/JS code sharing tool - this entire tool is just a web page and doesn't interact with anything except your browser)
It works with Electrum wallets right now, you can click "Create Transaction", then "From CSV Text" and paste the CSV it generates into the box to generate a bet of your choice.
Right now it has the following features:
- Lets you pick one or more color to bet on. It randomly picks from what you pick for each bet it generates.
- Lets you choose how many bets the rain will be.
- Gives you the choice of different bet types, the two so far are:
- All Bets of Equal Value - Every bet it generates is the same value (+0.00000001 to each bet, to try and maintain the sequence of the bets)
- Bets between X/Y - Lets you pick a minimum and maximum value, all bets will fall between these two value ranges at random.
- Randomize Button to re-randomize the CSV to randomly create a new sequence.
Please note, this script is about 2 hours old and may contain bugs. Please
REVIEW THE CSV BEFORE YOU BET to ensure that there are no bets you do not wish to place. I take no responsibility for any errors you may encounter, but I will do my best to fix them! The CSV itself is formatted as such:
DESTINATIONADDRESS, BETAMOUNT (one bet per line)
DESTINATIONADDRESS, BETAMOUNT (one bet per line)
DESTINATIONADDRESS, BETAMOUNT (one bet per line)
DESTINATIONADDRESS, BETAMOUNT (one bet per line)
The code is also available on jsfiddle here:
http://jsfiddle.net/jadra/brt5kjdL/6/Happy 1-year Luckyb.it! You're a great site with a great community and one of the best social gaming platforms I've seen.