Hướng dẫn cài đặt trên Linux#

This guide describes how to download, verify, install and encrypt the Dash Core wallet for Linux. The guide is written for Ubuntu 20.04 LTS, but the steps should be similar for other Linux distributions.

Tải ví Dash Core#

Visit https://www.dash.org/downloads/ to download the latest Dash Core wallet. In most cases, the website will properly detect which version you need. Click the Dash Core button to download the package directly.

../../../../_images/download.png

Website tự động xác định phiên bản ví phù hợp cho hệ thống của bạn#

If detection does not work, you will need to manually choose your operating system and whether you need an x64 (64 bit x86) or ARM version. If you are unsure about your version of Linux, you can check in Ubuntu using the Terminal:

uname -m

If the response is x86_64, download Dash Core x64. If the response is aarch64, download Dash Core ARM. Once you know which version you need, download the Dash Core TGZ file to your computer from https://www.dash.org/downloads/ and save it to your Downloads folder.

Ghi chú

Since Dash Core 18.0, downloads are not available for 32-bit Linux installations.

Kiểm tra Dash Core#

This step is optional, but recommended to verify the authenticity of the file you downloaded. This is done by checking its detached signature against the public key published by the Dash Core development team. To download the detached signature, click the Signature button on the wallet download page and save it to the same folder as the downloaded binary.

All releases of Dash since 0.16.0 are signed using GPG with the following key:

Open a terminal, import the key and verify the authenticity of your download as follows:

curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
gpg --verify dashcore-20.0.4-x86_64-linux-gnu.tar.gz.asc
../../../../_images/setup-linux-gpg.png

Tải xuống khoá PGP và kiểm tra chương trình so với chữ ký#

If you see the message Good signature from ... then you have an authentic copy of Dash Core for Linux.

Ghi chú

If you have your own key configured, you can eliminate warnings from the verification output by signing the imported key before verifying:

gpg --quick-lsign-key "29590362EC878A81FD3C202B52527BEDABE87984"
gpg --verify dashcore-20.0.4-x86_64-linux-gnu.tar.gz.asc

Gỡ nén Dash Core#

Dash Core for Linux is distributed as a compressed archive and not an installer. This is because this same archive also contains other files built for running a masternode on a server, for example. In this guide, we will extract the executable file with a graphical user interface (GUI) designed for use by end users as a wallet.

Extract Dash Core as follows:

tar xzf dashcore-20.0.4-x86_64-linux-gnu.tar.gz

This will create a folder named dashcore-20.0.4 in the current working directory. We will now install the executable binaries to /usr/local/bin using the install command:

sudo install -m 0755 -o root -g root -t /usr/local/bin dashcore-20.0.4/bin/*

Start Dash Core from the terminal with the following command:

dash-qt

The first time the program is launched, you will be offered a choice of where you want to store your blockchain and wallet data. Choose a location with enough free space, as the blockchain can reach 45GB+ in size. It is recommended to use the default data folder if possible.

../../../../_images/106329842.png

Chọn thư mục dữ liệu cho Dash Core#

Sau đó Dash Core sẽ khởi động. Nó sẽ mất một chút lâu hơn so với bình thường trong lần chạy đầu tiên, vì Dash Core cần phải sinh ra một số dữ liệu mã hoá để đảm bảo an toàn cho ví của bạn.

../../../../_images/dashcore-splash.png

Khởi động Dash Core#

Đồng bộ dữ liệu Dash Core với mạng lưới Dash#

Khi Dash Core đã được cài đặt và khởi động thành công, bạn sẽ thấy màn hình tổng thể của ví. Bạn sẽ thấy rằng ví "chưa được đồng bộ", và thanh trạng thái ở đáy của cửa sổ sẽ hiển thị tiến trình đồng bộ.

../../../../_images/dashcore-syncing.png

Dash Core bắt đầu đồng bộ với mạng lưới Dash#

During this process, Dash Core will download a full copy of the Dash blockchain from other nodes to your device. Depending on your internet connection, this may take a long time. If you see the message “No block source available”, check your internet connection. When synchronization is complete, you will see a small green tick in the lower right corner.

../../../../_images/dashcore-synced.png

Việc đồng bộ của Dash Core đã hoàn tất#

Bây giờ bạn có thể bắt đầu dùng ví của mình để gửi và nhận tiền.

Setting up a desktop entry#

You can set up an XDG Desktop Entry in order to be able to launch Dash Core from your KDE or Gnome desktop environment. To do so, create a file named ~/.local/share/applications/dash.desktop and add the following content:

[Desktop Entry]
Version=1.5
Name=Dash Core
Comment=Dash Core is used to interact with the Dash blockchain
Exec=/usr/local/bin/dash-qt
Icon=dash-icon
Terminal=false
Type=Application

Ensure the file is executable:

chmod +x ~/.local/share/applications/dash.desktop

An appropriate icon can optionally be downloaded from the Dash Brand Guidelines page:

wget https://media.dash.org/wp-content/uploads/dash-d-rounded-square-250.png
xdg-icon-resource install --size 256 dash-d-rounded-square-250.png dash-icon

Creating your Dash Wallet#

Beginning with Dash Core 19.0, a wallet will not be created for you by default. You will get this prompt in the Overview tab. To create a wallet, click the Create a new wallet button or click File -> Create Wallet. Non-HD wallets are created by default. See the advanced topics section for information about HD wallets.

../../../../_images/dash-create-wallet-prompt.png

You will be prompted to create a new wallet with a custom wallet name. By default, your wallet will be encrypted. You may choose to uncheck the box and encrypt the wallet later. We have included instructions on how to encrypt your wallet in the following section.

../../../../_images/dash-name-wallet.png

If you do choose to encrypt now, you will be asked to enter and verify a password.

../../../../_images/dash-encrypt-wallet.png

Nhập mật khẩu#

Following that, you will get a standard warning.

../../../../_images/dash-encrypt-wallet-confirmation.png

Xác nhận rằng bạn muốn mã hoá ví#

The following section will detail the steps you need to follow if you choose to encrypt your Dash wallet later.

Mã hoá ví Dash của bạn#

To encrypt your wallet, click Settings > Encrypt wallet.

../../../../_images/dashcore-settings-encrypt.png

Mã hoá ví Dash với một mật khẩu#

Bạn sẽ được hỏi để nhập lại và xác nhận mật khẩu.

../../../../_images/dash-encrypt-wallet.png

Nhập mật khẩu#

../../../../_images/dash-encrypt-wallet-confirmation.png

Xác nhận rằng bạn muốn mã hoá ví#

When the encryption process is complete, you will see a warning that past backups of your wallet will no longer be usable, and be asked to shut down Dash Core. When you restart Dash Core, you will see a small green lock in the lower right corner.

../../../../_images/dashcore-synced-and-encrypted.png

Ví Dash Core của bạn đã được mã hoá và đồng bộ hoàn chỉnh#