Search content
Sort by

Showing 20 of 99 results by MA5H3D
Post
Topic
Board Service Discussion
Re: Can I call the blockchain.info API with just javascript or jQuery?
by
MA5H3D
on 30/05/2014, 16:25:24 UTC
@coretechs
I've tried a lot of variations and nothing seems to work. I still get this in the console:

Quote
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://blockchain.info/unspent?active=1CjPR7Z5ZSyWk6WtXvSFgkptmpoi4UM9BC&cors=true. This can be fixed by moving the resource to the same domain or enabling CORS.
Post
Topic
Board Service Discussion
Topic OP
Can I call the blockchain.info API with just javascript or jQuery?
by
MA5H3D
on 30/05/2014, 14:22:00 UTC
Can I call the blockchain.info API with just javascript or jQuery?

I'm trying to load http://blockchain.info/unspent?active=$address. From what i've read it should be possible somehow with cors, but i've been checking urls with this cors test: http://client.cors-api.appspot.com/client, and with or without the "?cors=true" i'm not having much luck.

Has anyone got this to work?
Post
Topic
Board Service Discussion
Re: Disclose the identity owners of exchanges BTC-e.com
by
MA5H3D
on 24/01/2014, 14:36:25 UTC
Why?
Post
Topic
Board Bitcoin Discussion
Re: When SHA-256 is compromised
by
MA5H3D
on 22/12/2013, 01:26:38 UTC
Compromised how?
Post
Topic
Board Development & Technical Discussion
Re: How to generate qr codes for address and private keys?
by
MA5H3D
on 16/12/2013, 21:55:34 UTC
brainwallet.org will do that among other things.
Post
Topic
Board Service Discussion
Re: Mtgox rate in my webpage?
by
MA5H3D
on 04/12/2013, 11:07:00 UTC
There's probably a better way to do it, but you can do it like this:

Two pages, you can change the refresh interval in index.php

Page 1 = index.php -



      Bitcoin Price
      
      
      
      

      
      
      



Wait 10 Seconds..






Page 2 = gox.php -

header('Cache-Control: no-cache, no-store, must-revalidate'); // HTTP 1.1.
header('Pragma: no-cache'); // HTTP 1.0.
header('Expires: 0'); // Proxies.

$data = file_get_contents("https://data.mtgox.com/api/2/BTCUSD/money/ticker_fast");
$data = json_decode($data, true);
$spot_last = $data['data']['last']['value'];
print_r($spot_last);
?>

Try That.
Post
Topic
Board Legal
Re: My buddy is getting a divorce. Can the court seize half of his bitcoins?
by
MA5H3D
on 03/12/2013, 08:40:06 UTC
Nobody can seize bitcoins!
If the wife knows his bitcoin address or somehow knows how many he has, just send them to another address and say they were stolen.
Post
Topic
Board Bitcoin Discussion
Re: Help me understand the importance of trading currency for a different type...
by
MA5H3D
on 30/11/2013, 09:48:32 UTC
It's the same as trading fiat currency, like EUR to USD for example. Most people would only really do that if they were going on holiday or they wanted to buy something from another country. But, traders can take advantage of the tiny fluctuations in value to make gains. In the crypto world those fluctuations are huge, so smart crypto-traders are increasing their holdings by moving from one currency to another.

The importance of it is to find equilibrium.
Post
Topic
Board Bitcoin Discussion
Re: Inflation by sleight of hand
by
MA5H3D
on 29/11/2013, 13:12:58 UTC
If you have one pie and you cut it into four pieces, how many pies do you have?
Post
Topic
Board Bitcoin Discussion
Re: BTC legalities?
by
MA5H3D
on 28/11/2013, 03:37:55 UTC
Technically, you haven't made any USD gains until you sell. So, don't sell your bitcoins, use them.
Post
Topic
Board Bitcoin Technical Support
Re: Trying to have a PHP page that generates a random public/private key pair.
by
MA5H3D
on 18/11/2013, 15:52:51 UTC
Post
Topic
Board Altcoin Discussion
Re: Missed Mastercoin?! What!!!??
by
MA5H3D
on 27/10/2013, 08:44:40 UTC
TomHirsh said we'd be 1:1 @ 6 months.

Actually TomHirsh said we'd be at 1:5 in less than 180 days.. He was trying to sell at 1:1 on August 31st.

I bought at 0.025BTC, so I hope they do go up, but I don't think they'll ever be worth 1BTC.
Post
Topic
Board Bitcoin Technical Support
Re: How to add BTC payments to a script?
by
MA5H3D
on 27/10/2013, 04:55:54 UTC
There are a few different ways to do it without running bitcoind..

You can use an API - blockchain.info or inputs.io
Or, you can generate new addresses yourself with something like - github.com/zamgo/PHPCoinAddress
Or, you could generate some addresses with bitaddress.org and store them in a database

It's not hard to do yourself, but there a plenty of people here that will help you out for a few satoshis.


Post
Topic
Board Bitcoin Technical Support
Re: addmultisigaddress or createmultisig - with blockchain.info RPC API?
by
MA5H3D
on 07/10/2013, 18:33:55 UTC
The RPC api doesn't support multisig at this time. For multisig support you will need to setup a local Bitcoin-Qt RPC server (https://en.bitcoin.it/wiki/Running_Bitcoin).

OK thanks, that explains it.
Post
Topic
Board Bitcoin Discussion
Re: 1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX
by
MA5H3D
on 07/10/2013, 05:07:23 UTC
Some Silk Road users sold perfectly legal items, like art and books. I wonder if any of the legitimate users will be asking the FBI for their coins back?
Post
Topic
Board Bitcoin Technical Support
Topic OP
addmultisigaddress or createmultisig - with blockchain.info RPC API?
by
MA5H3D
on 07/10/2013, 04:36:28 UTC
Does anyone know if it's possible to create a multi-signature address with the blockchain.info API?
If it's possible, could you tell me how?

Thanks.
Post
Topic
Board Altcoin Discussion
Re: Missed Mastercoin?! What!!!??
by
MA5H3D
on 02/10/2013, 18:25:42 UTC
Even getting an appreciable number of shares costs 3:1 today.  This sucks.  But, in the end I am certain Mastercoin is going to be worth so much more.  If anyone is selling cheap - please PM me.

They're not 3:1 yet.. Check the orderbook: http://bit.ly/mastercoin
Post
Topic
Board Economics
Re: A nice read about BTCs possibilities
by
MA5H3D
on 02/10/2013, 16:33:42 UTC
The article is ok, but the comments are awesome!..
It's funny how so many people seem to voice an opinion on something that they clearly know nothing about.
Post
Topic
Board Service Discussion
Re: Using Blockchain.info RPC - A little help??
by
MA5H3D
on 01/10/2013, 19:46:47 UTC
Ok,
I got it..
The problem I was having was the jsonRPCClient.php, but this version sorted it: http://pastebin.com/vREuHVr5#
Post
Topic
Board Service Discussion
Topic OP
Using Blockchain.info RPC - A little help??
by
MA5H3D
on 01/10/2013, 17:02:49 UTC
Hi,
I'm really hoping someone can help me out here..

I'm trying to connect to blockchain.info and use bitcoind commands - https://blockchain.info/api/json_rpc_api
But, i've been struggling with this for a few hours now and i've achieved nothing apart from potentially compromising a wallet.

Does anyone have something in PHP that I can use as a template? - A basic PHP script that connects to rpc.blockchain.info with a few example commands, which outputs the results?