# Fractal Bitcoin Node Setup

<figure><img src="https://1882782965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJKcLF887TYMWzFb2yWrk%2Fuploads%2FF1B3yMh0vHJcyxH2uvnc%2F9Jsm4WSp_400x400.jpg?alt=media&#x26;token=aa569648-f268-4543-9243-637955300ee5" alt="" width="200"><figcaption></figcaption></figure>

Contabo : <https://bit.ly/contabourl>\
InterServer : <https://bit.ly/interserverurl>\
Digital Ocean : <https://bit.ly/4cKNFco>

### Server Requirement :

Operating System\
CPU : 2+\
RAM : Min 4 GB\
Storage : Min 100 GB SSD&#x20;

### Update :&#x20;

```
sudo apt-get update && sudo apt-get upgrade -y
```

```
sudo apt install curl build-essential pkg-config libssl-dev git wget jq make gcc chrony -y
```

### Fractal :&#x20;

```
wget https://github.com/fractal-bitcoin/fractald-release/releases/download/v0.1.8/fractald-0.1.8-x86_64-linux-gnu.tar.gz
```

```
tar -zxvf fractald-0.1.8-x86_64-linux-gnu.tar.gz
```

### Enter the directory :&#x20;

```
cd fractald-0.1.8-x86_64-linux-gnu
```

### Crate "Data" Directory :

```
mkdir data
```

### Copying the Configuration File :

```
cp ./bitcoin.conf ./data
```

### Creating a Service :&#x20;

```
sudo tee /etc/systemd/system/fractald.service > /dev/null <<EOF
[Unit]
Description=Fractal Bitcoin Node
After=network.target

[Service]
User=root
WorkingDirectory=/root/fractald-0.1.8-x86_64-linux-gnu
ExecStart=/root/fractald-0.1.8-x86_64-linux-gnu/bin/bitcoind -datadir=/root/fractald-0.1.8-x86_64-linux-gnu/data/ -maxtipage=504576000
Restart=always
RestartSec=3
LimitNOFILE=infinity

[Install]
WantedBy=multi-user.target
EOF
```

#### Reload services :

```
sudo systemctl daemon-reload
```

#### Enable Service :&#x20;

```
sudo systemctl enable fractald
```

#### Start Service :

```
sudo systemctl start fractald
```

#### Check Logs :&#x20;

```
sudo journalctl -u fractald -fo cat
```

CTRL C

### Crate Wallet :&#x20;

```
cd /root/fractald-0.1.8-x86_64-linux-gnu/bin
```

```
./bitcoin-wallet -wallet=wallet -legacy create
```

### Getting Wallet Private Key :&#x20;

```
cd /root/fractald-0.1.8-x86_64-linux-gnu/bin
./bitcoin-wallet -wallet=/root/.bitcoin/wallets/wallet/wallet.dat -dumpfile=/root/.bitcoin/wallets/wallet/MyPK.dat dump
cd && awk -F 'checksum,' '/checksum/ {print "Cüzdan Private Keyiniz:" $2}' .bitcoin/wallets/wallet/MyPK.dat
```

#### Wait for a while and then the logs will appear. It will then show you your private key.

#### Import your wallet to Unisat Wallet : <https://chromewebstore.google.com/detail/unisat-wallet/ppbibelpcjmhbdihakflkdcoccbgbkpo?pli=1>

Select "Legacy" as the wallet type.

#### Wallet İnfo :

```
./bitcoin-wallet -wallet=wallet info
```

<figure><img src="https://1882782965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJKcLF887TYMWzFb2yWrk%2Fuploads%2F4EmmS8OZgRY0YO9Pu9pA%2Fimage.png?alt=media&#x26;token=5e5e6f92-d4a3-45e3-8b3d-f148d6b4f591" alt=""><figcaption></figcaption></figure>
