Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

updating website for version 1.1.0 #209

Merged
merged 5 commits into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ feed:
sass:
style: compressed

latest_version: "1.0.2"
latest_version: "1.1.0"
2 changes: 1 addition & 1 deletion website/_data/faq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
more: https://pips.pactus.org/PIPs/pip-19
- id: staking_limit
- id: multiple_validators
more: /user-guides/run-pactus-gui/#number-of-validators
more: /user-guides/pactus-gui/#number-of-validators
- id: validators_rewarded
more: /learn/blockchain/incentive
- id: flat_reward
Expand Down
1 change: 0 additions & 1 deletion website/_data/learn_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
items:
- doc: grpc
- doc: http

# - title: Smart Contract
# path: learn/smart-contract
# items:
Expand Down
2 changes: 1 addition & 1 deletion website/_i18n/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ dict:
<b>تطبيق غير موثوق</b>
<br><br>
كن على علم بأن الثنائيات المجمعة مسبقًا لا يتم شحنها مع أي
<a href="https://pactus.org/user-guides/run-pactus-gui/#code-certificate-issue">شهادة توقيع الكود</a>.
<a href="https://pactus.org/user-guides/pactus-gui/#code-certificate-issue">شهادة توقيع الكود</a>.
من المحتمل أن تكون الثنائيات المجمعة مسبقًا غير موثوقة على نظام ويندوز
و ماك أو إس.
gui_after_download: >
Expand Down
8 changes: 4 additions & 4 deletions website/_i18n/ar/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ ensure the network keeps running safe and decentralized.

These guides can help you to run and configure your node:

- [{% t dict.guide.run_pactus_gui %}]({{ site.baseurl }}/user-guides/run-pactus-gui)
- [{% t dict.guide.run_pactus_cli %}]({{ site.baseurl }}/user-guides/run-pactus-cli)
- [{% t dict.guide.run_pactus_docker %}]({{ site.baseurl }}/user-guides/run-pactus-docker)
- [{% t dict.guide.run_pactus_gui %}]({{ site.baseurl }}/user-guides/pactus-gui)
- [{% t dict.guide.run_pactus_cli %}]({{ site.baseurl }}/user-guides/pactus-daemon)
- [{% t dict.guide.run_pactus_docker %}]({{ site.baseurl }}/user-guides/pactus-docker)

## Become a Validator

Expand All @@ -30,7 +30,7 @@ To become a validator, you will need to stake a certain amount of Pactus coins.
These guides can help you to send a Bond transaction and stake some coins:

- [{% t dict.guide.send_transactions_gui %}]({{ site.baseurl }}/user-guides/send-transactions-gui)
- [{% t dict.guide.use_wallet_cli %}]({{ site.baseurl }}/user-guides/use-wallet-cli)
- [{% t dict.guide.use_wallet_cli %}]({{ site.baseurl }}/user-guides/pactus-wallet)

## Develop

Expand Down
2 changes: 2 additions & 0 deletions website/_i18n/ar/user-guides/grpc-basic-auth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ crossorigin="anonymous" referrerpolicy="no-referrer"></script>
var htpasswd = username + ":" + hash;
document.getElementById("output").innerHTML =
"<pre>" + htpasswd + "</pre>";

}

</script>

<form id="passwdForm">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Please be patient while your node syncs.
To become a validator and participate in the
consensus algorithm to earn rewards, you first need to
[stake]({{ site.baseurl }}/learn/consensus/proof-of-stake/) some coins. In the next
[tutorial]({{ site.baseurl }}/user-guides/use-wallet-cli/),
[tutorial]({{ site.baseurl }}/user-guides/pactus-wallet/),
we will explain how to send a Bond transaction to become a validator.

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Windows and macOS users may encounter a warning message stating that Pactus is a
This is because Pactus does not have a
[code signing certificate](https://en.wikipedia.org/wiki/Code_signing).

![Code certificate issue]({{ site.url }}/user-guides/run-pactus-gui/code-certificate-warning.png)
![Code certificate issue]({{ site.url }}/user-guides/pactus-gui/code-certificate-warning.png)

A code certificate is a digital signature that verifies the identity and authenticity of the software publisher.
However, obtaining a code certificate is complex and expensive process, and requires registering a company and
Expand All @@ -39,7 +39,7 @@ Therefore, you can safely ignore the warning message and proceed with installing
To install Pactus GUI, simply follow the on-screen instructions provided by the installer.
The process is straightforward and similar to installing any other application on your computer.

![Installing Pactus]({{ site.url }}/user-guides/run-pactus-gui/installing.png)
![Installing Pactus]({{ site.url }}/user-guides/pactus-gui/installing.png)

## Initializing

Expand All @@ -51,15 +51,15 @@ initialization process. This process consists of several steps:
On the first page, you will ask you how you want to create your wallet.
Select the option to "Create a new wallet from scratch" and proceed to the next page.

![Initialize mode]({{ site.url }}/user-guides/run-pactus-gui/initialize-mode.png)
![Initialize mode]({{ site.url }}/user-guides/pactus-gui/initialize-mode.png)

### Wallet seed

The next page will display your wallet seed phrase, which consists of 12 words.
It is essential to securely back up this seed phrase, as it is required for wallet recovery
in case your computer is lost, damaged, or stolen.

![Wallet seed]({{ site.url }}/user-guides/run-pactus-gui/wallet-seed.png)
![Wallet seed]({{ site.url }}/user-guides/pactus-gui/wallet-seed.png)

**Warning:** Keep your wallet seed phrase private and secure.
If someone else gains access to your seed phrase, they can control your wallet and funds.
Expand All @@ -70,15 +70,15 @@ In this step, you will be asked to confirm your seed phrase.
Input the 12 words you received in the previous step into the dialog.
If the seed phrase is entered correctly, you will be able to proceed to the next page.

![Seed confirmation]({{ site.url }}/user-guides/run-pactus-gui/seed-confirmation.png)
![Seed confirmation]({{ site.url }}/user-guides/pactus-gui/seed-confirmation.png)

### Wallet password

On this page, you will be asked to set a password for your wallet.
Enter a strong password in the first dialog box and confirm it in the second one.
This password will be used to encrypt your wallet and protect it from unauthorized access.

![Set wallet password]({{ site.url }}/user-guides/run-pactus-gui/wallet-password.png)
![Set wallet password]({{ site.url }}/user-guides/pactus-gui/wallet-password.png)

Note: Choose a strong password and keep it safe.
If you forget or lose your password, you will need your seed phrase to regain access to your wallet.
Expand All @@ -89,7 +89,7 @@ Each node in the Pactus blockchain can run up to 32 validators, and each validat
1000 coins. Here, you can define how many validators you want to create for your node.
Select the number of validators based on the amount of coins you want to stake.

![Number of validators]({{ site.url }}/user-guides/run-pactus-gui/number-of-validators.png)
![Number of validators]({{ site.url }}/user-guides/pactus-gui/number-of-validators.png)

If you want to stake more than 32,000 coins, you need to set up a new node.

Expand All @@ -98,7 +98,7 @@ If you want to stake more than 32,000 coins, you need to set up a new node.
The last page of the initialization process shows the node information, such as the working directory, validator address,
and reward address. Review this information and click "Close" to complete the initialization process.

![Node information]({{ site.url }}/user-guides/run-pactus-gui/node-information.png)
![Node information]({{ site.url }}/user-guides/pactus-gui/node-information.png)

Upon closing the wizard dialog, your Pactus node will start running. You are now ready to use Pactus in GUI mode.

Expand All @@ -114,14 +114,14 @@ When the Pactus node starts running, it begins syncing with the network. This pr
as your node needs to download and verify the entire blockchain history.
Please be patient while your node syncs.

![Syncing progress]({{ site.url }}/user-guides/run-pactus-gui/syncing-progress.png)
![Syncing progress]({{ site.url }}/user-guides/pactus-gui/syncing-progress.png)

### Default Wallet

You can check the "Default Wallet" tab to access your wallet information. Please note that the displayed
information may not be accurate until the syncing process is complete.

![Default Wallet tab]({{ site.url }}/user-guides/run-pactus-gui/default-wallet.png)
![Default Wallet tab]({{ site.url }}/user-guides/pactus-gui/default-wallet.png)

In the "Default Wallet" tab, you can view your account details, including your balance and
address information such as the **validator and reward addresses**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Whether you are a beginner or an advanced user, this tutorial is suitable for yo
## Prerequisites

Before we begin, you'll need to run the Pactus GUI application and ensure that it is synced with the network.
You can find detailed instructions on how to do this in the following [tutorial]({{ site.baseurl }}/user-guides/run-pactus-gui/).
You can find detailed instructions on how to do this in the following [tutorial]({{ site.baseurl }}/user-guides/pactus-gui/).

## Sending a Transfer Transaction

Expand Down
3 changes: 1 addition & 2 deletions website/_i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ dict:
<b>Untrusted application</b>
<br><br>
Be aware that the precompiled binaries are not shipped with any
<a href="https://pactus.org/user-guides/run-pactus-gui/#code-certificate-issue">code signing certificate</a>.
<a href="https://pactus.org/user-guides/pactus-gui/#code-certificate-issue">code signing certificate</a>.
Most probability in Windows
and macOS the downloaded binaries are detected as untrusted application.
gui_after_download: >
Expand All @@ -158,7 +158,6 @@ dict:
This script can download the archived file, verify it, and extract it for you.
To use it, simply run the following command in your terminal:


faq:
title: FAQ
read_more: Read more
Expand Down
8 changes: 4 additions & 4 deletions website/_i18n/en/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ ensure the network keeps running safe and decentralized.

These guides can help you to run and configure your node:

- [{% t dict.guide.run_pactus_gui %}]({{ site.baseurl }}/user-guides/run-pactus-gui)
- [{% t dict.guide.run_pactus_cli %}]({{ site.baseurl }}/user-guides/run-pactus-cli)
- [{% t dict.guide.run_pactus_docker %}]({{ site.baseurl }}/user-guides/run-pactus-docker)
- [{% t dict.guide.run_pactus_gui %}]({{ site.baseurl }}/user-guides/pactus-gui)
- [{% t dict.guide.run_pactus_cli %}]({{ site.baseurl }}/user-guides/pactus-daemon)
- [{% t dict.guide.run_pactus_docker %}]({{ site.baseurl }}/user-guides/pactus-docker)

## Become a Validator

Expand All @@ -30,7 +30,7 @@ To become a validator, you will need to stake a certain amount of Pactus coins.
These guides can help you to send a Bond transaction and stake some coins:

- [{% t dict.guide.send_transactions_gui %}]({{ site.baseurl }}/user-guides/send-transactions-gui)
- [{% t dict.guide.use_wallet_cli %}]({{ site.baseurl }}/user-guides/use-wallet-cli)
- [{% t dict.guide.use_wallet_cli %}]({{ site.baseurl }}/user-guides/pactus-wallet)

## Develop

Expand Down
2 changes: 2 additions & 0 deletions website/_i18n/en/user-guides/grpc-basic-auth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ crossorigin="anonymous" referrerpolicy="no-referrer"></script>
var htpasswd = username + ":" + hash;
document.getElementById("output").innerHTML =
"<pre>" + htpasswd + "</pre>";

}

</script>

<form id="passwdForm">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ This command creates your wallet and setup the working working directory at `C:\
{% endtabs %}

{% alert_start info %}
<b>Working director</b>
<br><br>
By default the working directory that store the blockchain data is set to `~/pactus` in Unix-like systems.
For Windows it is set to `C:\Users\<USER_NAME>\pactus`.
<br><br>
If you wish to select or specify a different path, use the `--working-dir` option.
<b>Working director</b>
<br><br>
By default the working directory that store the blockchain data is set to `~/pactus` in Unix-like systems.
For Windows it is set to `C:\Users\<USER_NAME>\pactus`.
<br><br>
If you wish to select or specify a different path, use the `--working-dir` option.
{% alert_end %}

{% alert_start warning %}
{% t dict.guide.wallet_seed_important %}
{% t dict.guide.wallet_seed_important %}
{% alert_end %}

The working directory contains:
Expand Down Expand Up @@ -180,7 +180,7 @@ With these tools, you can run Pactus commands in the background with ease.
To become a validator and participate in the
consensus algorithm to earn rewards, you first need to
[stake]({{ site.baseurl }}/learn/consensus/proof-of-stake/) some coins. In the next
[tutorial]({{ site.baseurl }}/user-guides/use-wallet-cli/),
[tutorial]({{ site.baseurl }}/user-guides/pactus-wallet/),
we will explain how to send a Bond transaction to become a validator.

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Here's an explanation of the Docker flags:
- `-v <local_dir>:<container_dir>`: Allows to choose where to store the Pactus data.

{% alert_start warning %}
{% t dict.guide.wallet_seed_important %}
{% t dict.guide.wallet_seed_important %}
{% alert_end %}

---
Expand Down Expand Up @@ -182,7 +182,7 @@ docker run -it --rm -v %USERPROFILE%\pactus:/root/pactus pactus-wallet address a

{% endtabs %}

You can check [{% t dict.guide.use_wallet_cli %}]({{ site.baseurl }}/user-guides/use-wallet-cli)
You can check [{% t dict.guide.use_wallet_cli %}]({{ site.baseurl }}/user-guides/pactus-wallet)
for additional commands to manage your wallet.

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Windows and macOS users may encounter a warning message stating that Pactus is a
This is because Pactus does not have a
[code signing certificate](https://en.wikipedia.org/wiki/Code_signing).

![Code certificate issue]({{ site.url }}/user-guides/run-pactus-gui/code-certificate-warning.png)
![Code certificate issue]({{ site.url }}/user-guides/pactus-gui/code-certificate-warning.png)

A code certificate is a digital signature that verifies the identity and authenticity of the software publisher.
However, obtaining a code certificate is complex and expensive process, and requires registering a company and
Expand All @@ -39,7 +39,7 @@ Therefore, you can safely ignore the warning message and proceed with installing
To install Pactus GUI, simply follow the on-screen instructions provided by the installer.
The process is straightforward and similar to installing any other application on your computer.

![Installing Pactus]({{ site.url }}/user-guides/run-pactus-gui/installing.png)
![Installing Pactus]({{ site.url }}/user-guides/pactus-gui/installing.png)

## Initializing

Expand All @@ -51,18 +51,18 @@ initialization process. This process consists of several steps:
On the first page, you will ask you how you want to create your wallet.
Select the option to "Create a new wallet from scratch" and proceed to the next page.

![Initialize mode]({{ site.url }}/user-guides/run-pactus-gui/initialize-mode.png)
![Initialize mode]({{ site.url }}/user-guides/pactus-gui/initialize-mode.png)

### Wallet Seed

The next page will display your wallet seed phrase, which consists of 12 words.
It is essential to securely back up this seed phrase, as it is required for wallet recovery
in case your computer is lost, damaged, or stolen.

![Wallet seed]({{ site.url }}/user-guides/run-pactus-gui/wallet-seed.png)
![Wallet seed]({{ site.url }}/user-guides/pactus-gui/wallet-seed.png)

{% alert_start warning %}
{% t dict.guide.wallet_seed_important %}
{% t dict.guide.wallet_seed_important %}
{% alert_end %}

### Seed Confirmation
Expand All @@ -71,15 +71,15 @@ In this step, you will be asked to confirm your seed phrase.
Input the 12 words you received in the previous step into the dialog.
If the seed phrase is entered correctly, you will be able to proceed to the next page.

![Seed confirmation]({{ site.url }}/user-guides/run-pactus-gui/seed-confirmation.png)
![Seed confirmation]({{ site.url }}/user-guides/pactus-gui/seed-confirmation.png)

### Wallet Password

On this page, you will be asked to set a password for your wallet.
Enter a strong password in the first dialog box and confirm it in the second one.
This password will be used to encrypt your wallet and protect it from unauthorized access.

![Set wallet password]({{ site.url }}/user-guides/run-pactus-gui/wallet-password.png)
![Set wallet password]({{ site.url }}/user-guides/pactus-gui/wallet-password.png)

Note: Choose a strong password and keep it safe.
If you forget or lose your password, you will need your seed phrase to regain access to your wallet.
Expand All @@ -90,7 +90,7 @@ Each node in the Pactus blockchain can run up to 32 validators, and each validat
1000 coins. Here, you can define how many validators you want to create for your node.
Select the number of validators based on the amount of coins you want to stake.

![Number of validators]({{ site.url }}/user-guides/run-pactus-gui/number-of-validators.png)
![Number of validators]({{ site.url }}/user-guides/pactus-gui/number-of-validators.png)

If you want to stake more than 32,000 coins, you need to set up a new node.

Expand All @@ -99,7 +99,7 @@ If you want to stake more than 32,000 coins, you need to set up a new node.
The last page of the initialization process shows the node information, such as the working directory, validator address,
and reward address. Review this information and click "Close" to complete the initialization process.

![Node information]({{ site.url }}/user-guides/run-pactus-gui/node-information.png)
![Node information]({{ site.url }}/user-guides/pactus-gui/node-information.png)

Upon closing the wizard dialog, your Pactus node will start running. You are now ready to use Pactus in GUI mode.

Expand All @@ -115,14 +115,14 @@ When the Pactus node starts running, it begins syncing with the network. This pr
as your node needs to download and verify the entire blockchain history.
Please be patient while your node syncs.

![Syncing progress]({{ site.url }}/user-guides/run-pactus-gui/syncing-progress.png)
![Syncing progress]({{ site.url }}/user-guides/pactus-gui/syncing-progress.png)

### Default Wallet

You can check the "Default Wallet" tab to access your wallet information. Please note that the displayed
information may not be accurate until the syncing process is complete.

![Default Wallet tab]({{ site.url }}/user-guides/run-pactus-gui/default-wallet.png)
![Default Wallet tab]({{ site.url }}/user-guides/pactus-gui/default-wallet.png)

In the "Default Wallet" tab, you can view your account details, including your balance and
address information such as the **validator and reward addresses**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ In this section, we will explore various wallet commands that help you create, m
and recover your Pactus wallet.

{% alert_start info %}
<b>Wallet Path</b>
<br><br>
By default, the node's wallet is stored at `~/pactus/wallets/default_wallet` on Unix-like systems.
On Windows, you can find it at `C:\Users\<USER_NAME>\pactus\wallets\default_wallet`.
<br><br>
If you wish to select or specify a different wallet, use the `--path` option.
<b>Wallet Path</b>
<br><br>
By default, the node's wallet is stored at `~/pactus/wallets/default_wallet` on Unix-like systems.
On Windows, you can find it at `C:\Users\<USER_NAME>\pactus\wallets\default_wallet`.
<br><br>
If you wish to select or specify a different wallet, use the `--path` option.
{% alert_end %}

### Create a Wallet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Whether you are a beginner or an advanced user, this tutorial is suitable for yo
## Prerequisites

Before we begin, you'll need to run the Pactus GUI application and ensure that it is synced with the network.
You can find detailed instructions on how to do this in the following [tutorial]({{ site.baseurl }}/user-guides/run-pactus-gui/).
You can find detailed instructions on how to do this in the following [tutorial]({{ site.baseurl }}/user-guides/pactus-gui/).

## Sending a Transfer Transaction

Expand Down
Loading
Loading