Skip to content

Commit

Permalink
feat: update ampd to 0.6.0 (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenFluin authored Jul 17, 2024
1 parent f5c5028 commit 2a30ead
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/pages/validator/amplifier/verifier-onboarding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,18 @@ Install `ampd` from source by cloning and building the [`axelar-amplifier` repos
</tab-item>

<tab-item title="Binary">
Download the [`ampd` binary](https://github.com/axelarnetwork/axelar-amplifier/releases/tag/ampd-v0.5.0) depending on the type of machine you have:
- Linux: [`ampd-linux-amd64-v0.5.0`](https://github.com/axelarnetwork/axelar-amplifier/releases/download/ampd-v0.5.0/ampd-linux-amd64-v0.5.0)
- Apple Silicon Mac: [`ampd-darwin-arm64-v0.5.0`](https://github.com/axelarnetwork/axelar-amplifier/releases/download/ampd-v0.5.0/ampd-darwin-arm64-v0.5.0)
- Intel Mac: [`ampd-darwin-amd64-v0.5.0`](https://github.com/axelarnetwork/axelar-amplifier/releases/download/ampd-v0.5.0/ampd-darwin-amd64-v0.5.0)
Download the [`ampd` binary](https://github.com/axelarnetwork/axelar-amplifier/releases/tag/ampd-v0.6.0) depending on the type of machine you have:
- Linux: [`ampd-linux-amd64-v0.6.0`](https://github.com/axelarnetwork/axelar-amplifier/releases/download/ampd-v0.6.0/ampd-linux-amd64-v0.6.0)
- Apple Silicon Mac: [`ampd-darwin-arm64-v0.6.0`](https://github.com/axelarnetwork/axelar-amplifier/releases/download/ampd-v0.6.0/ampd-darwin-arm64-v0.6.0)
- Intel Mac: [`ampd-darwin-amd64-v0.6.0`](https://github.com/axelarnetwork/axelar-amplifier/releases/download/ampd-v0.6.0/ampd-darwin-amd64-v0.6.0)
</tab-item>

<tab-item title="Docker">
From [Docker](https://hub.docker.com/r/axelarnet/axelar-ampd), pull and run the `0.5.0` version of `ampd`:
From [Docker](https://hub.docker.com/r/axelarnet/axelar-ampd), pull and run the `0.6.0` version of `ampd`:

```bash
docker pull axelarnet/axelar-ampd:v0.5.0
docker run axelarnet/axelar-ampd:v0.5.0 verifier-address
docker pull axelarnet/axelar-ampd:v0.6.0
docker run axelarnet/axelar-ampd:v0.6.0 verifier-address
```
</tab-item>

Expand All @@ -105,28 +105,28 @@ This will allow you to begin commands with `ampd`. If you set up `ampd` through
1. Add a symbolic link named `ampd` in your binaries folder.:

```bash
sudo ln -s ~/Downloads/ampd-*-v0.5.0 /usr/local/bin/ampd
sudo ln -s ~/Downloads/ampd-*-v0.6.0 /usr/local/bin/ampd
```
1. Make the binary executable:

```bash
chmod a+x ~/Downloads/ampd-*-v0.5.0
chmod a+x ~/Downloads/ampd-*-v0.6.0
```

1. Restart your terminal.

1. Run `ampd --version` to make sure that the right version of `ampd` is being used. It should be `ampd 0.5.0`.
1. Run `ampd --version` to make sure that the right version of `ampd` is being used. It should be `ampd 0.6.0`.
</tab-item>

<tab-item title="<code>bash</code> alias">
<Callout>
Replace `ampd-darwin-arm64-v0.5.0` with the [`ampd` binary you downloaded](/validator/amplifier/verifier-onboarding#set-up-ampd).
Replace `ampd-darwin-arm64-v0.6.0` with the [`ampd` binary you downloaded](/validator/amplifier/verifier-onboarding#set-up-ampd).
</Callout>

1. Add an alias to `ampd` at the end of the `.bashrc` file on your machine:

```bash
echo "ampd=~/Downloads/ampd-darwin-arm64-v0.5.0" >> ~/.bashrc
echo "ampd=~/Downloads/ampd-darwin-arm64-v0.6.0" >> ~/.bashrc
```

1. Save and close the file.
Expand All @@ -139,17 +139,17 @@ Replace `ampd-darwin-arm64-v0.5.0` with the [`ampd` binary you downloaded](/vali

1. Restart your terminal.

1. Run `ampd --version` to make sure that the right version of `ampd` was installed on your machine. It should be `ampd 0.5.0`.
1. Run `ampd --version` to make sure that the right version of `ampd` was installed on your machine. It should be `ampd 0.6.0`.
</tab-item>

<tab-item title="<code>zsh</code> alias">
<Callout>
Replace `ampd-darwin-arm64-v0.5.0` with the [`ampd` binary you downloaded](/validator/amplifier/verifier-onboarding#set-up-ampd).
Replace `ampd-darwin-arm64-v0.6.0` with the [`ampd` binary you downloaded](/validator/amplifier/verifier-onboarding#set-up-ampd).
</Callout>
1. Add an alias to `ampd` at the end of the `.zshrc` file on your machine:

```bash
echo "ampd=~/Downloads/ampd-darwin-arm64-v0.5.0" >> ~/.zshrc
echo "ampd=~/Downloads/ampd-darwin-arm64-v0.6.0" >> ~/.zshrc
```

1. Save and close the file.
Expand All @@ -162,7 +162,7 @@ Replace `ampd-darwin-arm64-v0.5.0` with the [`ampd` binary you downloaded](/vali

1. Restart your terminal.

1. Run `ampd --version` to make sure that the right version of `ampd` was installed on your machine. It should be `ampd 0.5.0`.
1. Run `ampd --version` to make sure that the right version of `ampd` was installed on your machine. It should be `ampd 0.6.0`.
</tab-item>

</tabs>
Expand Down Expand Up @@ -233,7 +233,7 @@ Prior to running the `ampd` daemon, you will need to set up your wallet with dev
```

<Callout>
If you get a security warning while trying to run `ampd` on an Apple Silicon Mac, you can disable the [gatekeeper](https://support.apple.com/guide/security/gatekeeper-and-runtime-protection-sec5599b66df/web) for a single binary with `sudo xattr -d com.apple.quarantine ~/Downloads/ampd-darwin-arm64-v0.5.0` or disable gatekeeper globally with `sudo spctl --master-disable`.
If you get a security warning while trying to run `ampd` on an Apple Silicon Mac, you can disable the [gatekeeper](https://support.apple.com/guide/security/gatekeeper-and-runtime-protection-sec5599b66df/web) for a single binary with `sudo xattr -d com.apple.quarantine ~/Downloads/ampd-darwin-arm64-v0.6.0` or disable gatekeeper globally with `sudo spctl --master-disable`.
</Callout>

1. Fund your verifier address.
Expand All @@ -256,16 +256,16 @@ Prior to running the `ampd` daemon, you will need to set up your wallet with dev

Bonded verifiers will stay bonded until they unbond or are removed by governance.

1. Register your public key:
1. Register your public key with `ecsda` or `ed25519`:

```bash
ampd register-public-key
ampd register-public-key ecsda
```

1. Register support for desired chains, enabling `ampd` to participate in voting and signing for the specified chains. As our configuration only supports Avalanche, the command is:
1. Register support for desired chains, enabling `ampd` to participate in voting and signing for your supported chains.

```bash
ampd register-chain-support validators avalanche
ampd register-chain-support validators avalanche ehereum-sepolia
```

Multiple chain names can be passed, separated by a space (`ampd register-chain-support [service name] [chains]...`). Note that any chain you want to support here must be configured in your ampd `config.toml` file.
Expand Down

0 comments on commit 2a30ead

Please sign in to comment.