Skip to content

Commit

Permalink
Merge pull request #232 from anoma/bengt/cleanup
Browse files Browse the repository at this point in the history
cleanup
  • Loading branch information
bengtlofgren authored Jan 5, 2024
2 parents 9c8a00d + 9965d47 commit 258df84
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/docs/pages/introduction/install/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ For example if you wanted to build the docker image for Namada v0.16.0 and chain

```bash copy
export CHAIN_ID=public-testnet-69.0.b20a1337aa1
export BRANCH=v0.16.0
export BRANCH=v0.28.2 #The latest branch of Namada
```

Then you can build the docker image by running:
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/networks/testnets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For more context read:
- From date: 18th of December 2023 17:00 UTC
- Namada protocol version: `v0.28.1`
- Cometbft version: `0.37.2`
- CHAIN_ID: `tbd`
- CHAIN_ID: `public-testnet-15.0dacadb8d663`

The history of all testnets can be found [here](./testnets/testnet-history.mdx).

Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/networks/testnets/testnet-history.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ No upgrades are currently scheduled.
- From date: 18th of December 2023 17:00 UTC
- Namada protocol version: `v0.28.1`
- Cometbft version: `0.37.2`
- CHAIN_ID: `tbd`
- CHAIN_ID: `public-testnet-15.0dacadb8d663`


## Testnet History Timeline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To vote on an offline proposal use the following command:
namada client vote-proposal --data-path proposal \
--vote yay \
--signing-keys your-signing-keys-for-voter \
--voter your-established-account \
--address your-established-account \
--offline
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ Only delegators and delegates can vote on proposals. Assuming you fall into one
namada client vote-proposal \
--proposal-id 0 \
--vote yay \
--address <your-address> \
--signing-keys <your-alias>
```

Expand Down
6 changes: 3 additions & 3 deletions packages/docs/pages/users/wallet/web-wallet.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Web Wallet

## Install
When Namada is in `mainnet`, the web wallet will be available in most browser extension web stores. For now, you can install it from source by following the instructions below.
When Namada is in [`mainnet`](../../networks/mainnets.mdx), the web wallet will be available in most browser extension web stores. For now, the user can install it from source by following the instructions below.

### Installing from source (for development and experiment purposes)

#### Connect to a testnet or run a local node
1. Follow the instructions for the [testnets](../../networks/testnets.mdx) to connect to a testnet or set up a local node using [docker](../../introduction/install/docker.mdx).
1. Follow the instructions for the [testnets](../../networks/testnets.mdx) to connect to a testnet or [set up a local node](../../operators/networks/local-network.mdx).
2. Figure out where the base directory is stored and save its location as a variable such as `export BASE_DIR=<path/to/base/dir>`.
You can follow [these docs](../../networks/testnets/migrating-testnets.mdx#after-v0153) to save this variable. Go ahead and save the chain id as a variable as well. You can find the chain id by running `cat $BASE_DIR/global-config.toml`. Save this chain-id to the variable `export CHAIN_ID=<CHAIN_ID>`.
You can follow [these docs](../../networks/testnets/migrating-testnets.mdx) to save this variable. Go ahead and save the chain id as a variable as well. You can find the chain id by running `cat $BASE_DIR/global-config.toml`. Save this chain-id to the variable `export CHAIN_ID=<CHAIN_ID>`.
3. You will need to edit the CometBFT config in order to allow the web wallet to connect to your node.
The CometBFT config will be located in `$BASE_DIR/$CHAIN_ID/cometbft/config/config.toml`. You will need to change the `cors_allowed_origins` field to `["*"]`. You can do this by running
```shell copy
Expand Down

0 comments on commit 258df84

Please sign in to comment.