Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - - - - - 1 - - - - -
- sudo apt update & sudo apt upgrade -y
- sudo apt install ca-certificates zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev curl git wget make jq build-essential pkg-config lsb-release libssl-dev libreadline-dev libffi-dev gcc screen unzip lz4 -y
- - - - - - 2 - - - - -
- wget https://github.com/fractal-bitcoin/fractald-release/releases/download/v0.1.7/fractald-0.1.7-x86_64-linux-gnu.tar.gz
- tar -zxvf fractald-0.1.7-x86_64-linux-gnu.tar.gz
- - - - - - 3 - - - - -
- cd fractald-0.1.7-x86_64-linux-gnu/
- - - - - - 4 - - - - -
- mkdir data
- cp ./bitcoin.conf ./data
- - - - - - 5 - - - - -
- sudo tee /etc/systemd/system/fractald.service > /dev/null << EOF
- [Unit]
- Description=Fractal Node
- After=network-online.target
- [Service]
- User=$USER
- ExecStart=/root/fractald-0.1.7-x86_64-linux-gnu/bin/bitcoind -datadir=/root/fractald-0.1.7-x86_64-linux-gnu/data/ -maxtipage=504576000
- Restart=always
- RestartSec=5
- LimitNOFILE=infinity
- [Install]
- WantedBy=multi-user.target
- EOF
- - - - - - 6 - - - - -
- cd bin
- ./bitcoin-wallet -wallet=wallet -legacy create
- cd /root/fractald-0.1.7-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 "Wallet Private Key:" $2}' .bitcoin/wallets/wallet/MyPK.dat
- - - - - - 7 - - - - -
- sudo systemctl daemon-reload
- sudo systemctl enable fractald
- sudo systemctl start fractald
- - - - - - 8 - - - - -
- sudo journalctl -u fractald -f --no-hostname -o cat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement