-
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.
Refactor of docs: New section headings: - Learn - Pages for Flame - Networks - Developers - Tutorials Dawn and Dusk endpoints updates. Updated `astria-go` and `astria-cli` documentation. Added new API, `spamooor`, and Deployment Charts sections. partially related to #80 closes #28 closes #74 --------- Co-authored-by: Eshita Nandini <[email protected]> Co-authored-by: quasystaty <[email protected]>
- Loading branch information
1 parent
99b634a
commit 3f2caee
Showing
49 changed files
with
3,419 additions
and
1,169 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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"default": true, | ||
"MD001": false, | ||
"MD013": { | ||
"code_block_line_length": 120, | ||
"MD013": { | ||
"code_blocks": false, | ||
"line_length": 80, | ||
"tables": false | ||
}, | ||
"MD024": { | ||
"allow_different_nesting": true | ||
}, | ||
"MD032": false | ||
} | ||
} |
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 |
---|---|---|
@@ -1,47 +1,65 @@ | ||
# Astria Docs | ||
|
||
The Astria Docs website built with [VitePress](https://vitepress.dev/) | ||
The [Astria Docs website](https://docs.astria.org/) built with [VitePress](https://vitepress.dev/) | ||
|
||
### Installation | ||
## Installation | ||
|
||
To get started, clone the repository and run the following: | ||
|
||
``` | ||
```bash | ||
npm add -D vitepress | ||
``` | ||
|
||
### Local Development | ||
## Local Development | ||
|
||
To run a local development site: | ||
|
||
``` | ||
```bash | ||
npm run docs:dev | ||
``` | ||
|
||
This command starts a local development server. Most changes are reflected live without having to restart the server. | ||
This command starts a local development server. Most changes are reflected live | ||
without having to restart the server. | ||
|
||
### Build | ||
## Build | ||
|
||
``` | ||
```bash | ||
npm run docs:build | ||
``` | ||
|
||
This command generates static content into the `build` directory and can be served using any static contents hosting service. | ||
This command generates static content into the `build` directory and can be | ||
served using any static contents hosting service. | ||
|
||
### Deployment | ||
## Deployment | ||
|
||
``` | ||
```bash | ||
npm run docs:preview | ||
``` | ||
|
||
This command starts a local server from the static content generated above for preview before deployment. | ||
This command starts a local server from the static content generated above for | ||
preview before deployment. | ||
|
||
The main [Astria docs website](https://docs.astria.org/) is deployed using the | ||
[github deploy action](.github/workflows/deploy.yml). | ||
|
||
## Linting | ||
|
||
Linting commands: | ||
|
||
```bash | ||
just lint-md | ||
``` | ||
|
||
The main astria docs website is deployed using the [github deploy action](.github/workflows/deploy.yml). | ||
Linting follows [these | ||
rules](https://github.com/DavidAnson/markdownlint/tree/main?tab=readme-ov-file#rules--aliases). | ||
|
||
### Contribution Guidelines | ||
## Contribution Guidelines | ||
|
||
* Fork & Clone: Fork this repository and clone it to your local machine. | ||
* Branch: Always create a new branch for your changes. Naming it relevantly. | ||
* Commit Changes: Make your changes and commit them with a clear and concise commit message. | ||
* Push & Create PR: Push your changes to your fork and create a pull request to the main branch of this repository. | ||
* Please ensure to review the detailed Contribution Guidelines above before making a pull request. | ||
* Commit Changes: Make your changes and commit them with a clear and concise | ||
commit message. | ||
* Push & Create PR: Push your changes to your fork and create a pull request to | ||
the main branch of this repository. | ||
* Please ensure to review the detailed Contribution Guidelines above before | ||
making a pull request. |
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
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 |
---|---|---|
@@ -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. |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
|
||
<!-- markdownlint-disable MD041 --> | ||
|
||
::: code-group | ||
|
||
```bash [SSH] | ||
|
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 |
---|---|---|
@@ -1,31 +1,32 @@ | ||
<!-- markdownlint-disable MD041 MD013 --> | ||
|
||
::: code-group | ||
|
||
```bash [ARM Mac] | ||
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.15.0/astria-go-v0.15.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 [ARM Mac] | ||
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.15.0/astria-go-v0.15.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.15.0/astria-go-v0.15.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 Mac] | ||
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.15.0/astria-go-v0.15.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.15.0/astria-go-v0.15.0-linux-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.15.0/astria-go-v0.15.0-linux-amd64.tar.gz > astria-cli.tar.gz | ||
tar -xvzf astria-cli.tar.gz | ||
mv astria-go /usr/local/bin/ | ||
astria-go version | ||
``` | ||
|
||
::: | ||
|
||
<!-- <Tabs> | ||
<TabItem value="ARM Mac" label="ARM Mac" default> </TabItem> | ||
<TabItem value="X86_64 Mac" label="X86_64 Mac"> </TabItem> | ||
<TabItem value="x86_64 Linux" label="x86_64 Linux"> </TabItem> | ||
</Tabs> --> |
Oops, something went wrong.