Skip to content

Commit

Permalink
Move l1 address info to interact.md (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshklop authored Oct 22, 2024
1 parent fb7e7d2 commit 017951a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/docs/build/create-an-app-with-monomer.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,16 @@ If using a Go version `<1.23.0`, run:
go build -o testappd ./cmd/testappd
```

If using a Go version `>=1.23.0`, run:
If using a Go version `>=1.23.0`, run:

```bash
go build -ldflags=-checklinkname=0 -o testappd ./cmd/testappd
````

Now that our application is configured, we can start the Monomer application by running the following command.
Ensure that you specify the address of your L1 wallet address instead of `{your_l1_wallet_address}` to grant ETH to your L1 wallet on genesis.

```bash
./testappd monomer start --minimum-gas-prices 0.01wei --monomer.dev-start --api.enable --monomer.dev.l1-user-address "{your_l1_wallet_address}"
./testappd monomer start --minimum-gas-prices 0.01wei --monomer.dev-start --api.enable
````
Congratulations! You've successfully integrated Monomer into your Cosmos SDK application.
7 changes: 7 additions & 0 deletions docs/docs/build/interact.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ sidebar_position: 2

This guide assumes you have a Monomer rollup chain running locally. If you don't, refer to the [prior tutorial](./create-an-app-with-monomer.md).

We will need to have an account on L1 with funds.
To give yourself funds on the devnet at genesis, run the devnet start command specified in the last tutorial with the `--monomer.dev.l1-user-address` flag:

```bash
./testappd monomer start --minimum-gas-prices 0.01wei --monomer.dev-start --api.enable --monomer.dev.l1-user-address "<address>"
```

## Configuring L1 and L2 Wallets

To interact with a Monomer rollup chain, you will need to configure wallets for both the L1 and L2 chains.
Expand Down

0 comments on commit 017951a

Please sign in to comment.