![](https://it-infrastructure.solutions/content/images/2022/01/image-99.png)
This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.
1) Azure-VM Creation:
![](https://it-infrastructure.solutions/content/images/2022/01/image-73.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-74.png)
# VM - Name
bctestvm
# Login
bcadmin
# Password
BCPass_12345
# Retrieving PIP with Azure CLI
az vm show --resource-group AKTT --name bctestvm -d --query [publicIps] --output tsv
# Connecting to VM
ssh bcadmin@<ip-address>
2) Azure-VM OS-Disk-Expansion:
![](https://it-infrastructure.solutions/content/images/2022/01/image-75.png)
# Deallocate VM with Azure CLI
az vm deallocate --resource-group AKTT --name bctestvm
![](https://it-infrastructure.solutions/content/images/2022/01/image-76.png)
# List available Disks
az disk list --resource-group AKTT --query '[*].{Name:name,Gb:diskSizeGb,Tier:accountType}' --output table
![](https://it-infrastructure.solutions/content/images/2022/01/image-77.png)
Bitcoin Testnet Explorer
Look up Bitcoin Testnet (TBTC) blocks, transactions, addresses, balances, nodes, OP_RETURN data and protocols, blockchain stats and charts
![](https://blockchair.com/bitcoin/testnet/dashboard.jpg)
![](https://it-infrastructure.solutions/content/images/2022/01/image-79.png)
# Resize Azure-VM OS-Disk
az disk update --resource-group AKTT --name bctestvm_OsDisk_1_ed93749ff2044d07aa52482d8d8b6471 --size-gb 100
# Start Azure-VM
az vm start --resource-group AKTT --name bctestvm
3) Check results of resizing on the VM
![](https://it-infrastructure.solutions/content/images/2022/01/image-80.png)
# Show Free Space
df -h
![](https://it-infrastructure.solutions/content/images/2022/01/image-81.png)
3) BitCoin Node Setup
# Binaries Download
wget https://bitcoincore.org/bin/bitcoin-core-0.20.1/bitcoin-0.20.1-x86_64-linux-gnu.tar.gz
# Unzip Binaries
tar xvzf bitcoin-0.20.1-x86_64-linux-gnu.tar.gz
![](https://it-infrastructure.solutions/content/images/2022/01/image-82.png)
# Change Directory
cd bitcoin-0.20.1
# Start BitCoin - Node
./bin/bitcoind -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 -fallbackfee=0.0002 -txindex=1 -server
![](https://it-infrastructure.solutions/content/images/2022/01/image-83.png)
# Show Files
ls ~/.bitcoin/testnet3
# Check Node-Health
./bin/bitcoin-cli -testnet -getinfo -rpcuser=bcadmin -rpcpassword=BCPass_12345
![](https://it-infrastructure.solutions/content/images/2022/01/image-84.png)
4) Create Wallet
# Create Wallet Address
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 getnewaddress
![](https://it-infrastructure.solutions/content/images/2022/01/image-86.png)
# Wallet Address
tb1qqe5hmx2ejffxa3qhze6asks63stvlq2t2nhw80
# Retrieving Private Wallet Key
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 dumpprivkey tb1qqe5hmx2ejffxa3qhze6asks63stvlq2t2nhw80
![](https://it-infrastructure.solutions/content/images/2022/01/image-87.png)
# Private Wallet Address
cN1oddPc8wxeoYACdN77YdpaLiFpHqefsmJhbwyWTH1xMsgzn2aj
# Check Wallet Balance
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 listreceivedbyaddress 1 true
![](https://it-infrastructure.solutions/content/images/2022/01/image-88.png)
5) Load bitcoin in wallet
https://testnet-faucet.mempool.co/
![](https://it-infrastructure.solutions/content/images/2022/01/image-90.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-89.png)
# Check Wallet Balance
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 getwalletinfo
![](https://it-infrastructure.solutions/content/images/2022/01/image-91.png)
# Check Transaction History
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 listtransactions '*' 9999999 0 true
![](https://it-infrastructure.solutions/content/images/2022/01/image-92.png)
# Check Wallet Balance
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 getbalance "*" 1 true
![](https://it-infrastructure.solutions/content/images/2022/01/image-93.png)
4) Transaction Execution
# Generate AMOUNT Variable
## This step is optional
MATRIKELNUMMER=<xxxxxxxxxxxx>
AMOUNT=$(echo $MATRIKELNUMMER | cut -c 7-10 | xargs printf "0.000%s\n")
echo $AMOUNT
![](https://it-infrastructure.solutions/content/images/2022/01/image-94.png)
# Send BitCoins
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 sendtoaddress <Recipient Wallet ID> $AMOUNT
# Transaction - ID
2d16167fdecb3e26a6fbfb60bff1779cd385074fa19131e24e66d997b925a48d
Bitcoin Testnet Explorer - Blockstream.info
Blockstream Explorer is an open source block explorer providing detailed blockchain data across Bitcoin, Testnet, and Liquid. Supports Tor and tracking-free.
![](https://blockstream.info/img/social-sharing.png)
![](https://it-infrastructure.solutions/content/images/2022/01/image-97.png)
![](https://it-infrastructure.solutions/content/images/2022/01/grafik.png)
# Check Transaction History
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 listtransactions '*' 9999999 0 true
![](https://it-infrastructure.solutions/content/images/2022/01/grafik-2.png)
# Check Wallet Balance
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 getwalletinfo
![](https://it-infrastructure.solutions/content/images/2022/01/image-96.png)
# Check Wallet Balance
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 getbalance "*" 1 true
![](https://it-infrastructure.solutions/content/images/2022/01/image-100.png)
# Generate REST Variable
## This step is optional
REST=$(./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 getbalance "*" 1 true)
echo $REST
![](https://it-infrastructure.solutions/content/images/2022/01/image-101.png)
# Send remaining BitCoins
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 sendtoaddress <Recipient Wallet ID> $REST "" "" true
![](https://it-infrastructure.solutions/content/images/2022/01/image-102.png)
# Transaction - ID
a80e05524e31da9d638ebb47f4bdda03d2c9e6481801e6b9fa3ab9e4c0a00518
# Check Transaction History
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 listtransactions '*' 9999999 0 true
![](https://it-infrastructure.solutions/content/images/2022/01/grafik-3.png)
# Check Wallet Balance
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 getbalance "*" 1 true
![](https://it-infrastructure.solutions/content/images/2022/01/image-104.png)
# Check Wallet Balance
./bin/bitcoin-cli -testnet -rpcuser=bcadmin -rpcpassword=BCPass_12345 getwalletinfo
![](https://it-infrastructure.solutions/content/images/2022/01/image-105.png)
Bitcoin Testnet Explorer - Blockstream.info
Blockstream Explorer is an open source block explorer providing detailed blockchain data across Bitcoin, Testnet, and Liquid. Supports Tor and tracking-free.
![](https://blockstream.info/img/social-sharing.png)
![](https://it-infrastructure.solutions/content/images/2022/01/grafik-1.png)