You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cosmovisor/README.md
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,11 @@
1
1
---
2
-
sidebar_position: 2
2
+
sidebar_position: 1
3
3
---
4
4
5
5
# Cosmovisor
6
6
7
7
`cosmovisor` is a small process manager for Cosmos SDK application binaries that monitors the governance module for incoming chain upgrade proposals. If it sees a proposal that gets approved, `cosmovisor` can automatically download the new binary, stop the current binary, switch from the old binary to the new one, and finally restart the node with the new binary.
8
8
9
-
<!-- TOC -->
10
9
*[Design](#design)
11
10
*[Contributing](#contributing)
12
11
*[Setup](#setup)
@@ -49,21 +48,21 @@ You can download Cosmovisor from the [GitHub releases](https://github.com/cosmos
49
48
50
49
To install the latest version of `cosmovisor`, run the following command:
51
50
52
-
```sh
51
+
```shell
53
52
go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@latest
54
53
```
55
54
56
55
To install a previous version, you can specify the version. IMPORTANT: Chains that use Cosmos-SDK v0.44.3 or earlier (eg v0.44.2) and want to use auto-download feature MUST use `cosmovisor v0.1.0`
57
56
58
-
```sh
57
+
```shell
59
58
go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v0.1.0
60
59
```
61
60
62
61
Run `cosmovisor version` to check the cosmovisor version.
63
62
64
63
You can also install from source by pulling the cosmos-sdk repository and switching to the correct version and building as follows:
65
64
66
-
```sh
65
+
```shell
67
66
git clone git@github.com:cosmos/cosmos-sdk
68
67
cd cosmos-sdk
69
68
git checkout cosmovisor/vx.x.x
@@ -72,7 +71,7 @@ make cosmovisor
72
71
73
72
This will build cosmovisor in `/cosmovisor` directory. Afterwards you may want to put it into your machine's PATH like as follows:
74
73
75
-
```sh
74
+
```shell
76
75
cp cosmovisor/cosmovisor ~/go/bin/cosmovisor
77
76
```
78
77
@@ -210,7 +209,7 @@ If `DAEMON_ALLOW_DOWNLOAD_BINARIES` is set to `true`, and no local binary can be
210
209
211
210
When submitting this as a proposal ensure there are no spaces. An example command using `gaiad` could look like:
Open a new terminal window and submit an upgrade proposal along with a deposit and a vote (these commands must be run within 20 seconds of each other):
355
354
Note, when using a `v0.46+` chain, replace `submit-proposal` by `submit-legacy-proposal`.
Each flag is bound to it's respecteve named environment variable. Then name of the environment variable consist of two parts - capital case `basename` followed by flag name of the flag. `-` must be substituted with `_`. For example flag `--home` for application with basename `GAIA` is bound to `GAIA_HOME`. It allows reducing the amount of flags typed for routine operations. For example instead of:
Copy file name to clipboardExpand all lines: docs/docs/ecosystem/README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,12 @@ Read more about writing smart contracts with CosmWasm at their [documentation si
22
22
23
23
Read more about writing smart contracts with solidity at the official [`evm` documentation page](https://docs.evmos.org/modules/evm/).
24
24
25
+
## Explore Further
25
26
27
+
:::tip
28
+
For non Cosmos SDK related tooling, you can have a look at the [Awesome Cosmos](https://github.com/cosmos/awesome-cosmos) GitHub repository.
29
+
:::
26
30
27
-
> Note: If you would like to add your tooling to this section, please make a pr to the cosmos-sdk, we will gladly accept it.
31
+
:::note
32
+
If you would like to add your tooling to this section, please make a [PR to the Cosmos SDK](https://github.com/cosmos/cosmos-sdk/edit/main/docs/docs/ecosystem/README.md).
0 commit comments