-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description <!-- Describe your changes in detail --> Adds a section to the docs for the Astria EVM on dusk-2 ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> <!-- If it fixes an open issue, please link to the issue here. --> ## Screenshots (if appropriate): <!-- Provide before and after screen shots --> ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [x] Edits to existing documentation - [x] Changing documentation structure (relocating existing files, ensure redirects exist) - [ ] Stylistic changes (provide screenshots above)
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Astria EVM | ||
|
||
## Network Information | ||
|
||
| Property | Value | | ||
|-----|-----| | ||
| Network Name | dusk-2 | | ||
| RPC URL | <https://rpc.evm.dusk-2.devnet.astria.org> | | ||
| Chain ID | 912559 | | ||
| Currency Symbol | RIA | | ||
| Dora | <https://www.ondora.xyz/network/astria-devnet> | | ||
| Faucet | <https://faucet.evm.dusk-2.devnet.astria.org> | | ||
| Block Scout | <https://explorer.evm.dusk-2.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 look like the image below | ||
|
||
![Metamask](assets/metamask-dusk2.png) | ||
|
||
## Using Cast | ||
|
||
Set your `ETH_RPC_URL`: | ||
|
||
```bash | ||
export ETH_RPC_URL=https://rpc-archive.evm.dusk-2.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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "The Astria EVM", | ||
"position": 4, | ||
"link": { | ||
"type": "doc", | ||
"id": "astria-evm/overview" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.