From a2109f491cd6570b2f75ded8036e2f83740dc3bc Mon Sep 17 00:00:00 2001 From: Mudassir Shabbir Date: Thu, 20 Jun 2024 09:34:05 +0500 Subject: [PATCH] docs: reverting proposed changes from chain-integration.md --- main/guides/integration/chain-integration.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/main/guides/integration/chain-integration.md b/main/guides/integration/chain-integration.md index f91c93bad..6a64ce0bb 100644 --- a/main/guides/integration/chain-integration.md +++ b/main/guides/integration/chain-integration.md @@ -9,8 +9,13 @@ This section points at relevant reference documentation for the underlying `cosm The Agoric Network currently uses `cosmos-sdk` v0.45. The general Cosmos documentation for this version can be [found here](https://docs.cosmos.network/v0.45/), including structure and`golang` documentation, and REST API documentation. +Use the [v0.45.1 version of the REST API](https://v1.cosmos.network/rpc/v0.45.1) for accessing the chain. To use the "Try it out" functionality, change the Base URL to `agoric-api.polkachu.com`: -The chain can also be accessed via JavaScript using the [`cosmjs` library](https://github.com/cosmos/cosmjs) (and [associated tutorials](https://tutorials.cosmos.network/tutorials/7-cosmjs/1-cosmjs-intro.html)), or using [CosmosKit](https://cosmology.zone/products/cosmos-kit). + +| ![Alt name of image](./assets/cosmos-api.png) | +|-| + +The chain can also be accessed via JavaScript using the [`cosmjs` library](https://github.com/cosmos/cosmjs) (and [associated tutorials](https://tutorials.cosmos.network/tutorials/7-cosmjs/1-cosmjs-intro.html)), or using [CosmosKit](https://cosmoskit.com/). ## Chain resources @@ -20,6 +25,14 @@ The chain can also be accessed via JavaScript using the [`cosmjs` library](https - The base unit for staking is `ubld` (corresponding to `uatom` for Cosmos Hub) - The command utility of the agoric chain is `agd` (corresponding to [`simd` for the Cosmos Hub](https://docs.cosmos.network/v0.45/run-node/interact-node.html)). --- +# Tools +## 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 +``` +agd version --long +``` + # FAQ - How are transactions encoded? @@ -34,4 +47,4 @@ However they do have a sequence number and may be invalidated if another transac - How are addresses generated? [Cosmos SDK v0.45 Docs - Accounts](https://docs.cosmos.network/v0.45/basics/accounts.html) - How is the blockchain queried? -JSON-RPC, gRPC, REST [Cosmos SDK v0.45 Docs - Interact with Node](https://docs.cosmos.network/v0.45/run-node/interact-node.html) +JSON-RPC, gRPC, REST [Cosmos SDK v0.45 Docs - Interact with Node](https://docs.cosmos.network/v0.45/run-node/interact-node.html) \ No newline at end of file