Bitcoin Forum
May 03, 2024, 01:43:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: sx sign-input Javascript equivalent  (Read 998 times)
antonimasso (OP)
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
August 23, 2014, 08:52:28 PM
 #1

Hello,

Does anyone know if there is something already made in Javascript that emulates this:

echo $private_key | sx sign-input xfile.tx 0 $(cat redeem.script)

Thanks
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714700606
Hero Member
*
Offline Offline

Posts: 1714700606

View Profile Personal Message (Offline)

Ignore
1714700606
Reply with quote  #2

1714700606
Report to moderator
1714700606
Hero Member
*
Offline Offline

Posts: 1714700606

View Profile Personal Message (Offline)

Ignore
1714700606
Reply with quote  #2

1714700606
Report to moderator
antonimasso (OP)
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
August 24, 2014, 08:21:12 PM
 #2

I managed to do it using bitcoinjs-lib.
genjix
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1072


View Profile
August 26, 2014, 12:02:36 AM
 #3

great stuff, darkwallet uses that too. you can check its source to compare with your code.
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!