Skip to content

Commit

Permalink
docs: reverting proposed changes from chain-integration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amessbee committed Jun 20, 2024
1 parent 3641f96 commit a2109f4
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions main/guides/integration/chain-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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?
Expand All @@ -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)

0 comments on commit a2109f4

Please sign in to comment.