Bitcoin Forum
May 07, 2024, 01:37:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Fastest way to execute a transaction?  (Read 1721 times)
Sythic (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
December 18, 2013, 06:31:57 PM
 #1

I'm looking to create a service  which can execute transactions when given a private key. i dont however want to store that key in my wallet. is there anyway to execute a transaction instantly with only a key?
1715045839
Hero Member
*
Offline Offline

Posts: 1715045839

View Profile Personal Message (Offline)

Ignore
1715045839
Reply with quote  #2

1715045839
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715045839
Hero Member
*
Offline Offline

Posts: 1715045839

View Profile Personal Message (Offline)

Ignore
1715045839
Reply with quote  #2

1715045839
Report to moderator
1715045839
Hero Member
*
Offline Offline

Posts: 1715045839

View Profile Personal Message (Offline)

Ignore
1715045839
Reply with quote  #2

1715045839
Report to moderator
1715045839
Hero Member
*
Offline Offline

Posts: 1715045839

View Profile Personal Message (Offline)

Ignore
1715045839
Reply with quote  #2

1715045839
Report to moderator
StarfishPrime
Sr. Member
****
Offline Offline

Activity: 358
Merit: 250


View Profile
December 18, 2013, 07:27:01 PM
 #2

You'll still need access to the blockchain, either directly (to a local node) or using a remote API like blockchain.info etc.

A private key will allow you to sign the tx inputs, but you'll still need to get those specific outputs from the blockchain to use as inputs in the transaction you are planning to create and transmit. This can be done quite quickly (milliseconds): For example even the Blockchain Android/IOS app creates tx's using the remote API to the blockchain very quickly (a few seconds).


                         
    ¦                     
  ¦    ¦¦¦               
¦¦  ¦¦¦¦                 
                             ¦¦  ¦¦¦¦
                          ¦ ¦¦ ¦¦¦¦                     
                         ¦¦¦¦¦¦¦¦
                        ¦¦¦¦¦¦¦
                        ¦¦¦¦¦¦
                  ¦¦¦  ¦¦¦¦¦¦
                   ¦ ¦¦¦¦¦¦

                    ¦¦  ¦ ¦¦¦¦
                    ¦¦    ¦¦¦¦
                    ¦¦  ¦ ¦¦¦¦
                   ¦¦¦  ¦ ¦¦¦¦¦
                ¦¦¦¦    ¦ ¦¦¦¦¦¦¦¦
             ¦¦¦¦¦    ¦ ¦¦ ¦¦¦¦¦¦¦¦¦¦
          ¦¦¦¦¦       ¦  ¦   ¦¦¦¦¦¦¦¦¦¦¦
        ¦¦¦¦         ¦        ¦¦¦¦¦¦¦¦¦¦¦¦
     ¦¦¦¦          ¦      ¦    ¦¦¦¦¦¦¦¦¦¦¦¦¦¦
    ¦¦¦         ¦¦         ¦   ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
   ¦¦        ¦¦         ¦¦  ¦   ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  ¦¦       ¦          ¦ ¦¦   ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
 ¦¦¦     ¦¦          ¦   ¦    ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦     ¦          ¦      ¦   ¦¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦    ¦        ¦¦         ¦¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦   ¦¦     ¦¦         ¦   ¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦   ¦     ¦¦         ¦¦¦   ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
 ¦¦   ¦¦    ¦        ¦    ¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
 ¦¦    ¦   ¦        ¦¦    ¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  ¦¦    ¦  ¦¦       ¦     ¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
   ¦¦    ¦  ¦      ¦      ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
    ¦¦¦   ¦ ¦¦     ¦¦     ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
     ¦¦¦   ¦ ¦¦     ¦¦    ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
       ¦¦¦¦  ¦ ¦¦    ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
          ¦¦¦¦¦¦  ¦¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
             ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
                        ¦¦

.
TorCoin.....
¦
¦
¦
¦
  Fully Anonymous TOR-integrated Crypto
               ¦ Windows     ¦ Linux     ¦ GitHub     ¦ macOS
     ¦
     ¦
     ¦
     ¦
.
   ANN THREAD
     ¦
     ¦
     ¦
     ¦
[/center]
Sythic (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile WWW
December 18, 2013, 07:35:04 PM
 #3

Ok, I figured that would be the case. So basically I just use an API and once I know all the inputs/outputs, I would generate a raw transaction using that via RPC to bitcoind?

Thanks for the help Smiley
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
December 18, 2013, 07:44:47 PM
 #4

You'll still need access to the blockchain, either directly (to a local node) or using a remote API like blockchain.info etc.

A private key will allow you to sign the tx inputs, but you'll still need to get those specific outputs from the blockchain to use as inputs in the transaction you are planning to create and transmit. This can be done quite quickly (milliseconds): For example even the Blockchain Android/IOS app creates tx's using the remote API to the blockchain very quickly (a few seconds).
actually, if you have private keys to all the inputs you're spending, you can do the signing entirely off line.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
sidazhang
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
December 20, 2013, 03:25:16 AM
 #5

actually, if you have private keys to all the inputs you're spending, you can do the signing entirely off line.

That's correct and to add a bit more details to this answer, you can sign all the inputs offline and serialize the transaction into hex and then push the transaction through an API like https://blockchain.info/pushtx (a post request sends the raw transaction) or send it through the bitcoind JSON RPC "sendrawtransaction" (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list)
piuk
Hero Member
*****
expert
Offline Offline

Activity: 910
Merit: 1005



View Profile WWW
December 20, 2013, 04:05:39 AM
 #6

You can use the blockchain wallet api:

Quote
https://blockchain.info/merchant/$private_key/payment?to=$address&amount=$amount

StarfishPrime
Sr. Member
****
Offline Offline

Activity: 358
Merit: 250


View Profile
December 21, 2013, 04:12:30 PM
 #7

You can use the blockchain wallet api:

Quote
https://blockchain.info/merchant/$private_key/payment?to=$address&amount=$amount


Great feature. BIP38 decode support would be a very useful addition to the merchant API too - most POS terminal hardware is painfully slow at scrypt. Since BIP38 support has now been added to the Android app can we expect to see it anytime soon for the merchant API?

                         
    ¦                     
  ¦    ¦¦¦               
¦¦  ¦¦¦¦                 
                             ¦¦  ¦¦¦¦
                          ¦ ¦¦ ¦¦¦¦                     
                         ¦¦¦¦¦¦¦¦
                        ¦¦¦¦¦¦¦
                        ¦¦¦¦¦¦
                  ¦¦¦  ¦¦¦¦¦¦
                   ¦ ¦¦¦¦¦¦

                    ¦¦  ¦ ¦¦¦¦
                    ¦¦    ¦¦¦¦
                    ¦¦  ¦ ¦¦¦¦
                   ¦¦¦  ¦ ¦¦¦¦¦
                ¦¦¦¦    ¦ ¦¦¦¦¦¦¦¦
             ¦¦¦¦¦    ¦ ¦¦ ¦¦¦¦¦¦¦¦¦¦
          ¦¦¦¦¦       ¦  ¦   ¦¦¦¦¦¦¦¦¦¦¦
        ¦¦¦¦         ¦        ¦¦¦¦¦¦¦¦¦¦¦¦
     ¦¦¦¦          ¦      ¦    ¦¦¦¦¦¦¦¦¦¦¦¦¦¦
    ¦¦¦         ¦¦         ¦   ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
   ¦¦        ¦¦         ¦¦  ¦   ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  ¦¦       ¦          ¦ ¦¦   ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
 ¦¦¦     ¦¦          ¦   ¦    ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦     ¦          ¦      ¦   ¦¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦    ¦        ¦¦         ¦¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦   ¦¦     ¦¦         ¦   ¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
¦¦¦   ¦     ¦¦         ¦¦¦   ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
 ¦¦   ¦¦    ¦        ¦    ¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
 ¦¦    ¦   ¦        ¦¦    ¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
  ¦¦    ¦  ¦¦       ¦     ¦  ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
   ¦¦    ¦  ¦      ¦      ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
    ¦¦¦   ¦ ¦¦     ¦¦     ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
     ¦¦¦   ¦ ¦¦     ¦¦    ¦ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
       ¦¦¦¦  ¦ ¦¦    ¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
          ¦¦¦¦¦¦  ¦¦  ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
             ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
                        ¦¦

.
TorCoin.....
¦
¦
¦
¦
  Fully Anonymous TOR-integrated Crypto
               ¦ Windows     ¦ Linux     ¦ GitHub     ¦ macOS
     ¦
     ¦
     ¦
     ¦
.
   ANN THREAD
     ¦
     ¦
     ¦
     ¦
[/center]
thonglor
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
February 23, 2014, 09:59:04 PM
 #8

Hi all,

I'm trying to implement the Blockchain API. On their website https://blockchain.info/api/api_receive when I enter a Receiving Address and a Callback URL and then "Fire Test Callback" there always comes the red error mesage "Error Input String May Contain HTML". Why is that or what am I doing wrong?

Thanks for help!
williamj2543
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

Get ready for PrimeDice Sig Campaign!


View Profile WWW
March 21, 2014, 01:57:23 PM
 #9

Hi all,

I'm trying to implement the Blockchain API. On their website https://blockchain.info/api/api_receive when I enter a Receiving Address and a Callback URL and then "Fire Test Callback" there always comes the red error mesage "Error Input String May Contain HTML". Why is that or what am I doing wrong?

Thanks for help!

Gettin that also

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
embargar
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
March 22, 2014, 06:54:15 PM
 #10

a service which can execute transactions when given a private key will be very needed!
wheatstone
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
March 22, 2014, 07:25:16 PM
 #11

a service which can execute transactions when given a private key will be very needed!

What?

Keep your private keys private (hence the name).
thonglor
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
March 22, 2014, 07:37:53 PM
 #12

Hello all,

does anyone have an answer to that problem:

I'm trying to implement the Blockchain API. On their website https://blockchain.info/api/api_receive when I enter a Receiving Address and a Callback URL and then "Fire Test Callback" there always comes the red error mesage "Error Input String May Contain HTML". Why is that or what am I doing wrong?

Thanks for help!
williamj2543
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

Get ready for PrimeDice Sig Campaign!


View Profile WWW
March 23, 2014, 11:21:55 PM
 #13

Hello all,

does anyone have an answer to that problem:

I'm trying to implement the Blockchain API. On their website https://blockchain.info/api/api_receive when I enter a Receiving Address and a Callback URL and then "Fire Test Callback" there always comes the red error mesage "Error Input String May Contain HTML". Why is that or what am I doing wrong?

Thanks for help!

Me too, I really need help on this. From what I understand there is something wrong with the code,

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
thonglor
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
March 28, 2014, 04:12:37 PM
 #14

For this "simulation testing" on their website there are no fees involved.

Does anyone else observe this phenomenon and has a solution?

 
WWWarrior
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
March 30, 2014, 04:21:12 PM
 #15

You will still need access to the blockchain, will not you?
williamj2543
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

Get ready for PrimeDice Sig Campaign!


View Profile WWW
March 31, 2014, 06:36:52 PM
 #16

Found the solution, the code is simply not working. No really main reason, just check your code for any errors, run the script it is calling into, in the browser, and see if you get any errors, then fix them. Also I think my script still worked after it said that error, it still calls. Hope I could be of some help

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
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!