<p>If you need only to receive bitcoins, or better only to check the balance of your wallet, you can setup a read only address that leave no way to send money through this server.<br>
To setup read only addresses there are several command:</p>
<p><a href="https://developer.bitcoin.org/reference/rpc/importaddress.html" rel="nofollow noreferrer">importaddress</a><br>
<a href="https://developer.bitcoin.org/reference/rpc/importmulti.html" rel="nofollow noreferrer">importmulti</a><br>
<a href="https://developer.bitcoin.org/reference/rpc/importpubkey.html" rel="nofollow noreferrer">importpubkey</a><br></p>
<p>Instead if you need a full node that receives and sends bitcoins automatically, (despite the fact that the encryption is secure) the wallet cannot be encrypted and it can be risky (at least more than having physical possession of the server) and you have to evaluate if the savings of buying a VPS instead of a physical server compensate for the greater risk of theft.</p>

CC BY-SA 4.0
2021-04-19T16:54:44.030Z
Even better, you could import an extended public key in your web setup which would allow you to generate separate receive addresses for each invoice. The private key should remain on a separate system as leevancleef describes.
Murch
CC BY-SA 4.0
2021-03-29T15:03:55.527Z
How i can setup read only address and how i can send money from read only address? why wallet cannot be encrypted in case receives and sends automatically?
obei
CC BY-SA 4.0
2021-03-29T15:11:08.857Z
you can import a readonly address on the target server with bitcoin-cli importaddress <addr>, the address should be generated on another server which has the privatekey to spend btc, if you want to send btc automatically the node must read the privatekey to send btc so it cannot be encrypted
leevancleef
CC BY-SA 4.0
2021-03-29T15:38:00.813Z
bitcoin core can generate wallet offline?
obei
CC BY-SA 4.0
2021-03-29T15:50:28.637Z
yes, however the wallet does not need to be created with bitcoin-core, you can use the wallet you prefer, a bitcoin address is always a bitcoin address, however you generate it, you can always import it with bitcoin-core as read only.
leevancleef
CC BY-SA 4.0
2021-03-29T14:49:59.180Z
2021-03-29T15:30:04.740Z
2021-03-29T15:30:04.740Z
leevancleef
<p>I want to rent dedicated server to run a full node to receive bitcoin for my website. Is this safe if I encrypt my wallets or should I own physical server?</p>

<bitcoin-core><bitcoind><server><amazon-web-services>
Is it safe to rent server to run a full node?
obei
# Is it safe to rent server to run a full node?

(Asked by: username_0 on 2021-03-29)

I want to rent dedicated server to run a full node to receive bitcoin for my website. Is this safe if I encrypt my wallets or should I own physical server?

**Tags:** bitcoin-core, bitcoind, server, amazon-web-services


---

## 1 answers

### Answer by username_1 on 2021-03-29. Score: 1 | Accepted answer

If you need only to receive bitcoins, or better only to check the balance of your wallet, you can setup a read only address that leave no way to send money through this server.  
To setup read only addresses there are several command:

[importaddress](https://developer.bitcoin.org/reference/rpc/importaddress.html)  
[importmulti](https://developer.bitcoin.org/reference/rpc/importmulti.html)  
[importpubkey](https://developer.bitcoin.org/reference/rpc/importpubkey.html)

Instead if you need a full node that receives and sends bitcoins automatically, (despite the fact that the encryption is secure) the wallet cannot be encrypted and it can be risky (at least more than having physical possession of the server) and you have to evaluate if the savings of buying a VPS instead of a physical server compensate for the greater risk of theft.

> **Comments:**
> **username_0**: How i can setup read only address and how i can send money from read only address? why wallet cannot be encrypted in case receives and sends automatically?  
> **username_1**: you can import a readonly address on the target server with bitcoin-cli importaddress <addr>, the address should be generated on another server which has the privatekey to spend btc, if you want to send btc automatically the node must read the privatekey to send btc so it cannot be encrypted  
> **username_0**: bitcoin core can generate wallet offline?  
> **username_1**: yes, however the wallet does not need to be created with bitcoin-core, you can use the wallet you prefer, a bitcoin address is always a bitcoin address, however you generate it, you can always import it with bitcoin-core as read only.  
> **username_2**: Even better, you could import an extended public key in your web setup which would allow you to generate separate receive addresses for each invoice. The private key should remain on a separate system as username_1 describes.  

---

