Bitcoin Forum
May 05, 2024, 07:12:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 »
1  Economy / Service Discussion / Re: Can I call the blockchain.info API with just javascript or jQuery? on: May 30, 2014, 04:25:24 PM
@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.
2  Economy / Service Discussion / Can I call the blockchain.info API with just javascript or jQuery? on: May 30, 2014, 02:22:00 PM
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?
3  Economy / Service Discussion / Re: Disclose the identity owners of exchanges BTC-e.com on: January 24, 2014, 02:36:25 PM
Why?
4  Bitcoin / Bitcoin Discussion / Re: When SHA-256 is compromised on: December 22, 2013, 01:26:38 AM
Compromised how?
5  Bitcoin / Development & Technical Discussion / Re: How to generate qr codes for address and private keys? on: December 16, 2013, 09:55:34 PM
brainwallet.org will do that among other things.
6  Economy / Service Discussion / Re: Mtgox rate in my webpage? on: December 04, 2013, 11:07:00 AM
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 -

<!DOCTYPE html>
<head>
      <title>Bitcoin Price</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
      <meta http-equiv="Pragma" content="no-cache">
      <meta http-equiv="Expires" content="0">

      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
      
      <script>
         var auto_refresh = setInterval(
         function()
         {$('.btc-price').load('gox.php');}, 10000);
      </script>
</head>

<body>
<div class="btc-price">Wait 10 Seconds..</div>
</body>

</html>


Page 2 = gox.php -

<?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.
7  Bitcoin / Legal / Re: My buddy is getting a divorce. Can the court seize half of his bitcoins? on: December 03, 2013, 08:40:06 AM
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.
8  Bitcoin / Bitcoin Discussion / Re: Help me understand the importance of trading currency for a different type... on: November 30, 2013, 09:48:32 AM
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.
9  Bitcoin / Bitcoin Discussion / Re: Inflation by sleight of hand on: November 29, 2013, 01:12:58 PM
If you have one pie and you cut it into four pieces, how many pies do you have?
10  Bitcoin / Bitcoin Discussion / Re: BTC legalities? on: November 28, 2013, 03:37:55 AM
Technically, you haven't made any USD gains until you sell. So, don't sell your bitcoins, use them.
11  Bitcoin / Bitcoin Technical Support / Re: Trying to have a PHP page that generates a random public/private key pair. on: November 18, 2013, 03:52:51 PM
Another option -
https://github.com/zamgo/PHPCoinAddress
12  Alternate cryptocurrencies / Altcoin Discussion / Re: Missed Mastercoin?! What!!!?? on: October 27, 2013, 08:44:40 AM
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.
13  Bitcoin / Bitcoin Technical Support / Re: How to add BTC payments to a script? on: October 27, 2013, 04:55:54 AM
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.


14  Bitcoin / Bitcoin Technical Support / Re: addmultisigaddress or createmultisig - with blockchain.info RPC API? on: October 07, 2013, 06:33:55 PM
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.
15  Bitcoin / Bitcoin Discussion / Re: 1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX on: October 07, 2013, 05:07:23 AM
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?
16  Bitcoin / Bitcoin Technical Support / addmultisigaddress or createmultisig - with blockchain.info RPC API? on: October 07, 2013, 04:36:28 AM
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.
17  Alternate cryptocurrencies / Altcoin Discussion / Re: Missed Mastercoin?! What!!!?? on: October 02, 2013, 06:25:42 PM
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
18  Economy / Economics / Re: A nice read about BTCs possibilities on: October 02, 2013, 04:33:42 PM
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.
19  Economy / Service Discussion / Re: Using Blockchain.info RPC - A little help?? on: October 01, 2013, 07:46:47 PM
Ok,
I got it..
The problem I was having was the jsonRPCClient.php, but this version sorted it: http://pastebin.com/vREuHVr5#
20  Economy / Service Discussion / Using Blockchain.info RPC - A little help?? on: October 01, 2013, 05:02:49 PM
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?
Pages: [1] 2 3 4 5 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!