Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(docs): fix go-cli commands #56

Merged
merged 4 commits into from
Apr 26, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs/developer/tutorials/1-using-astria-go-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ just clean-restart
### Start the Local Astria Sequencer

```bash
astria-go dev clean
astria-go dev init
astria-go dev run --local
```
Expand All @@ -115,8 +116,9 @@ additional genesis information to work with the remote sequencer. Run the
following using the Astira cli:

```bash
astria-go dev clean
astria-go dev init
astria-go sequencer get-blockheight
astria-go sequencer blockheight --url=https://rpc.sequencer.dusk-4.devnet.astria.org
```

Then, open the `geth-genesis-local.json` file and update the chain ID and rollup
Expand Down Expand Up @@ -145,6 +147,7 @@ Then initialized and start Geth:

```bash
# in go-etherium dir
just clean # this is specifically for mac os
quasystaty1 marked this conversation as resolved.
Show resolved Hide resolved
just init
just run
```
Expand All @@ -162,8 +165,9 @@ When running against the remote sequencer, you will also need to create a new
sequencer account.

```bash
astria-go dev clean
astria-go dev init
astria-go sequencer create-account
astria-go sequencer createaccount
```

Navigate to the `~/.astria` directory. If you have run the commands shown above, you should find a `default` directory.
Expand Down Expand Up @@ -218,7 +222,8 @@ just generate-transactions
If everything worked correctly you see the transactions going through in both
the `forge` script and in the `conductor` and `composer` windows in the go cli.

:::note
:::info

These test transactions should work if you are running everything locally with
`astria-go dev run --local` or if you are running against a remote sequencer
with `astria-go dev run --remote`. If test transactions are not going through
Expand Down
Loading