Skip to content

Commit e444a51

Browse files
Jay Kurahashi-Sofuegitbook-bot
Jay Kurahashi-Sofue
authored andcommitted
GitBook: [master] 12 pages modified
1 parent da6086e commit e444a51

11 files changed

+27
-27
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ description: >-
2222
{% endtab %}
2323

2424
{% tab title="Staking" %}
25-
{% page-ref page="build/run-avalanche-node.md" %}
25+
{% page-ref page="build/tutorials/nodes-and-staking/run-avalanche-node.md" %}
2626

2727
{% page-ref page="build/tutorials/nodes-and-staking/" %}
2828
{% endtab %}

SUMMARY.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
## Build
1818

19-
* [Run an Avalanche Node](build/run-avalanche-node.md)
2019
* [Release Notes](build/release-notes/README.md)
2120
* [Email Alerts](http://eepurl.com/heNhSX)
2221
* [AvalancheGo Release Notes](build/release-notes/avalanchego.md)
@@ -33,13 +32,14 @@
3332
* [Nodes and Staking](build/tutorials/nodes-and-staking/README.md)
3433
* [Add a Validator](build/tutorials/nodes-and-staking/add-a-validator.md)
3534
* [Maintain an Avalanche Node](https://youtu.be/o4Fww-sHoaQ)
35+
* [Node backup and restore](build/tutorials/nodes-and-staking/node-backup-and-restore.md)
36+
* [Run an Avalanche Node](build/tutorials/nodes-and-staking/run-avalanche-node.md)
3637
* [Run an Avalanche Node and Become a Validator](https://youtu.be/ZyQPeSSCbYU)
3738
* [Run an Avalanche Node with Oracle VM VirtualBox](https://www.youtube.com/watch?v=7Tx1iKg-jL0)
3839
* [Run an Avalanche Node and Stake with the Avalanche Wallet](https://youtu.be/ZyQPeSSCbYU)
3940
* [Run an Avalanche Node with Amazon Web Services \(AWS\)](build/tutorials/nodes-and-staking/setting-up-an-avalanche-node-with-amazon-web-services-aws.md)
4041
* [Run an Avalanche Node with Microsoft Azure](build/tutorials/nodes-and-staking/set-up-an-avalanche-node-with-microsoft-azure.md)
4142
* [Run an Avalanche Node on Linux using Install Script](build/tutorials/nodes-and-staking/set-up-node-with-installer.md)
42-
* [Node backup and restore](build/tutorials/nodes-and-staking/node-backup-and-restore.md)
4343
* [Run an Avalanche Node Monitoring](build/tutorials/nodes-and-staking/setting-up-node-monitoring.md)
4444
* [Stake AVAX, by Validating or Delegating, with the Avalanche Wallet](build/tutorials/nodes-and-staking/staking-avax-by-validating-or-delegating-with-the-avalanche-wallet.md)
4545
* [Upgrade Your AvalancheGo Node](build/tutorials/nodes-and-staking/upgrade-your-avalanchego-node.md)

build/tutorials/nodes-and-staking/add-a-validator.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Note that once you issue the transaction to add a node as a validator, there is
1212

1313
## Requirements
1414

15-
You've completed [Run an Avalanche Node](../../run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/). In this tutorial, we use [Avalanche’s Postman collection](https://github.com/ava-labs/avalanche-postman-collection) to help us make API calls.
15+
You've completed [Run an Avalanche Node](run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/). In this tutorial, we use [Avalanche’s Postman collection](https://github.com/ava-labs/avalanche-postman-collection) to help us make API calls.
1616

1717
In order to ensure your node is well-connected, make sure that your node can receive and send TCP traffic on the staking port \(`9651` by default\) and that you started your node with command line argument `--public-ip=[YOUR NODE'S PUBLIC IP HERE]`. Failing to do either of these may jeopardize your staking reward.
1818

build/run-avalanche-node.md build/tutorials/nodes-and-staking/run-avalanche-node.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If your issue isn’t addressed in the FAQ, come ask for help in the [Avalanche
1919
If you're interested in using a third-party service to host your node or run a validator, [check out the options](https://docs.avax.network/learn/community#blockchain-infrastructure-and-node-services).
2020
{% endhint %}
2121

22-
This tutorial is primarily geared toward developers and people interested in how the Avalanche Platform works. If you're just interested in setting up a node for staking, you may want to follow the [Set Up Avalanche Node With Installer](tutorials/nodes-and-staking/set-up-node-with-installer.md) tutorial instead. Installer automates the installation process and sets it up as a system service, which is recommended for unattended operation. You may also try things out by following this tutorial first, and then later set up the node using the installer as a permanent solution.
22+
This tutorial is primarily geared toward developers and people interested in how the Avalanche Platform works. If you're just interested in setting up a node for staking, you may want to follow the [Set Up Avalanche Node With Installer](set-up-node-with-installer.md) tutorial instead. Installer automates the installation process and sets it up as a system service, which is recommended for unattended operation. You may also try things out by following this tutorial first, and then later set up the node using the installer as a permanent solution.
2323

2424

2525

@@ -115,7 +115,7 @@ When the node starts, it has to bootstrap \(catch up with the rest of the networ
115115

116116
`INFO [06-07|19:54:06] <X Chain> /snow/engine/avalanche/transitive.go#80: bootstrapping finished with 1 vertices in the accepted frontier`
117117

118-
To check if a given chain is done bootstrapping, in another terminal window call [`info.isBootstrapped`](avalanchego-apis/info-api.md#info-isbootstrapped) by copying and pasting the following command:
118+
To check if a given chain is done bootstrapping, in another terminal window call [`info.isBootstrapped`](../../avalanchego-apis/info-api.md#info-isbootstrapped) by copying and pasting the following command:
119119

120120
```cpp
121121
curl -X POST --data '{
@@ -130,7 +130,7 @@ curl -X POST --data '{
130130

131131
If this returns `true`, the chain is bootstrapped. If you make an API call to a chain that is not done bootstrapping, it will return `API call rejected because chain is not done bootstrapping`. If your node never finishes bootstrapping, follow [this FAQ](http://support.avalabs.org/en/articles/4593908-is-my-node-done-bootstrapping), if you are still experiencing issues please contact us on [Discord.](https://chat.avalabs.org/)
132132

133-
Your node is running and connected now. If you want to use your node as a validator on the main net, check out [this tutorial](tutorials/nodes-and-staking/add-a-validator.md#add-a-validator-with-avalanche-wallet) to find out how to add your node as a validator using the web wallet.
133+
Your node is running and connected now. If you want to use your node as a validator on the main net, check out [this tutorial](add-a-validator.md#add-a-validator-with-avalanche-wallet) to find out how to add your node as a validator using the web wallet.
134134

135135
You can use `Ctrl + C` to kill the node.
136136

@@ -142,7 +142,7 @@ To connect to the Fuji Testnet instead of the main net, use argument `--network-
142142

143143
### Create a Keystore User
144144

145-
Avalanche nodes provide a built-in **Keystore.** The Keystore manages users and is a lot like a [wallet](http://support.avalabs.org/en/articles/4587108-what-is-a-blockchain-wallet). A user is a password-protected identity that a client can use when interacting with blockchains. **You should only create a keystore user on a node that you operate, as the node operator has access to your plaintext password.** To create a user, call [`keystore.createUser`](avalanchego-apis/keystore-api.md#keystore-createuser):
145+
Avalanche nodes provide a built-in **Keystore.** The Keystore manages users and is a lot like a [wallet](http://support.avalabs.org/en/articles/4587108-what-is-a-blockchain-wallet). A user is a password-protected identity that a client can use when interacting with blockchains. **You should only create a keystore user on a node that you operate, as the node operator has access to your plaintext password.** To create a user, call [`keystore.createUser`](../../avalanchego-apis/keystore-api.md#keystore-createuser):
146146

147147
```cpp
148148
curl -X POST --data '{
@@ -166,17 +166,17 @@ The response should be:
166166
}
167167
```
168168

169-
Now, you have a user on this node. Keystore data exists at the node level. Users you create on one node’s Keystore do not exist on other nodes but you can import/export users to/from the Keystore. See the [Keystore API](avalanchego-apis/keystore-api.md) to see how.
169+
Now, you have a user on this node. Keystore data exists at the node level. Users you create on one node’s Keystore do not exist on other nodes but you can import/export users to/from the Keystore. See the [Keystore API](../../avalanchego-apis/keystore-api.md) to see how.
170170

171171
{% hint style="danger" %}
172172
**You should only keep a small amount of your funds on your node.** Most of your funds should be secured by a mnemonic that is not saved to any computer.
173173
{% endhint %}
174174

175175
### Create an Address
176176

177-
Avalanche is a platform of heterogeneous blockchains, one of which is the [X-Chain](../learn/platform-overview/#exchange-chain-x-chain), which acts as a decentralized platform for creating and trading digital assets. We are now going to create an address to hold AVAX on our node.
177+
Avalanche is a platform of heterogeneous blockchains, one of which is the [X-Chain](../../../learn/platform-overview/#exchange-chain-x-chain), which acts as a decentralized platform for creating and trading digital assets. We are now going to create an address to hold AVAX on our node.
178178

179-
To create a new address on the X-Chain, call [`avm.createAddress`](avalanchego-apis/exchange-chain-x-chain-api.md#avm-createaddress), a method of the [X-Chain’s API](avalanchego-apis/exchange-chain-x-chain-api.md):
179+
To create a new address on the X-Chain, call [`avm.createAddress`](../../avalanchego-apis/exchange-chain-x-chain-api.md#avm-createaddress), a method of the [X-Chain’s API](../../avalanchego-apis/exchange-chain-x-chain-api.md):
180180

181181
```cpp
182182
curl -X POST --data '{
@@ -220,7 +220,7 @@ Go to [Avalanche Wallet](https://wallet.avax.network). Click `Access Wallet`, th
220220

221221
Click the `Send` tab on the left. For amount, select, `.002` AVAX. Enter the address of your node, then click `Confirm`.
222222

223-
![web wallet send tab](../.gitbook/assets/web-wallet-send-tab%20%284%29%20%284%29%20%285%29%20%285%29%20%286%29%20%287%29%20%284%29%20%281%29%20%289%29.png)
223+
![web wallet send tab](../../../.gitbook/assets/web-wallet-send-tab%20%284%29%20%284%29%20%285%29%20%285%29%20%286%29%20%287%29%20%284%29%20%281%29%20%289%29.png)
224224

225225
We can check an address’s balance of a given asset by calling `avm.getBalance`, another method of the X-Chain’s API. Let’s check that the transfer went through:
226226

@@ -282,7 +282,7 @@ If you want to specify a particular address where change should go, you can spec
282282

283283
In order to prevent spam, Avalanche requires the payment of a transaction fee. The transaction fee will be automatically deducted from an address controlled by your user when you issue a transaction. Keep that in mind when you’re checking balances below.
284284

285-
{% page-ref page="../learn/platform-overview/transaction-fees.md" %}
285+
{% page-ref page="../../../learn/platform-overview/transaction-fees.md" %}
286286

287287
When you send this request, the node will authenticate you using your username and password. Then, it will look through all the [private keys](http://support.avalabs.org/en/articles/4587058-what-are-public-and-private-keys) controlled by your user until it finds enough AVAX to satisfy the request.
288288

@@ -301,7 +301,7 @@ The response contains the transaction’s ID. It will be different for every inv
301301

302302
#### Checking the Transaction Status
303303

304-
This transaction will only take a second or two to finalize. We can check its status with [`avm.getTxStatus`](avalanchego-apis/exchange-chain-x-chain-api.md#avm-gettxstatus):
304+
This transaction will only take a second or two to finalize. We can check its status with [`avm.getTxStatus`](../../avalanchego-apis/exchange-chain-x-chain-api.md#avm-gettxstatus):
305305

306306
```cpp
307307
curl -X POST --data '{
@@ -356,15 +356,15 @@ The response should be:
356356

357357
In the same fashion, we could check `X-avax1xeaj0h9uy7c5jn6fxjp0rg4g39jeh0hl27vf75` to see that AVAX we sent was deducted from its balance, as well as the transaction fee.
358358

359-
{% page-ref page="tutorials/nodes-and-staking/add-a-validator.md" %}
359+
{% page-ref page="add-a-validator.md" %}
360360

361-
{% page-ref page="tools/avalanchejs/create-an-asset-on-the-x-chain.md" %}
361+
{% page-ref page="../../tools/avalanchejs/create-an-asset-on-the-x-chain.md" %}
362362

363-
{% page-ref page="tutorials/platform/create-a-new-blockchain.md" %}
363+
{% page-ref page="../platform/create-a-new-blockchain.md" %}
364364

365-
{% page-ref page="tutorials/platform/create-a-subnet.md" %}
365+
{% page-ref page="../platform/create-a-subnet.md" %}
366366

367-
{% page-ref page="avalanchego-apis/" %}
367+
{% page-ref page="../../avalanchego-apis/" %}
368368

369-
{% page-ref page="references/" %}
369+
{% page-ref page="../../references/" %}
370370

build/tutorials/platform/create-a-new-blockchain.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In this tutorial, we’ll create a blockchain by creating a new instance of the
88

99
### Prerequisites
1010

11-
You will need a running node, a user on the node, and some AVAX in the address controlled by the user. All of that is covered in the [Run an Avalanche Node](../../run-avalanche-node.md) tutorial.
11+
You will need a running node, a user on the node, and some AVAX in the address controlled by the user. All of that is covered in the [Run an Avalanche Node](../nodes-and-staking/run-avalanche-node.md) tutorial.
1212

1313
Next, you need to have your node be a validator on the [Primary Network](http://support.avalabs.org/en/articles/4135650-what-is-the-primary-network). You can find out how to do that in the [Add a Validator](../nodes-and-staking/add-a-validator.md) tutorial. It is recommended you do that [with API calls](../nodes-and-staking/add-a-validator.md#add-a-validator-with-api-calls), since that is the way you will be interacting with your node in the rest of this tutorial.
1414

build/tutorials/platform/transfer-avax-between-x-chain-and-c-chain.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ AVAX tokens exist on the X-Chain, where they can be traded, on the P-Chain, wher
66

77
## Requirements
88

9-
You've completed [Run an Avalanche Node](../../run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/).
9+
You've completed [Run an Avalanche Node](../nodes-and-staking/run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/).
1010

1111
In order to send AVAX, you need to have some AVAX! You can get real AVAX by buying it on an exchange, or you can get testnet AVAX from the [AVAX Test Faucet](https://faucet.avax-test.network), which is a free and easy way to get to play around with Avalanche.
1212

build/tutorials/platform/transfer-avax-between-x-chain-and-p-chain.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ AVAX tokens exist on the X-Chain, where they can be traded, on the P-Chain, wher
66

77
## Requirements
88

9-
You've completed [Getting Started](../../run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/).
9+
You've completed [Getting Started](../nodes-and-staking/run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/).
1010

1111
In order to send AVAX, you need to have some AVAX! You can get real AVAX by buying it on an exchange, or you can get testnet AVAX from the [AVAX Test Faucet](https://faucet.avax-test.network), which is a free and easy way to get to play around with Avalanche.
1212

build/tutorials/smart-contracts/using-truffle-with-the-avalanche-c-chain.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Requirements
88

9-
You've completed [Run an Avalanche Node](../../run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/). You've also performed a cross-chain swap via the [Transfer AVAX Between X-Chain and C-Chain](../platform/transfer-avax-between-x-chain-and-c-chain.md) tutorial to get funds to your C-Chain address.
9+
You've completed [Run an Avalanche Node](../nodes-and-staking/run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/). You've also performed a cross-chain swap via the [Transfer AVAX Between X-Chain and C-Chain](../platform/transfer-avax-between-x-chain-and-c-chain.md) tutorial to get funds to your C-Chain address.
1010

1111
## Dependencies
1212

build/tutorials/smart-digital-assets/create-a-fix-cap-asset.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Suppose there is an Income Sharing Agreement \(ISA\) with 10M shares, and no mor
88

99
## Requirements
1010

11-
You've completed [Run an Avalanche Node](../../run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/).
11+
You've completed [Run an Avalanche Node](../nodes-and-staking/run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/).
1212

1313
## Create the Asset
1414

build/tutorials/smart-digital-assets/creating-a-nft-part-1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In this tutorial, we’ll create and send NFTs using AvalancheGo’s API. In a f
1010

1111
## Requirements
1212

13-
You've completed [Run an Avalanche Node](../../run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/). In this tutorial, we use [Avalanche’s Postman collection](https://github.com/ava-labs/avalanche-postman-collection) to help us make API calls.
13+
You've completed [Run an Avalanche Node](../nodes-and-staking/run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/). In this tutorial, we use [Avalanche’s Postman collection](https://github.com/ava-labs/avalanche-postman-collection) to help us make API calls.
1414

1515
## Create the NFT Family
1616

build/tutorials/smart-digital-assets/creating-a-variable-cap-asset.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Suppose that we want to issue an asset that represents shares of a corporation.
1313

1414
## Requirements
1515

16-
You've completed [Run an Avalanche Node](../../run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/).
16+
You've completed [Run an Avalanche Node](../nodes-and-staking/run-avalanche-node.md) and are familiar with [Avalanche's architecture](../../../learn/platform-overview/).
1717

1818
## Create the Asset
1919

0 commit comments

Comments
 (0)