Bitcoin Forum
May 21, 2024, 10:32:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: JavaScript Library to Sign Transaction  (Read 942 times)
yu77889 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 29, 2013, 04:30:50 AM
 #1

Working on a payment processing platform but I am seeking a way to ensure we don't act as a custodian to Bitcoin.  Our customers will be working in JavaScript.

I need a way to sign a transaction in JavaScrpt so that I can then take that output and send it to a remote bitcoind process to transmit to the network.  It's important that the client using JavaScript not have access to bitcoind.  Basically, the client will know its private address and it needs a mechanism to package the request so that it can be transmitted on a remote service.

I have been looking at the Bitcoin-JS library and I don't think it has what I need.  Perhaps I am mistaken...?
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
July 29, 2013, 06:25:37 AM
 #2

|I have been looking at the Bitcoin-JS library and I don't think it has what I need.  Perhaps I am mistaken...?

The Javascript code from BrainWallet can be used to show how this can be done:
 - http://brainwallet.org/#tx

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


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!