Bitcoin Forum
May 13, 2024, 03:05:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Announcements (Altcoins) / [RELEASE] Middlecoin Balance Scraper for Windows (in PowerShell) on: January 17, 2014, 03:36:34 PM
Hi all,

Due to PowerShell being the scripting language I'm most familiar with (I'm a Windows guy, please don't shoot me!), I decided to write a PowerShell script that would parse your Middlecoin data and output your stats in a couple of ways:


All these can be turned on/off by specifying a 0 or 1 (1 = on).

It generates an output like so:

Code:
Middlecoin Info for: 112ChqhtNhSSYi3hBeNBW1bMkFD265Utcm
Accepted MH/s Last Hour: 2.7403
Immature Unexchanged Balance: 0.00387548
Unexchanged Balance: 0.01216673
Confirmed Balance: 0.01479748
Estimated Current Balance (to be paid): 0.03083969 ($24.36)
Total Paid Out: 0.06202011 ($49)

The default option is for the script to open the text file summary with your default text editor. If you have a usable SMTP server this is the file that will be emailed to you.

The NotifyMyAndroid notification looks like this:



Getting Started:

  • 1) If you've never run PowerShell on your computer before, you'll need to set the Execution Policy. Right click the shortcut to PowerShell and choose "Run as Administrator". Type Set-ExecutionPolicy -Unrestricted and confirm with a Y. This will allow scripts to run.
  • 2) Save the script somewhere on your computer, open it up and paste your bitcoin address into the line:
    Quote
    $bitcoinAddresses = ""
    Save the Script.
  • 3) Right click the script and choose "Run with PowerShell".

... and that should be it! You can run this on demand, or if you wish you can set the script to run as frequently as you want as a Scheduled Task.

NotifyMyAndroid configuration:


Scheduled Task Configuration:

  • Create a basic scheduled task.
  • For program specify powershell.exe
  • For arguments specify "& 'c:\path\to\Middlecoin-Balance-Scraper'"

A free account allows 5 notifications per day, whereas a premium account has a much higher limit and costs $4.99.

Whilst I'd have liked to have coded this for PS v3 and above (which has advantages for this kind of thing, especially if h20 provides more information in the .json output file he currently provides) I made sure that it was compatible with PowerShell v2 which many of you may still be running on your Windows systems. If you'd like to upgrade PowerShell and need advice please send me a PM although it's not necessary for this script to function.

I hope this helps people and I haven't missed any key information out. I'm more than happy to discuss adding additional features Smiley

Download:
http://theboywonder.co.uk/Middlecoin-Balance-Scraper.ps1

If you'd like to say thank you, you have my complete gratitude. My address is: 1Ji1qND7RCf6HvQ21dazNZuWwoe5zkmnmf
or:
2  Other / MultiBit / Multibit... merged a transaction?! on: January 15, 2014, 10:39:02 AM
Hi,

I am mining at Middlecoin using two different receive addresses (4 rigs mining with one address, 2 rigs mining with another address).

1) 1728wMw4c3me9SHdaWMRA3Ue1JRAgHw6nm (label = middlecoin-me)
2) 112ChqhtNhSSYi3hBeNBW1bMkFD265Utcm (label = middlecoin-shared)

As you can see, Middlecoin paid out to these addresses early this morning:

1) http://www.middlecoin.com/reports/1728wMw4c3me9SHdaWMRA3Ue1JRAgHw6nm.html (0.04126948 BTC)
2) http://www.middlecoin.com/reports/112ChqhtNhSSYi3hBeNBW1bMkFD265Utcm.html (0.02319525 BTC)

I would expect to see two transactions in my wallet. Instead I see one, for 0.06446473 to "middlecoin-me" which is the total of these two above. I can't understand how this could happen?

Both transactions are listed here: http://blockchain.info/tx/9856b050c2c96b1c57e3fe64b6406d810735860d2bfd5f1e5ce0d82901e1ad3d
as
1) http://blockchain.info/address/1728wMw4c3me9SHdaWMRA3Ue1JRAgHw6nm
2) http://blockchain.info/address/112ChqhtNhSSYi3hBeNBW1bMkFD265Utcm

Could someone please help? I wanted these transactions to be split up not merged and I had assumed that having separate addresses for the same sender would work.

Thank you.
3  Other / Beginners & Help / Here to chat about hardware and cooling on: December 03, 2013, 07:28:17 PM
Hi,

Hoping to be able to post in the Hardware > mining forum at some point. I've a dual 7990 system and am having trouble with cooling and stability despite trying many various cgminer settings and having an open case.

It's really frustrating as every day lost counts! Sad
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!