Skip to content

Commit 502bde7

Browse files
authored
Merge pull request #1206 from Agoric/ms/add-building-agd-instructions
Adding Instructions to build `agd`
2 parents f5886ec + 65a4468 commit 502bde7

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

main/guides/integration/chain-integration.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,20 @@ The chain can also be accessed via JavaScript using the [`cosmjs` library](https
2929

3030
## Building `agd`
3131

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

3847
# FAQ
3948

0 commit comments

Comments
 (0)