Bitcoin Forum
May 05, 2024, 09:19:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need to access Bitcoincore testnet externally  (Read 198 times)
Mailbox1403 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 06, 2022, 03:14:00 AM
 #1

Hello
I am a newbie and need some help.
I am running the "Bitcoin core testnet" on my ubuntu machine, I wanted to call testnet externally to "sign the message" and to pass a "raw transaction".
My Idea is to make supplier payments from ERP by calling the BItcoincore testnet first and then later on the mainnet. Any idea/documentation/thread/input is highly appreciated.
1714943988
Hero Member
*
Offline Offline

Posts: 1714943988

View Profile Personal Message (Offline)

Ignore
1714943988
Reply with quote  #2

1714943988
Report to moderator
1714943988
Hero Member
*
Offline Offline

Posts: 1714943988

View Profile Personal Message (Offline)

Ignore
1714943988
Reply with quote  #2

1714943988
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4166


View Profile
June 06, 2022, 04:06:36 AM
 #2

You can use the RPC in Bitcoin Core to do so: https://developer.bitcoin.org/reference/rpc/.

You will need to have a tunnelling or VPN because the RPC connections are not encrypted.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6377


Looking for campaign manager? Contact icopress!


View Profile
June 06, 2022, 09:20:55 AM
 #3

Maybe you already know, but I want to be sure:
You will probably have to run bitcoind (i.e. the daemon, not the wallet UI).
Also, if what I've read here is correct, you may have to add -testnet as parameter to your calls.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7464


Crypto Swap Exchange


View Profile
June 06, 2022, 12:01:19 PM
Merited by NeuroticFish (1)
 #4

My Idea is to make supplier payments from ERP by calling the BItcoincore testnet first and then later on the mainnet. Any idea/documentation/thread/input is highly appreciated.

Are you aware of this Bitcoin Core limitation?

I would not recommend doing that. Bitcoin Core is not well equipped to handle both large wallets, and a large number of wallets. Either it will perform very poorly or it will consume more memory than you have.

It is not possible to get a wallet's balance without loading it. Loading a wallet can take a lot of time, and constantly loading and unloading wallets will waste a lot of time. When a wallet is loaded, it is entirely loaded into memory and the entire wallet is iterated at least once.



Maybe you already know, but I want to be sure:
You will probably have to run bitcoind (i.e. the daemon, not the wallet UI).

When you start wallet UI (Bitcoin Qt), the daemon (bitcoind) also running on background. But OP should use bitcoind directly for server.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Mailbox1403 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 06, 2022, 08:18:41 PM
 #5

@ETFbitcoin
I don't know about the Bitcoind limitation to perform a smooth proof of concept. Thank you for the heads-up.
Do you recommend any other setup to integrate ERP & Bitcoin Payments?
My idea is to use Bitcoin core without any wrapper. (i am thinking to run umbrel on a side project, not sure if it works
for my proof of concept idea)
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
June 06, 2022, 10:59:04 PM
 #6

~snip~
Do you recommend any other setup to integrate ERP & Bitcoin Payments?
My idea is to use Bitcoin core without any wrapper. (i am thinking to run umbrel on a side project, not sure if it works
for my proof of concept idea)


If it's all about Bitcoin payments then I think you can check BTCpayserver.
I don't know what do you mean without any wrapper but I guess you don't want to use any 3rd party? BTCpatserver can be self-hosted it doesn't have any 3rd party and all payments are direct to/from your wallet, and I think you can integrate it into ERP.

Check it here https://btcpayserver.org/ You can start playing it with testnet and then later switch to mainnet.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Mailbox1403 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 06, 2022, 11:08:31 PM
 #7

@BitMaxz
Thank you for the Idea, I will try BTCPay Server.
I may have to find a way to expose it to the outside world securely and then I can call BTCPay Server from ERP.
I am still learning, Yes, you are right about the wrapper.
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7464


Crypto Swap Exchange


View Profile
June 07, 2022, 09:45:30 AM
Merited by NeuroticFish (1)
 #8

@ETFbitcoin
I don't know about the Bitcoind limitation to perform a smooth proof of concept. Thank you for the heads-up.
Do you recommend any other setup to integrate ERP & Bitcoin Payments?
My idea is to use Bitcoin core without any wrapper. (i am thinking to run umbrel on a side project, not sure if it works
for my proof of concept idea)


BTCPay usually is best option. But if you're looking for cheaper/easier setup and don't mind reduced privacy, consider Mycelium Gear[1]. While it's 3rd party service, only you have access to your Bitcoin since they only ask your xpub/master public key. And there's no fee when your monthly volume is 0.1BTC or less[3].

[1] https://gear.mycelium.com/
[2] https://gear.mycelium.com/docs/creating_a_new_gateway
[3] https://gear.mycelium.com/pricing

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 08, 2022, 03:55:39 AM
 #9

@BitMaxz
Thank you for the Idea, I will try BTCPay Server.
I may have to find a way to expose it to the outside world securely and then I can call BTCPay Server from ERP.
I am still learning, Yes, you are right about the wrapper.

If you are going to use BTCPayServer on Testnet, you have to cofigure that manually. The docker image sets up mainnet transactions by default.

That is, not only will you have to run bitcoind in testnet, you also need to run NBXplorer (a BTCPayServer progam) in testnet mode as well.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
seoincorporation
Legendary
*
Online Online

Activity: 3150
Merit: 2930


Top Crypto Casino


View Profile
June 15, 2022, 02:43:10 PM
 #10

I am running the "Bitcoin core testnet" on my ubuntu machine, I wanted to call testnet externally to "sign the message" and to pass a "raw transaction".

My idea is to use Bitcoin core without any wrapper. (i am thinking to run umbrel on a side project, not sure if it works

How externally do you want to call it?, if you want to work only on your LAN then it's simple as opening the ports on ubuntu, but if you want to call it from the WAN then you will have to take down your modem firewall, set the machine on DMZ and set up a no-ip.

You could create a page to call those functions, but since you don't want to use any wrapper, then SSH could be the right tool to connect directly to the machine and use the bitcoin-cli tool to work with the transaction.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Mailbox1403 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 19, 2022, 08:19:27 PM
 #11

Thank you for your replies, i am trying in SSH direction.
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!