Bitcoin Forum
September 25, 2017, 12:16:12 PM *
News: Latest stable version of Bitcoin Core:  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Javascript and Bitcoind RPC  (Read 1355 times)
Sr. Member
Offline Offline

Activity: 408

Crypt'n Since 2011

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

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!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Hero Member
Offline Offline

Posts: 1506341772

View Profile Personal Message (Offline)

Reply with quote  #2

Report to moderator
Hero Member
Offline Offline

Activity: 728


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

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
Offline Offline

Activity: 80

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

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

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!