Skip to content

Commit

Permalink
Merge pull request #1206 from Agoric/ms/add-building-agd-instructions
Browse files Browse the repository at this point in the history
Adding Instructions to build `agd`
  • Loading branch information
amessbee committed Sep 16, 2024
2 parents f5886ec + 65a4468 commit 502bde7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions main/guides/integration/chain-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,20 @@ The chain can also be accessed via JavaScript using the [`cosmjs` library](https

## Building `agd`

The `agd` command line tool can be built as described in the Agoric [getting-started documentation](https://docs.agoric.com/guides/getting-started#build-the-cosmic-swingset-package). The linked step builds `agd`. To confirm that `agd` is in your `$PATH`, execute

The `agd` command line tool can be built by running the commands as below:
```sh
git clone -b community-dev https://github.com/Agoric/agoric-sdk
cd agoric-sdk
SKIP_DOWNLOAD=false ./bin/agd build
export PATH=$PWD/bin:$PATH
```
To confirm that `agd` is in your `$PATH`, execute
```
agd version --long
```
Unlike typical cosmos-sdk chains where the daemon is a single executable file, Agoric's use of cosmos-sdk depends
on many components of agoric-sdk at runtime. Copying `agd` to `/usr/local/bin` or the like is unlikely to produce
a working installation. For more detail, see [#7825](https://github.com/Agoric/agoric-sdk/issues/7825).

# FAQ

Expand Down

0 comments on commit 502bde7

Please sign in to comment.