Skip to content

Commit

Permalink
update for dusk 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sambukowski committed Jun 26, 2024
1 parent 817aa29 commit af237ee
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 71 deletions.
Binary file removed docs/astria-evm/assets/metamask-dusk2.png
Binary file not shown.
18 changes: 7 additions & 11 deletions docs/astria-evm/overview.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
---
sidebar_position: 1
---

# Astria EVM

## Network Information

| Property | Value |
|-----|-----|
| Network Name | dusk-7 |
| RPC URL | [https://rpc.evm.dusk-7.devnet.astria.org](https://rpc.evm.dusk-7.devnet.astria.org) |
| Network Name | dusk-8 |
| RPC URL | [https://rpc.evm.dusk-8.devnet.astria.org](https://rpc.evm.dusk-8.devnet.astria.org) |
| Chain ID | 912559 |
| Currency Symbol | RIA |
| Dora | [https://www.ondora.xyz/network/astria-devnet](https://www.ondora.xyz/network/astria-devnet) |
| Faucet | [https://faucet.evm.dusk-7.devnet.astria.org](https://faucet.evm.dusk-7.devnet.astria.org) |
| Block Scout | [https://explorer.evm.dusk-7.devnet.astria.org/](https://explorer.evm.dusk-7.devnet.astria.org/) |
| Faucet | [https://faucet.evm.dusk-8.devnet.astria.org](https://faucet.evm.dusk-8.devnet.astria.org) |
| Block Scout | [https://explorer.evm.dusk-8.devnet.astria.org/](https://explorer.evm.dusk-8.devnet.astria.org/) |

## Adding to Metamask

Follow Metamask's official documentation to [manually add a custom network.](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC#h_01G63GGJ83DGDRCS2ZWXM37CV5)

Your settings should be the following:

* Network Name: `dusk-7`
* New RPC URL: `https://rpc.evm.dusk-7.devnet.astria.org`
* Network Name: `dusk-8`
* New RPC URL: `https://rpc.evm.dusk-8.devnet.astria.org`
* Chain ID: `912559`
* Currency symbol: `RIA`
* Block Explorer URL: `<empty>`
Expand All @@ -33,7 +29,7 @@ Your settings should be the following:
Set your `ETH_RPC_URL`:

```bash
export ETH_RPC_URL=https://rpc-archive.evm.dusk-7.devnet.astria.org/
export ETH_RPC_URL=https://rpc.evm.dusk-8.devnet.astria.org
```

```bash
Expand Down
17 changes: 17 additions & 0 deletions docs/components/_astria-go-cli-build-from-source.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
This requires `Go` and `just` to be installed on your system.

- Go: <https://go.dev/doc/install>
- just: <https://github.com/casey/just>

```bash
git clone [email protected]:astriaorg/astria-cli-go.git
cd astria-cli-go
just build-cli

# run the cli in the repo directory
just run version

# OR you can move the binary to a location in your PATH if you'd like
mv ./bin/astria-go /usr/local/bin/
astria-go version
```
6 changes: 3 additions & 3 deletions docs/components/_astria-go-cli-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
::: code-group

```bash [ARM Mac]
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.9.0/astria-go-v0.9.0-darwin-arm64.tar.gz > astria-cli.tar.gz
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.11.0/astria-go-v0.9.0-darwin-arm64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go version
```

```bash [X86_64 Mac]
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.9.0/astria-go-v0.9.0-darwin-amd64.tar.gz > astria-cli.tar.gz
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.11.0/astria-go-v0.9.0-darwin-amd64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go version
```

```bash [x86_64 Linux]
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.9.0/astria-go-v0.9.0-linux-amd64.tar.gz > astria-cli.tar.gz
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.11.0/astria-go-v0.9.0-linux-amd64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go version
Expand Down
12 changes: 6 additions & 6 deletions docs/components/_remote-endpoints.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
| Name | Endpoint |
|---|---|
| EVM JSON RPC | [https://rpc.evm.dusk-7.devnet.astria.org](https://rpc.evm.dusk-7.devnet.astria.org) |
| EVM Block Explorer | [https://explorer.evm.dusk-7.devnet.astria.org](https://explorer.evm.dusk-7.devnet.astria.org) |
| EVM Faucet | [https://faucet.evm.dusk-7.devnet.astria.org](https://faucet.evm.dusk-7.devnet.astria.org) |
| Sequencer RPC | [https://rpc.sequencer.dusk-7.devnet.astria.org](https://rpc.sequencer.dusk-7.devnet.astria.org) |
| Sequencer gRPC | [https://grpc.sequencer.dusk-7.devnet.astria.org](https://grpc.sequencer.dusk-7.devnet.astria.org) |
| Sequencer Faucet | [https://faucet.sequencer.dusk-7.devnet.astria.org](https://faucet.sequencer.dusk-7.devnet.astria.org) |
| EVM JSON RPC | [https://rpc.evm.dusk-8.devnet.astria.org](https://rpc.evm.dusk-8.devnet.astria.org) |
| EVM Block Explorer | [https://explorer.evm.dusk-8.devnet.astria.org](https://explorer.evm.dusk-8.devnet.astria.org) |
| EVM Faucet | [https://faucet.evm.dusk-8.devnet.astria.org](https://faucet.evm.dusk-8.devnet.astria.org) |
| Sequencer RPC | [https://rpc.sequencer.dusk-8.devnet.astria.org](https://rpc.sequencer.dusk-8.devnet.astria.org) |
| Sequencer gRPC | [https://grpc.sequencer.dusk-8.devnet.astria.org](https://grpc.sequencer.dusk-8.devnet.astria.org) |
| Sequencer Faucet | [https://faucet.sequencer.dusk-8.devnet.astria.org](https://faucet.sequencer.dusk-8.devnet.astria.org) |
6 changes: 3 additions & 3 deletions docs/developer/references/astria-go/cli-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ astria-go sequencer bridge init [rollup-id] [flags]
| `--keyfile` | string | `ASTRIA_GO_KEYFILE` | Path to secure keyfile for the bridge account. |
| `--keyring-address` | string | `ASTRIA_GO_KEYRING_ADDRESS` | The address of the bridge account. Requires private key be stored in keyring. |
| `--privkey` | string | `ASTRIA_GO_PRIVKEY` | The private key of the bridge account. |
| `-c`, `--sequencer-chain-id` | string | `ASTRIA_GO_SEQUENCER_CHAIN_ID` | The chain ID of the sequencer. (default "astria-dusk-5") |
| `-c`, `--sequencer-chain-id` | string | `ASTRIA_GO_SEQUENCER_CHAIN_ID` | The chain ID of the sequencer. (default "astria-dusk-8") |
| `-u`, `--sequencer-url` | string | `ASTRIA_GO_SEQUENCER_URL` | The URL of the sequencer to init bridge account (default "<http://127.0.0.1:26657>") |

## `sequencer bridge lock`
Expand All @@ -293,7 +293,7 @@ astria-go sequencer bridge lock [address] [amount] [destination-chain-address] [
| `--keyfile` | string | `ASTRIA_GO_KEYFILE` | Path to secure keyfile for the bridge account. |
| `--keyring-address` | string | `ASTRIA_GO_KEYRING_ADDRESS` | The address of the bridge account. Requires private key be stored in keyring. |
| `--privkey` | string | `ASTRIA_GO_PRIVKEY` | The private key of the bridge account. |
| `-c`, `--sequencer-chain-id` | string | `ASTRIA_GO_SEQUENCER_CHAIN_ID` | The chain ID of the sequencer. (default "astria-dusk-5") |
| `-c`, `--sequencer-chain-id` | string | `ASTRIA_GO_SEQUENCER_CHAIN_ID` | The chain ID of the sequencer. (default "astria-dusk-8") |
| `-u`, `--sequencer-url` | string | `ASTRIA_GO_SEQUENCER_URL` | The URL of the sequencer where the bridge account resides (default "<http://127.0.0.1:26657>") |

## `sequencer createaccount`
Expand Down Expand Up @@ -372,5 +372,5 @@ astria-go sequencer transfer [amount] [to] [flags]
| `--keyfile` | string | `ASTRIA_GO_KEYFILE` | Path to secure keyfile for sender. |
| `--keyring-address` | string | `ASTRIA_GO_KEYRING_ADDRESS` | The address of the sender. Requires private key be stored in keyring. |
| `--privkey` | string | `ASTRIA_GO_PRIVKEY` | The private key of the sender. |
| `-c`, `--sequencer-chain-id` | string | `ASTRIA_GO_SEQUENCER_CHAIN_ID` | The chain ID of the sequencer. (default "astria-dusk-5") |
| `-c`, `--sequencer-chain-id` | string | `ASTRIA_GO_SEQUENCER_CHAIN_ID` | The chain ID of the sequencer. (default "astria-dusk-8") |
| `-u`, `--sequencer-url` | string | `ASTRIA_GO_SEQUENCER_URL` | The URL of the sequencer. (default "<http://127.0.0.1:26657>") |
18 changes: 1 addition & 17 deletions docs/developer/references/astria-go/cli-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,4 @@ View all releases [here](https://github.com/astriaorg/astria-cli-go/releases).

## Build from Source

This requires `Go` and `just` to be installed on your system.

- Go: <https://go.dev/doc/install>
- just: <https://github.com/casey/just>

```bash
git clone [email protected]:astriaorg/astria-cli-go.git
cd astria-cli-go
just build

# run the cli in the repo directory
just run version

# OR you can move the binary to a location in your PATH if you'd like
mv ./bin/astria-go /usr/local/bin/
astria-go version
```
<!--@include: ../../../components/_astria-go-cli-build-from-source.md-->
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ For example, the default Astria Dusk dev net configuration is as follows:

```toml
[dusk]
sequencer_chain_id = 'astria-dusk-7'
sequencer_grpc = 'https://grpc.sequencer.dusk-7.devnet.astria.org/'
sequencer_rpc = 'https://rpc.sequencer.dusk-7.devnet.astria.org/'
sequencer_chain_id = 'astria-dusk-8'
sequencer_grpc = 'https://grpc.sequencer.dusk-8.devnet.astria.org/'
sequencer_rpc = 'https://rpc.sequencer.dusk-8.devnet.astria.org/'
rollup_name = ''
default_denom = 'nria'
```
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/references/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
| Network | Sequencer RPC |
|---|---|
| local | <http://127.0.0.1:26657> |
| Dusk | <https://rpc.sequencer.dusk-7.devnet.astria.org/> |
| Dusk | <https://rpc.sequencer.dusk-8.devnet.astria.org/> |
18 changes: 1 addition & 17 deletions docs/developer/tutorials/install-the-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,7 @@ View all releases [here](https://github.com/astriaorg/astria-cli-go/releases).

## Build from Source

This requires `Go` and `just` to be installed on your system.

- Go: <https://go.dev/doc/install>
- just: <https://github.com/casey/just>

```bash
git clone [email protected]:astriaorg/astria-cli-go.git
cd astria-cli-go
just build

# run the cli in the repo directory
just run version

# OR you can move the binary to a location in your PATH if you'd like
mv ./bin/astria-go /usr/local/bin/
astria-go version
```
<!--@include: ../../components/_astria-go-cli-build-from-source.md-->

## Commands Used in this Tutorial

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ additional genesis information to work with the remote sequencer.
Run the following using the Astira cli:

```bash
astria-go sequencer blockheight --sequencer-url https://rpc.sequencer.dusk-7.devnet.astria.org
astria-go sequencer blockheight
```

Then, open the `geth-genesis-local.json` file and update the `chainId` and
Expand Down Expand Up @@ -129,9 +129,9 @@ rollup](#setup-a-geth-rollup).

```toml
[dusk]
sequencer_chain_id = 'astria-dusk-7'
sequencer_grpc = 'https://grpc.sequencer.dusk-7.devnet.astria.org/'
sequencer_rpc = 'https://rpc.sequencer.dusk-7.devnet.astria.org/'
sequencer_chain_id = 'astria-dusk-8'
sequencer_grpc = 'https://grpc.sequencer.dusk-8.devnet.astria.org/'
sequencer_rpc = 'https://rpc.sequencer.dusk-8.devnet.astria.org/'
rollup_name = '<your rollup name>' # update this value
default_denom = 'nria'
```
Expand All @@ -146,7 +146,7 @@ but your Composer will not be able to write transactions to the sequencer.
:::

You can then use the [Sequencer
Faucet](https://faucet.sequencer.dusk-7.devnet.astria.org/) to fund the account
Faucet](https://faucet.sequencer.dusk-8.devnet.astria.org/) to fund the account
you just created using the account address.

## Run the local Astria components against the Remote Sequencer
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/tutorials/test-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ issue:
2. Create a new sequencer account with `astria-go sequencer createaccount` or
use an existing account if you already have one for testing, and fund the
account using the [Sequencer
Faucet](https://faucet.sequencer.dusk-5.devnet.astria.org/).
Faucet](https://faucet.sequencer.dusk-8.devnet.astria.org/).
3. Make sure the `astria_composer_private_key` variable in the
`~/.astria/default/config/base-config.toml` is set to the private key for your funded
sequencer account.
Expand Down
8 changes: 4 additions & 4 deletions docs/dusk-faq/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

## Software Versions

The latest Devnet (dusk-7) runs the following software versions:
The latest Devnet (dusk-8) runs the following software versions:

- [conductor v0.16.0](https://github.com/astriaorg/astria/releases/tag/conductor-v0.16.0)
- [conductor v0.17.0](https://github.com/astriaorg/astria/releases/tag/conductor-v0.17.0)
- [composer v0.7.0](https://github.com/astriaorg/astria/releases/tag/composer-v0.7.0)
- [sequencer-relayer v0.14.0](https://github.com/astriaorg/astria/releases/tag/sequencer-relayer-v0.14.0)
- [sequencer v0.13.0](https://github.com/astriaorg/astria/releases/tag/sequencer-v0.13.0)
- [Geth EVM v0.5.2](https://github.com/astriaorg/go-ethereum/releases/tag/geth1.13-v0.5.2)
- [sequencer v0.15.0](https://github.com/astriaorg/astria/releases/tag/sequencer-v0.15.0)
- [astria-geth EVM v0.12.0](https://github.com/astriaorg/astria-geth/releases/tag/v0.12.0)
- [CometBFT v0.38.6](https://github.com/cometbft/cometbft/releases/tag/v0.38.6)

## Install the latest Astria cli
Expand Down

0 comments on commit af237ee

Please sign in to comment.