Skip to content

Commit

Permalink
fix(docs/gnokey): addpkg subcommand documentation (#3635)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemanya8 authored Feb 4, 2025
1 parent 6fe3b31 commit d75f1a2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/gno-tooling/cli/gnokey/state-changing-calls.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,11 @@ Next, let's configure the `addpkg` subcommand to publish this package to the
the `example/p/` folder, the command will look like this:

```bash
gnokey maketx addpkg \
gnokey maketx addpkg \
-pkgpath "gno.land/p/<your_namespace>/hello_world" \
-pkgdir "." \
-send "" \
-gas-fee 10000000ugnot \
-gas-wanted 8000000 \
-gas-wanted 200000 \
-broadcast \
-chainid portal-loop \
-remote "https://rpc.gno.land:443"
Expand All @@ -114,15 +113,14 @@ Once we have added a desired [namespace](../../../concepts/namespaces.md) to upl
a keypair name to use to execute the transaction:

```bash
gnokey maketx addpkg \
gnokey maketx addpkg \
-pkgpath "gno.land/p/examplenamespace/hello_world" \
-pkgdir "." \
-send "" \
-gas-fee 10000000ugnot \
-gas-wanted 200000 \
-broadcast \
-chainid portal-loop \
-remote "https://rpc.gno.land:443"
-remote "https://rpc.gno.land:443" \
mykey
```

Expand Down

0 comments on commit d75f1a2

Please sign in to comment.