Bitcoin Forum
May 11, 2024, 04:53:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Javascript and Bitcoind RPC  (Read 1478 times)
JayCoin (OP)
Sr. Member
****
Offline Offline

Activity: 409
Merit: 251


Crypt'n Since 2011


View Profile WWW
March 08, 2012, 03:18:39 AM
 #1

I want to create my own javascript interface to my bitcoind from a web page.  How can I get around the cross domain restriction to access the JSON-RPC.

Hello There!
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715403202
Hero Member
*
Offline Offline

Posts: 1715403202

View Profile Personal Message (Offline)

Ignore
1715403202
Reply with quote  #2

1715403202
Report to moderator
1715403202
Hero Member
*
Offline Offline

Posts: 1715403202

View Profile Personal Message (Offline)

Ignore
1715403202
Reply with quote  #2

1715403202
Report to moderator
1715403202
Hero Member
*
Offline Offline

Posts: 1715403202

View Profile Personal Message (Offline)

Ignore
1715403202
Reply with quote  #2

1715403202
Report to moderator
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
March 08, 2012, 04:14:13 AM
 #2

I'm not sure what you mean by "cross domain restriction".

If you mean so you can access it remotely:  bitcoind -rpcallowip=<IP>

Make sure you have a good password set.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
Blizz
Member
**
Offline Offline

Activity: 80
Merit: 10



View Profile
March 10, 2012, 12:25:27 PM
 #3

You would expose your wallet that way.
Try JS <-> web server <-> bitcoind instead.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!