Agoric Quickstart

How to get started building on Agoric.

You'll need to create a free All That Node account first!

What is Agoric?

Agoric is an open-source development company launching an interoperable PoS chain. Agoricโ€™s JavaScript smart contract offers developers a safe, reusable library of DeFi components to rapidly build and deploy on-chain.

For more information on Agoric APIs, please check out the official documentation.

Endpoints

๐Ÿšง

Agoric is currently only provided as a dedicated node.

NetworkAPI TypeEndpoint
MainnetREST API (LCD)https://agoric-mainnet-rpc.allthatnode.com:1317
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
MainnetTendermint RPChttps://agoric-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY'
TestnetREST API (LCD)https://agoric-testnet-rpc.allthatnode.com:1317
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
TestnetTendermint RPChttps://agoric-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY'

*Find 'YOUR-API-KEY' by going to the Dashboard menu (Dashboard > All Projects > Project Detail Page).

Sample

Request

curl https://agoric-mainnet-rpc.allthatnode.com:1317/syncing \
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
curl https://agoric-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY' \
--request POST \
--header "Content-Type: application/json" \
--data '{ "jsonrpc":"2.0", "method":"health","id":1}'

Response

{
    "jsonrpc": "2.0",
    "result": false,
    "id": 1
}
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {}
}