Skip to content

Commit

Permalink
Refactor Astria overview and components sections (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: Fraser Hutchison <fraser@astria.org>
Co-authored-by: itamar <itamar.reif@gmail.com>
  • Loading branch information
3 people authored Jun 3, 2024
1 parent fa51e43 commit f38fa22
Show file tree
Hide file tree
Showing 42 changed files with 496 additions and 999 deletions.
39 changes: 15 additions & 24 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { BASE: base = "/" } = process.env;
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Astria",
description: "The Shared Sequencer Network",
description: "The Sequencing Layer Network",
lastUpdated: true,
cleanUrls: true,
ignoreDeadLinks: true,
Expand Down Expand Up @@ -47,22 +47,21 @@ function sidebar() {
text: 'What is Astria?',
collapsed: true,
items: [
{ text: 'Overview', link: '/overview/1-introduction' },
{ text: 'Why Decentralized Sequencers?', link: '/overview/2-why-decentralized-sequencers' },
{ text: 'Cross-Rollup Composability', link: '/overview/3-cross-rollup-composability' },

{ text: 'Overview', link: '/overview/introduction' },
{ text: 'How Rollups Work', link: '/overview/how-rollups-work'},
{ text: 'The Astria Sequencer Network', link: '/overview/the-astria-sequencer-network' },
{ text: 'Bridging', link: '/overview/bridging' },
{ text: 'Transaction Flow', link: '/overview/transaction-flow' },
{
text: 'Architecture',
text: 'Components',
collapsed: true,
items: [
{ text: 'Overview', link: '/overview/architecture/1-overview' },
{ text: 'Transaction Flow', link: '/overview/architecture/2-transaction-flow' },
{ text: 'Rollups', link: '/overview/architecture/3-rollup' },
{ text: 'Composer', link: '/overview/architecture/4-composer' },
{ text: 'The Astria Sequencer', link: '/overview/architecture/5-the-astria-sequencer' },
{ text: 'Relayer', link: '/overview/architecture/6-relayer' },
{ text: 'Conductor', link: '/overview/architecture/7-conductor' },
{ text: 'Data Availability Layer', link: '/overview/architecture/8-data-availability-layer' },
{ text: 'Composer', link: '/overview/components/composer' },
{ text: 'The Astria Sequencer', link: '/overview/components/the-astria-sequencer' },
{ text: 'Relayer', link: '/overview/components/relayer' },
{ text: 'Data Availability Layer', link: '/overview/components/data-availability-layer' },
{ text: 'Conductor', link: '/overview/components/conductor' },

]
},
]
Expand All @@ -77,14 +76,6 @@ function sidebar() {
text: 'Tutorials',
collapsed: true,
items: [
{ text: 'Deploy a Local Rollup', link: '/local-rollup/1-introduction' },
{
text: 'Deploy a Cloud Rollup',
collapsed: true,
items: [
{ text: 'Digital Ocean', link: '/cloud-rollup/digital-ocean' },
]
},
{
text: 'Using the Astria cli',
collapsed: true,
Expand Down Expand Up @@ -141,8 +132,8 @@ function nav() {
{
text: "Join the network",
items: [
{ text: "Learn", link: "/overview/1-introduction" },
{ text: "Developers", link: "/local-rollup/1-introduction" },
{ text: "Learn", link: "/overview/introduction" },
{ text: "Developers", link: "/developer/tutorials/1-using-astria-cli-go" },
{ text: "Community", link: '/community/1-overview' },
],
},
Expand Down
18 changes: 11 additions & 7 deletions docs/astria-evm/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,32 @@ sidebar_position: 1

| Property | Value |
|-----|-----|
| Network Name | dusk-3 |
| RPC URL | [https://rpc.evm.dusk-3.devnet.astria.org](https://rpc.evm.dusk-3.devnet.astria.org) |
| Network Name | dusk-7 |
| RPC URL | [https://rpc.evm.dusk-7.devnet.astria.org](https://rpc.evm.dusk-7.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-3.devnet.astria.org](https://faucet.evm.dusk-3.devnet.astria.org) |
| Block Scout | [https://explorer.evm.dusk-3.devnet.astria.org/](https://explorer.evm.dusk-3.devnet.astria.org/) |
| 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/) |

## 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
Your settings should be the following:

![Metamask](assets/metamask-dusk2.png)
* Network Name: `dusk-7`
* New RPC URL: `https://rpc.evm.dusk-7.devnet.astria.org`
* Chain ID: `912559`
* Currency symbol: `RIA`
* Block Explorer URL: `<empty>`

## Using Cast

Set your `ETH_RPC_URL`:

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

```bash
Expand Down
Binary file removed docs/cloud-rollup/assets/a-record.png
Binary file not shown.
Binary file removed docs/cloud-rollup/assets/cname-record-example.png
Binary file not shown.
Binary file removed docs/cloud-rollup/assets/do-setup.png
Binary file not shown.
Binary file removed docs/cloud-rollup/assets/doctl-screenshot.png
Binary file not shown.
Binary file removed docs/cloud-rollup/assets/sequencer-faucet.png
Binary file not shown.
Loading

0 comments on commit f38fa22

Please sign in to comment.