Skip to content

Commit

Permalink
reorg evm pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sambukowski committed Sep 16, 2024
1 parent 2ed6fa8 commit d95ff81
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 57 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function sidebar() {
text: 'Flame EVM',
collapsed: true,
items: [
{ text: 'The Flame EVM', link: '/flame-evm/flame.md' },
{ text: 'EVM', link: '/flame-evm/flame.md' },
]
},
{
Expand Down
56 changes: 13 additions & 43 deletions docs/astria-evm/overview.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,19 @@
# Astria EVM
# EVM

## Network Information
The Astria EVM is a rollup running on top of the Astria
Sequencer Network. It is a fork of
[Geth](https://github.com/ethereum/go-ethereum).

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

## Adding to Metamask
Below are the RPC endpoint for the different Flame EVMs running on different networks.

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)
| Network | EVM RPC |
|---|---|
| Dawn | [https://rpc.evm.dawn-0.astria.org](https://rpc.flame.dawn-0.astria.org) |
| Dusk | [https://rpc.evm.dusk-10.devnet.astria.org](https://rpc.evm.dusk-10.devnet.astria.org) |
| Local | [http://127.0.0.1:26657](http://127.0.0.1:26657) |

Your settings should be the following:
## Bridging

* Network Name: `dusk-10`
* New RPC URL: `https://rpc.evm.dusk-10.devnet.astria.org`
* Chain ID: `912559`
* Currency symbol: `TIA`
* Block Explorer URL: `<empty>`

## Using Cast

Set your `ETH_RPC_URL`:

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

```bash
export REC_ADDR=<SOME_ADDRESS>
```

```bash
cast balance $REC_ADDR
```

```bash
cast send $REC_ADDR --value 10000000000000000000 --private-key <PRIVATE-KEY>
```

```bash
cast balance $REC_ADDR
```
TODO add info on bridging flow.
58 changes: 45 additions & 13 deletions docs/flame-evm/flame.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,51 @@
# The Flame EVM
# Astria EVM

Flame is an EVM rollup running on top of the Astria
Sequencer Network. It is a fork of
[Geth](https://github.com/ethereum/go-ethereum).
## Network Information

## RPC Endpoints
| Property | Value |
|-----|-----|
| Network Name | dusk-10 |
| RPC URL | [https://rpc.flame.dawn-0.astria.org](https://rpc.flame.dawn-0.astria.org) |
| Chain ID | `912559` |
| Currency Symbol | `TIA` |
| Dora | TODO |
| EVM Faucet | TODO |
| Block Explorer | [https://explorer.flame.dawn-0.astria.org/](https://explorer.flame.dawn-0.astria.org/) |

Below are the RPC endpoint for the different Flame EVMs running on different networks.
## Adding to Metamask

| Network | EVM RPC |
|---|---|
| Dawn | [https://rpc.evm.dawn-0.astria.org](https://rpc.flame.dawn-0.astria.org) |
| Dusk | [https://rpc.evm.dusk-10.devnet.astria.org](https://rpc.evm.dusk-10.devnet.astria.org) |
| Local | [http://127.0.0.1:26657](http://127.0.0.1:26657) |
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)

## Bridging
Your settings should be the following:

TODO add info on bridging flow.
| Property | Value |
| --- | --- |
| Network Name | `dawn-0` |
| New RPC URL | [https://rpc.flame.dawn-0.astria.org](https://rpc.flame.dawn-0.astria.org) |
| Chain ID | `912559` |
| Currency symbol | `TIA` |
| Block Explorer | [https://explorer.flame.dawn-0.astria.org/](https://explorer.flame.dawn-0.astria.org/) |

## Using Cast

Set your `ETH_RPC_URL`:

```bash
export ETH_RPC_URL=https://rpc.flame.dawn-0.astria.org
```

```bash
export REC_ADDR=<SOME_ADDRESS>
```

```bash
cast balance $REC_ADDR
```

```bash
cast send $REC_ADDR --value 10000000000000000000 --private-key <PRIVATE-KEY>
```

```bash
cast balance $REC_ADDR
```

0 comments on commit d95ff81

Please sign in to comment.