Bitcoin Forum
January 18, 2020, 08:17:06 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: How to run seperate wallet on same server?  (Read 370 times)
wsxdrfv
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile WWW
April 27, 2018, 01:21:28 AM
 #1

I bought server hardware from remote server provider, there installed ubuntu 16.04, bitcoin daemon.

In this situation, can I install another bitcoin and send bitcoin (for test) to each other?

How to?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1579335426
Hero Member
*
Offline Offline

Posts: 1579335426

View Profile Personal Message (Offline)

Ignore
1579335426
Reply with quote  #2

1579335426
Report to moderator
RGBKey
Hero Member
*****
Offline Offline

Activity: 854
Merit: 630


rgbkey.github.io/pgp.txt


View Profile WWW
April 27, 2018, 01:34:05 AM
Merited by suchmoon (1), bones261 (1)
 #2

I would never run a Bitcoin wallet on a VPS. There have been cases in the past where the people running the VPS have stolen money. I'd only do it unless you're doing it with a very well known provider.
starmyc
Member
**
Offline Offline

Activity: 197
Merit: 90

Some random software engineer


View Profile
April 27, 2018, 04:43:41 AM
 #3

I bought server hardware from remote server provider, there installed ubuntu 16.04, bitcoin daemon.

In this situation, can I install another bitcoin and send bitcoin (for test) to each other?

Yes, you can. Just use a diff a different datadir & different ports for listening, using datadir, port, rpcport configuration variables.
I've already write a few bits about this there.

Hi, I'm just some random software engineer.
You can check my projects: Bitcoin & altcoin balances dumps: https://balances.syndevio.com/
ETFbitcoin
Legendary
*
Offline Offline

Activity: 1890
Merit: 2159

Use SegWit and enjoy lower fees.


View Profile WWW
April 27, 2018, 04:50:00 AM
 #4

If your goal is only test whether your wallet is working, you better use another wallet application on same/different device to send Bitcoin.
But it's possible to run more than a Bitcoin client/bitcoind in a device, you can check the guide here : https://bitcoin.stackexchange.com/questions/1270/is-it-possible-to-run-more-than-one-client-instance-on-a-machine

I also don't recommend place Bitcoin (or any cryptocurrency) wallet on VPS, unless it's testnet/segnet wallet.

wsxdrfv
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile WWW
April 27, 2018, 07:07:27 AM
 #5

I would never run a Bitcoin wallet on a VPS. There have been cases in the past where the people running the VPS have stolen money. I'd only do it unless you're doing it with a very well known provider.
So VPS service provider themselves are thief? And they can see whole server's whats going on? So how much money he was stolen?
The best one
Newbie
*
Offline Offline

Activity: 168
Merit: 0


View Profile
April 28, 2018, 01:58:59 PM
 #6

I bought server hardware from remote server provider, there installed ubuntu 16.04, bitcoin daemon.

In this situation, can I install another bitcoin and send bitcoin (for test) to each other?

How to?

My opimion Although many people are looking to run separate wallet on same server, very few people are aware of what types of security risks are associated with this process. The user pointed out how running  seperate wallet on same server at risk of undergoing scans to determine whether or not there is a wallet address file stored somewhere. The server will automatically reject most of these scan requests, but it is something to be aware of at all times.
Aleister Crowley
Hero Member
*****
Offline Offline

Activity: 966
Merit: 501



View Profile
April 28, 2018, 10:05:55 PM
 #7

I would never run a Bitcoin wallet on a VPS. There have been cases in the past where the people running the VPS have stolen money. I'd only do it unless you're doing it with a very well known provider.
scammer is very vulnerable to happen if you use this method .. RGBKey I think has a lot of experience related to this and you have to learn a lot of it ... indeed in some cases a lot of losses if doing or running Bitcoin wallet on a VPS ,, but if you still want to do it ,, I think you should be ready with any risks that you may experience
bob123
Legendary
*
Offline Offline

Activity: 1134
Merit: 1652



View Profile WWW
April 29, 2018, 05:48:53 PM
 #8

So VPS service provider themselves are thief? And they can see whole server's whats going on?

No, not every VPS service provider is a thief. It depends on the setup whether they can access the server or not.

But usually there is no reason to store a wallet on a VPS.
You could run a full node on the VPS and then use a wallet on your local machine and communicate with your node.

What kind of setup do you want to accomplish? There probably is a more elegant way of achieving it (without storing your wallet file on a 3rd party server).

wsxdrfv
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile WWW
May 03, 2018, 07:42:14 AM
Last edit: May 03, 2018, 10:36:32 AM by wsxdrfv
 #9

So I don't understand well.

So eventually, I want to run few hundreds or more seperate some alt-coin's wallet(litecoin cloned) in same server.

How to do this?

Different rpcport, p2pport, datadir each other? If port is different, they can't each other communicate and connect, isn't it?

And if datadir is different, so then all datadir will have same block data maybe?



starmyc
Member
**
Offline Offline

Activity: 197
Merit: 90

Some random software engineer


View Profile
May 03, 2018, 09:37:00 AM
 #10

So I don't understand well.

So eventually, I want to run few hundreds or more seperate some alt-coin's wallet(litecoin cloned) in same server.

How to do this?

Different datadir & protocol port & rpc port.


Different rpcport, p2pport, datadir each other? If port is different, they can each other communicate and connect, isn't it?

Yes.

And if datadir is different, so then all datadir will have same block data maybe?

Yes. Data files won't be shared. This will take a lot of space, and it is most likely useless to have multiple instance of the same daemon coin running on one server.

Hi, I'm just some random software engineer.
You can check my projects: Bitcoin & altcoin balances dumps: https://balances.syndevio.com/
wsxdrfv
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile WWW
May 03, 2018, 10:39:07 AM
 #11


yes different rpcport, p2pport, datadir each other
being the port different, they can each other communicate and connect
I can't understand... if port is different, how can those wallet can communicate each other? Even if they are emerged from same source code.
HeRetiK
Legendary
*
Offline Offline

Activity: 1344
Merit: 1198


the forkings will continue until morale improves


View Profile
May 03, 2018, 01:36:54 PM
 #12

Running full nodes on a VPS is fine, but you definitely want to store the funds in cold storage.

Either implement application logic to immediately move the coins from your VPS hot wallet to cold storage, or better yet, use an xpub key to have the coins sent straight to cold storage without even touching the online server. Then fill the hot wallet from there, as required.

If you have an online server sending Bitcoins to another online server you're doing security wrong.


[...] The server will automatically reject most of these scan requests, but it is something to be aware of at all times.

Only if you set the server up accordingly. Out of the box your run-of-the-mill VPS server is a hackers-delight free-for-all all-you-can-crack buffet.

bob123
Legendary
*
Offline Offline

Activity: 1134
Merit: 1652



View Profile WWW
May 04, 2018, 10:09:54 AM
 #13

I can't understand... if port is different, how can those wallet can communicate each other? Even if they are emerged from same source code.

What exactly is your concern?

You can setup wallet A at port X and wallet B at port Y on your machine.
Then use port X to access/query wallet A (and port Y for wallet B).

This works fine if you want to have several wallets (and services) on the same machine.

I might not fully understand the problem you are facing. May you elaborate it please?

wsxdrfv
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile WWW
May 06, 2018, 11:49:13 PM
 #14

Running full nodes on a VPS is fine, but you definitely want to store the funds in cold storage.
Either implement application logic to immediately move the coins from your VPS hot wallet to cold storage, or better yet, use an xpub key to have the coins sent straight to cold storage without even touching the online server. Then fill the hot wallet from there, as required.

How to do using [xpub key]? How to do this? How it can send coins send straight to cold hardware storage? (I want to use ledger nano s something..)
bob123
Legendary
*
Offline Offline

Activity: 1134
Merit: 1652



View Profile WWW
May 07, 2018, 11:14:15 AM
 #15

How to do using [xpub key]? How to do this? How it can send coins send straight to cold hardware storage? (I want to use ledger nano s something..)

Import your xpub key into the software of your VPS.
You will be able to derive public keys (and therefore addresses to deposit to) on your VPS without needing to store the private key online.

You can get the xpub of your ledger nano s from the Bitcoin wallet (chrome) application: 'My Account' -> 'Account settings' gives you the option to export a public key.
Afterwards you will be able to derive addresses from this xpub. The actual command depends on your programming language / libary.

RGBKey
Hero Member
*****
Offline Offline

Activity: 854
Merit: 630


rgbkey.github.io/pgp.txt


View Profile WWW
May 07, 2018, 04:59:35 PM
 #16

How to do using [xpub key]? How to do this? How it can send coins send straight to cold hardware storage? (I want to use ledger nano s something..)

Import your xpub key into the software of your VPS.
You will be able to derive public keys (and therefore addresses to deposit to) on your VPS without needing to store the private key online.

You can get the xpub of your ledger nano s from the Bitcoin wallet (chrome) application: 'My Account' -> 'Account settings' gives you the option to export a public key.
Afterwards you will be able to derive addresses from this xpub. The actual command depends on your programming language / libary.

IIRC xpub format and methods to derive segwit addresses are not yet standard yet, so if you're using segwit addresses (which is likely), it might not work.
wsxdrfv
Newbie
*
Offline Offline

Activity: 322
Merit: 0


View Profile WWW
May 09, 2018, 02:42:05 AM
 #17

How to do using [xpub key]? How to do this? How it can send coins send straight to cold hardware storage? (I want to use ledger nano s something..)

Import your xpub key into the software of your VPS.
You will be able to derive public keys (and therefore addresses to deposit to) on your VPS without needing to store the private key online.

You can get the xpub of your ledger nano s from the Bitcoin wallet (chrome) application: 'My Account' -> 'Account settings' gives you the option to export a public key.
Afterwards you will be able to derive addresses from this xpub. The actual command depends on your programming language / libary.

IIRC xpub format and methods to derive segwit addresses are not yet standard yet, so if you're using segwit addresses (which is likely), it might not work.
Yes I am using segwit address on ledger nano, so it does not have menu like above (MyAccount-> Account settings), nor xpub.
HCP
Legendary
*
Online Online

Activity: 1218
Merit: 2126

<insert witty quote here>


View Profile
May 09, 2018, 09:17:26 AM
 #18

Yes I am using segwit address on ledger nano, so it does not have menu like above (MyAccount-> Account settings), nor xpub.
Yes it does... it's just might not be "obvious", because the default view for "Ledger Wallet Bitcoin" is to show an overview of accounts (even if you only have one)...

What you need to do is click on the account you want the XPUB for:



Then select the "Account Settings" option on the right:



Then select the "Export" option for the Extended Public Key:



You'll then be given the XPUB and the matching QR-Code:



NOTE: if your server doesn't allow you to specify the derivation path (m/49'/0'/0') you may find that it doesn't generate the same addresses as your Ledger wallet

btc_enigma
Hero Member
*****
Offline Offline

Activity: 656
Merit: 503


View Profile
May 09, 2018, 04:57:22 PM
 #19

After you find you xpub... you can generate addresses using pycoin library. If you prefer API calls, you can use blockonomics API

Luckyji
Jr. Member
*
Offline Offline

Activity: 168
Merit: 4


View Profile
May 13, 2018, 09:26:22 AM
 #20

If your goal is only test whether your wallet is working, i will not advice you the same wallet on same device instead use a different wallet  application altogether to send bitcoin.  But it's possible to run more than a Bitcoin client.
 
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!