Bitcoin Forum
May 28, 2024, 07:25:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 »
201  Economy / Exchanges / Re: ***CEX.IO Cloud mining official page*** on: October 27, 2013, 05:05:34 PM
Hello everyone!

I am currently working on a UI for CEX.IO.

I am having a little trouble with the trading part tho.

Would anyone be willing to help me with that part?

All I need is a single PHP script that I can set type, amount, and price and send it over the API.

I tried and tried but I just don't understand what I am doing wrong.

Something like this would be perfect:

Code:
<?php
function cex_query($method, array $req = array()) {
        
// API settings
        
$key ''// your API-key
        
$secret ''// your Secret-key
 
        
$req['method'] = $method;
        
$mt explode(' 'microtime());
        
$req['nonce'] = $mt[1];
       
        
// generate the POST data string
        
$post_data http_build_query($req'''&');
 
        
$sign hash_hmac('sha512'$post_data$secret);
 
        
// generate the extra headers
        
$headers = array(
                        
'Sign: '.$sign,
                        
'Key: '.$key,
        );
 
        
// our curl handle (initialize if required)
        
static $ch null;
        if (
is_null($ch)) {
                
$ch curl_init();
                
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
                
curl_setopt($chCURLOPT_USERAGENT'Mozilla/4.0 (compatible; BTCE PHP client; '.php_uname('s').'; PHP/'.phpversion().')');
        }
        
curl_setopt($chCURLOPT_URL'https://cex.io/api/place_order/GHS/BTC');
        
curl_setopt($chCURLOPT_POSTFIELDS$post_data);
        
curl_setopt($chCURLOPT_HTTPHEADER$headers);
        
curl_setopt($chCURLOPT_SSL_VERIFYPEERFALSE);
 
        
// run the query
        
$res curl_exec($ch);
        if (
$res === false) throw new Exception('Could not get reply: '.curl_error($ch));
        
$dec json_decode($restrue);
        if (!
$dec) throw new Exception('Invalid data received, please make sure connection is working and requested API exists');
        return 
$dec;
}
 

$result cex_query('Trade', array('type' => 'buy''amount' => 1'price' => 10));
 
var_dump($result);

?>

Just after a quick glance, I would say, you're not setting the headers correctly, probably should define a content type, maybe a few other things. Granted, I haven't looked much at the API and I am half-awake atm.
202  Bitcoin / Mining support / Re: My USB erupter isn't working right. on: October 27, 2013, 02:46:17 AM
Check your safe range for power on the usb hub... http://usbminer.tk1337.com/

Should help some people out, it allows for a 0.5watt overhead for a 'safe range'.
203  Bitcoin / Mining support / Re: Blue Fury Support Thread. on: October 27, 2013, 02:44:18 AM
If you're using a RaspberryPi w/MinePeon or any USB 2.0 hub and would like to know what's a safe range for your hub, go here: http://usbminer.tk1337.com.
(It assumes 0.5w extra overhead for 'safe' range.)

I've seen too many random issues due to people not understanding what is a safe range for their hub's when using RaspberryPi's, so I decided to throw this together earlier today, thinking about adding a checkbox so you can take off the 'safe range'/0.5w overhead, it's already in the code, just didn't put the checkbox there.
204  Bitcoin / Group buys / Re: [CLOSED] 0.9 OR LESS ~ BPMC "BLUE FURY" 2.7 GH/s USB MINER! SSINC GB#9! on: October 27, 2013, 01:19:33 AM
1) Just announced
2) We are two weeks late. We first planned on shipping mid October
3) Maidak is selling at less then it cost to buy from us. That price is only for his last 20 units.

Beastlymac & ssinc thank you for the compensation.

I figured Maidak was selling his own personal units earlier when he was offering a certain # of units a few days ago for below GB costs, I was going to PM him about this (and possibly buy some) but at the time production wasn't started, so I was still unsure about ordering more.

Hope to be up and running with BlueFury's soon  Grin

205  Bitcoin / Group buys / Re: [CLOSED] 0.9 OR LESS ~ BPMC "BLUE FURY" 2.7 GH/s USB MINER! SSINC GB#9! on: October 26, 2013, 10:35:23 PM
Well, ssinc did say compensation was stated for tomorrow (today); It is quite possible since he, nor Beastlymac, nor anyone (on compensation from what I can tell) has posted yet regarding what said compensation is, we still have about 5.5 hours (EST) (8.5 hrs PST) left in the day before jumping the gun, it would be nice to give them time to announce compensation.

Not everyone lives on the computer, some people do tend to have lives outside the digital realm.
206  Bitcoin / Bitcoin Discussion / Re: I talked to some people at college about bitcoin and they laughed at me. on: October 26, 2013, 03:14:44 PM
ignorance is bliss...
207  Bitcoin / Mining software (miners) / Re: Linux mining distro for the Raspberry PI - MinePeon on: October 26, 2013, 03:09:59 PM

The version of BFGMiner in 2.4.0 PR1 (or PR2) does come compiled with libmicrohttpd, you will just need to add the http-port option to the minepeon.conf.

Well that makes it easy, Thanks for the info. I sold my hubs and usb asic's and am replacing them with a couple blades and a drillbit 8 board when they start shipping.

I can't wait for the drillbit boards to start shipping Wink

Hopefully I'll see my bluefury miners next week as well...
208  Economy / Exchanges / Re: ***CEX.IO Cloud mining official page*** on: October 26, 2013, 11:33:27 AM
I've noticed over the past couple days even, that you all have been working on the site. I must say, so far it's looking great...

I'm curious to know more about use of 'Shareholders' from within GHash.IO, as of right now (and judging by some of the comments in the support forums) no one quiet knows how to use the feature (or if it's even a usable feature at this point and time). I ask this as I'm trying to look for an easy solution to hosting equipment (semi-privately) and have the earnings split between "shareholders". Which from what I could gather is essentially what this feature should do? (please correct me if I'm wrong here...).


I almost feel like creating an iOS app for this API... almost... lol  Grin
209  Bitcoin / Hardware / Re: Blue Fury Miners V2 2.6Gh/s on: October 26, 2013, 09:36:55 AM
I am pretty confident that Beastly and the boys running the BlueFury's will get the units shipped as fast as humanly possible to the resellers... here is hoping people will have a little more patience while this gets sorted having worked with them before their first concern is making sure they do whatever is required to get them out to you all and if they have said compensation is coming trust me they will get that to you as soon as the shipping is complete. You are dealing with straightforward and honest people and they will rectify this.

Agree

+1, Agree'd
210  Economy / Computer hardware / FS: RaspberryPi RGB Positive LCD & rPi Cases on: October 26, 2013, 07:11:16 AM
I have some left over screens, everything is soldered & ready for you to plug on to your RaspberryPi.

RGB Negative LCD Video
RGB Positive LCD Video

Retail on each screen is $25 (as a kit, not soldered)...
Would like to get them off my work-bench, so BTC0.1250 including shipping within the US

I also have a lot of random spare RaspberryPi Cases (lol):
6x 4x RaspberryPi Cases, each one @ BTC0.0503 including shipping within the US

(the 3x custom 3D-printed cases cost me $60 alone) - All the cases you can fit an LCD on to, the 3D cases were made for the LCD, the other 3 have GPIO access which you can attach the LCD on the outside of the case through the GPIO access.

2x One From ModMyPi.com - Bought them before RaspberryPi's even got released, fits both versions, my order actually got lost in the mail (shipped from UK) then ended up finding me almost a year later.

1x Adafruit Cyrstal Blue Case

3x Custom 3D Printed Cases - I had these prototyped locally, each one is a little different case #4 (black) hasn't been modified, case #5 (black) was modified with a SD card cut out, rear holes drilled for extra venting, and power adapter hole made so you didn't need to unplug the rPi to put in or out of the case. Case #6 (blue) was shaved down on the back side to make it flush.



PM or Post if interested.
211  Bitcoin / Group buys / Re: [CLOSED] 0.9 OR LESS ~ BPMC "BLUE FURY" 2.7 GH/s USB MINER! SSINC GB#9! on: October 26, 2013, 03:05:40 AM
I Think we need either a response about what te compensation will be or a refund....

Compensation is being offered tomorrow!

BTW I have shipment confirmation for a partial order (FIFO) and a guarantee that the rest will all be shipped Next WEEK!  Cheesy

Sorry for the delays everyone but you will be shipped product next week.

Have a good weekend everyone Smiley

212  Bitcoin / Mining software (miners) / Re: Linux mining distro for the Raspberry PI - MinePeon on: October 26, 2013, 01:47:16 AM
@tk1377 you mentioned a while back you were getting a some asic blade's. You get them up and running yet with minepeon?

yes, without any issues using BFGMiner as a proxy.

Any specific issues that you're running into?

No just wondering how to set it up on mine peon. I have a blade on the way to me in the mail. I have been reading and it seems the way to run these is through a stratum proxy. Is the version of bfgminer used in the latests beta complied with the needed micro http support? Do I just need to edit the miner start up command to turn it on?

The version of BFGMiner in 2.4.0 PR1 (or PR2) does come compiled with libmicrohttpd, you will just need to add the http-port option to the minepeon.conf.
213  Bitcoin / Mining software (miners) / Re: Linux mining distro for the Raspberry PI - MinePeon on: October 25, 2013, 04:37:08 AM
@tk1377 you mentioned a while back you were getting a some asic blade's. You get them up and running yet with minepeon?

yes, without any issues using BFGMiner as a proxy.

Any specific issues that you're running into?
214  Bitcoin / Mining software (miners) / Re: Linux mining distro for the Raspberry PI - MinePeon on: October 24, 2013, 02:05:12 AM
This might be too far fetched, but,

I have a cgminer instance on my network with the api enabled. I want to be able to pull stats into minepeon, just as the local cgminer does.

Can this be done? Getting the LCD to work was easy since I just had to specify the api IP on the network.

Yes it can be done, I was doing it for awhile, just takes some modifying of the Python script.
215  Economy / Auctions / Re: 3 BFL Little Singles 30 GH/s in hand on: October 23, 2013, 08:24:30 PM
Might be interested in the one w/o a power supply... what are you trying to get for it?
216  Bitcoin / Group buys / Re: DRILLBIT SYSTEM Miners - 2.7 GH/s thumbs 0.65 BTC, 21.7 GH/s boards 2 BTC on: October 23, 2013, 07:42:17 PM
@Barntech sent you a PM, have a few questions before I order, if you could get back to me soon it would be much appreciated so I can place the order Cheesy thanks.
217  Bitcoin / Wallet software / Re: MacWallet - another bitcoin wallet app on: October 23, 2013, 12:20:45 PM
It looks pretty slick, however I wish the import wallet feature was working.

Good job though thus far.
218  Bitcoin / Group buys / Re: [OPEN] Group Buy #19 USB Miners 0.035 BTC or less! Shipping to USA addresses on: October 23, 2013, 04:24:04 AM
damn... I guess I should have waited a day before buying that last set from ya Cry I figured they'd still go down, but not a cut-in-half, damn it
It's not that bad if you converted your USD-to-BTC to get these USBs. You only lost 20-30 % as compared to what you think! Maybe ?

My order is in! Thanks SSB!

I haven't converted USD to BTC in awhile.
219  Bitcoin / Group buys / Re: [OPEN] Group Buy #19 USB Miners 0.035 BTC or less! Shipping to USA addresses on: October 23, 2013, 02:24:42 AM
damn... I guess I should have waited a day before buying that last set from ya Cry I figured they'd still go down, but not a cut-in-half, damn it
220  Bitcoin / Mining software (miners) / Re: Linux mining distro for the Raspberry PI - MinePeon on: October 22, 2013, 06:42:10 PM


How about 64 USB Erupters + a BFL Jalapeno??



Added the jalapeno a couple days ago, but 64 are a star configuration to a single rhb-500 root hub, that root hub feeds the rPi (the white cable goes to the BFL Jalapeno).
     ------------------------------------------------------------

Great setup!  Grin

Can I ask what is powering the fans?

Peace.

the fans are being powered by a 12v (if memory serves me right it's a 12v 1a, but possibly a 12v 2a) power adapter I converted long ago for another project to a 4-pin molex with a voltage regulator to step down the 12v to a 5v on the 5v output (so it acts as a typical 4-pin molex, 12v (yellow) - ground (black) - ground (black) - 5v (red) ) - which I have going into a 4-pin to 6x 3pin fan split, it seemed to run all the fans at full speed without any problems (versus using a PSU which did the same thing).
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!