Bitcoin Forum
May 03, 2024, 01:43:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Split bitcoin payment  (Read 619 times)
MaximC (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 2


View Profile
December 17, 2016, 08:40:33 AM
 #1

Is here any open source software / script to split bitcoin transaction into two?

IN transaction 1 - OUT transaction A, transaction B

transaction A is predefined address with predefined amount.
transaction B is the rest of money and variable address (anytime other).

Thank you.
1714700587
Hero Member
*
Offline Offline

Posts: 1714700587

View Profile Personal Message (Offline)

Ignore
1714700587
Reply with quote  #2

1714700587
Report to moderator
1714700587
Hero Member
*
Offline Offline

Posts: 1714700587

View Profile Personal Message (Offline)

Ignore
1714700587
Reply with quote  #2

1714700587
Report to moderator
1714700587
Hero Member
*
Offline Offline

Posts: 1714700587

View Profile Personal Message (Offline)

Ignore
1714700587
Reply with quote  #2

1714700587
Report to moderator
"Bitcoin: the cutting edge of begging technology." -- Giraffe.BTC
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714700587
Hero Member
*
Offline Offline

Posts: 1714700587

View Profile Personal Message (Offline)

Ignore
1714700587
Reply with quote  #2

1714700587
Report to moderator
1714700587
Hero Member
*
Offline Offline

Posts: 1714700587

View Profile Personal Message (Offline)

Ignore
1714700587
Reply with quote  #2

1714700587
Report to moderator
1714700587
Hero Member
*
Offline Offline

Posts: 1714700587

View Profile Personal Message (Offline)

Ignore
1714700587
Reply with quote  #2

1714700587
Report to moderator
longbob72
Hero Member
*****
Offline Offline

Activity: 574
Merit: 503


V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==


View Profile
December 17, 2016, 08:47:14 AM
 #2

If I understood you correctly, you wish to use 1 input in 2 different transactions? That's not possible (only one transaction can get confirmed).

                                                                       
    ▄▄███████▄▄                           ▄      ▄
   ██████████████▄                       ███    ███
  ███▀ ▄▄▄▄▄▄▄ ▀████                     ███    ███
  █████████████▄ ▀███                    ███    ███   █▄ ▄▄
   ▀████▄  ▄▄███  ▀███                   ███    ███  ▄████
   ▄███████████   ▄███                  ███    ███  ▀▀███▀▀
   ███           ▄███         ▄▄▄▄      ███    ███     █    ▄▄  ▄▄▄▄
  ▄███     ▄▄▄▄█████        ▄█████▄    ▄██▀   ▄██▀    ███   █████████
  ███▄    ████████         ▄███▀▀███   ███    ███    ███▀   █████▀████
   ███     ▀▀█████▄      ▄█████▄ ███   ███    ███    ███    ████   ███
   ███         ▀███▄     ███▀███ ███  ███▀   ███▀    ███    ███▀   ███
   ███           ███▄    ███  ▀▀ ███  ███    ███    ███▀   ▄███    ███
   ▀██▄           ███    ███▄  ▄███   ███    ███    ███    ███    ███▀
    ███           ▀███▄   ████████    ███    ███    ███    ███    ███
    ▀██            ▀████   ▀████▀      ██     ██    ▀██    ▀█▀    ▀█▀


.
.
.
        ▄▄▀                ▀▄▄
     ▄ ▀▀                    ▀▀ ▄
   ▄ ▀▀▀                      ▀▀▀ ▄
  ▄▀▀▀                          ▀▀▀▄
 ▀█▄▄                            ▄▄█▀
▄█  ▄                            ▄  █▄
▀█ █▀                            ▀█ █▀
█▄  ▄                            ▄  ▄█
▀█ █                              █ █▀
█▄   █                          █   ▄█
 ██▄█▀                          ▀█▄██
  ▀▀  ▄█                      █▄  ▀▀
  ▀██▄ ▀  █▄              ▄█  ▀ ▄██▀
    ▀▀▀   ██  █▄      ▄█  ██   ▀▀▀
     ▀███▄▄▀  ███    ███  ▀▄▄███▀
        ▀▀▀▀▄▄▄▄▀    ▀▄▄▄▄▀▀▀▀
          ▀▀█████▀▀▀▀█████▀▀
.
.
Free Bitcoins
Chat Lottery & Games
Level Up System with Rewards
▄████████▄  ▄████████▄
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
 ████████    ████████
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
▀████████▀  ▀████████▀
.
MaximC (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 2


View Profile
December 17, 2016, 08:53:55 AM
 #3

If I understood you correctly, you wish to use 1 input in 2 different transactions? That's not possible (only one transaction can get confirmed).

I know that is possible do the script in transaction and after the transaction is done, can be next two transactions.
just split the transaction in any way.
longbob72
Hero Member
*****
Offline Offline

Activity: 574
Merit: 503


V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==


View Profile
December 17, 2016, 09:29:10 AM
Merited by ABCbits (2)
 #4

Now that I think about it, you referred the outputs as different transactions.
Just in case that you're not aware, a transaction can have more than one output addresses. An input can't be used in multiple transactions but you can "split" the bitcoins from one input to many addresses in a single transaction. Most wallets does this automatically with change addresses.

You really don't need any script to split the coins unless you're looking for a way to make transactions automatically.

                                                                       
    ▄▄███████▄▄                           ▄      ▄
   ██████████████▄                       ███    ███
  ███▀ ▄▄▄▄▄▄▄ ▀████                     ███    ███
  █████████████▄ ▀███                    ███    ███   █▄ ▄▄
   ▀████▄  ▄▄███  ▀███                   ███    ███  ▄████
   ▄███████████   ▄███                  ███    ███  ▀▀███▀▀
   ███           ▄███         ▄▄▄▄      ███    ███     █    ▄▄  ▄▄▄▄
  ▄███     ▄▄▄▄█████        ▄█████▄    ▄██▀   ▄██▀    ███   █████████
  ███▄    ████████         ▄███▀▀███   ███    ███    ███▀   █████▀████
   ███     ▀▀█████▄      ▄█████▄ ███   ███    ███    ███    ████   ███
   ███         ▀███▄     ███▀███ ███  ███▀   ███▀    ███    ███▀   ███
   ███           ███▄    ███  ▀▀ ███  ███    ███    ███▀   ▄███    ███
   ▀██▄           ███    ███▄  ▄███   ███    ███    ███    ███    ███▀
    ███           ▀███▄   ████████    ███    ███    ███    ███    ███
    ▀██            ▀████   ▀████▀      ██     ██    ▀██    ▀█▀    ▀█▀


.
.
.
        ▄▄▀                ▀▄▄
     ▄ ▀▀                    ▀▀ ▄
   ▄ ▀▀▀                      ▀▀▀ ▄
  ▄▀▀▀                          ▀▀▀▄
 ▀█▄▄                            ▄▄█▀
▄█  ▄                            ▄  █▄
▀█ █▀                            ▀█ █▀
█▄  ▄                            ▄  ▄█
▀█ █                              █ █▀
█▄   █                          █   ▄█
 ██▄█▀                          ▀█▄██
  ▀▀  ▄█                      █▄  ▀▀
  ▀██▄ ▀  █▄              ▄█  ▀ ▄██▀
    ▀▀▀   ██  █▄      ▄█  ██   ▀▀▀
     ▀███▄▄▀  ███    ███  ▀▄▄███▀
        ▀▀▀▀▄▄▄▄▀    ▀▄▄▄▄▀▀▀▀
          ▀▀█████▀▀▀▀█████▀▀
.
.
Free Bitcoins
Chat Lottery & Games
Level Up System with Rewards
▄████████▄  ▄████████▄
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
 ████████    ████████
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
██      ██  ██      ██
▀████████▀  ▀████████▀
.
MaximC (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 2


View Profile
December 17, 2016, 09:31:54 AM
 #5

Now that I think about it, you referred the outputs as different transactions.
Just in case that you're not aware, a transaction can have more than one output addresses. An input can't be used in multiple transactions but you can "split" the bitcoins from one input to many multiple addresses in a single transaction. Most wallets does this automatically with change addresses.

You really don't need any script to split the coins unless you're looking for a way to make transactions automatically.

You are true.
But i am searching for automation.
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
December 17, 2016, 10:15:44 AM
Merited by ABCbits (2)
 #6

Now that I think about it, you referred the outputs as different transactions.
Just in case that you're not aware, a transaction can have more than one output addresses. An input can't be used in multiple transactions but you can "split" the bitcoins from one input to many multiple addresses in a single transaction. Most wallets does this automatically with change addresses.

You really don't need any script to split the coins unless you're looking for a way to make transactions automatically.

You are true.
But i am searching for automation.

Its probably possible with the bitcoin core build in API or any other API. The question is why, as this would increase the UTXO set and result in higher fees for you over time.

Im not really here, its just your imagination.
MaximC (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 2


View Profile
December 17, 2016, 10:25:22 AM
 #7

Now that I think about it, you referred the outputs as different transactions.
Just in case that you're not aware, a transaction can have more than one output addresses. An input can't be used in multiple transactions but you can "split" the bitcoins from one input to many multiple addresses in a single transaction. Most wallets does this automatically with change addresses.

You really don't need any script to split the coins unless you're looking for a way to make transactions automatically.

You are true.
But i am searching for automation.

Its probably possible with the bitcoin core build in API or any other API. The question is why, as this would increase the UTXO set and result in higher fees for you over time.

I am try find the way have some part of money from transaction and rest send to address.
Not sure how it can be done.
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
December 17, 2016, 11:04:45 AM
Merited by ABCbits (1)
 #8

-snip-
I am try find the way have some part of money from transaction and rest send to address.
Not sure how it can be done.

This is a normal wallet process called change, every wallet can do it and most APIs do it for you when you issue a payment.

Im not really here, its just your imagination.
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!