Bitcoin Forum
June 24, 2024, 03:01:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to simulate a transaction between two bitcoin addresses?  (Read 157 times)
kakashi9z (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
May 07, 2018, 08:00:27 AM
 #1

I installed a bitcoin payment plugin on magento2 and ran on localhost, but I do not have any bitcoin to pay so the invoice always returns the holded state. So is there a way to simulate a transaction between two bitcoin addresses on localhost?
Sellingaccs
Member
**
Offline Offline

Activity: 126
Merit: 50

Ask me for Pools, Nodes and Explorers.


View Profile
May 07, 2018, 08:13:12 AM
 #2

Why don't you just buy or earn a small amount of bitcoin for yourself? Also it is possible, if you run your client on testnet.
Which wallet are you using for the payments? I can tell you how to activate the testnet and how to get free coin to test it out with.

mocacinno
Legendary
*
Offline Offline

Activity: 3430
Merit: 5033


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
May 07, 2018, 08:15:58 AM
 #3

Why don't you just buy or earn a small amount of bitcoin for yourself? Also it is possible, if you run your client on testnet.
Which wallet are you using for the payments? I can tell you how to activate the testnet and how to get free coin to test it out with.

Testnet would also be my first choice. Another option would be to setup a node in regtest mode:
https://bitcoin.org/en/glossary/regression-test-mode

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
onurgozupek
Hero Member
*****
Offline Offline

Activity: 1306
Merit: 593


In #Bitcoin me trust


View Profile WWW
May 07, 2018, 08:19:44 AM
 #4

You can use the testnet blockchain to simulate buying and selling. But if you would like to do a real world scenario the best practice is doing transactions with small amounts (equivalent to a few dollars) Also you should test, creating a signed transaction on an offline machine instead of broadcasting directly to the network and then broadcasting it after a while. This will be the practice of how to securely transfer Bitcoins between peers...
kakashi9z (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
May 07, 2018, 04:15:26 PM
 #5

Why don't you just buy or earn a small amount of bitcoin for yourself? Also it is possible, if you run your client on testnet.
Which wallet are you using for the payments? I can tell you how to activate the testnet and how to get free coin to test it out with.

Thanks for the reply, this plugin uses Bitcoin. I linked this plugin to the address at blockchain.info . how to use testnet? Can you give me a few references?
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
May 07, 2018, 04:34:28 PM
 #6

Thanks for the reply, this plugin uses Bitcoin. I linked this plugin to the address at blockchain.info . how to use testnet? Can you give me a few references?
If you didn't design the plugin, you probably can't test it yourself. Unless your plugin has an option to accept testnet coins, you have to code it to do so. I suspect it won't be easy with pre-made plugins.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 07, 2018, 04:47:34 PM
 #7

how to use testnet? Can you give me a few references?

You can start your client in testnet mode either by using the -testnet argument. Or, for 'permanent' change, add testnet=1 to your bitcoin.conf file.
The bitcoin.conf file can be found in bitcoins application directory.
Usually %APPDATA%\Bitcoin\ for windows and $HOME/.bitcoin/ for linux.

To get some testcoins, visit https://tpfaucet.appspot.com/.

Further useful information: https://bitcoin.org/en/developer-examples

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!