var img = document.createElement('img'); img.src = "https://terradocs.matomo.cloud//piwik.php?idsite=1&rec=1&url=https://docs.terra.money" + location.pathname; img.style = "border:0"; img.alt = "tracker"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(img,s);
Skip to main content

Integrations

You can integrate LocalTerra in Station, Terrad, and JavaScript and Python SDKs.

Station

The Station Chrome Extension has built-in support for LocalTerra for quick and easy interaction.

Terrad

  1. Ensure the latest versions of Terrad and LocalTerra are installed.

  2. Use Terrad to talk to your LocalTerra Terrad node:

    $ terrad status
    Copy

    Terrad will connect to localhost:26657 by default when running this command.

    The following command is the explicit form:

    $ terrad status --node=tcp://localhost:26657
    Copy
  3. Run any Terrad commands against your LocalTerra network:

    $ terrad query account terra1dcegyrekltswvyy0xy69ydgxn9x8x32zdtapd8
    Copy

Terra Python SDK

Connect to the chain through LocalTerra's LCD server using terra.py:

from terra_sdk.client.lcd import LCDClient
terra = LCDClient("localterra", "http://localhost:1317")
Copy

Terra JavaScript SDK

Connect to the chain through LocalTerra's LCD server using feather.js:

import { LCDClient } from '@terra-money/feather.js';

const terra = new LCDClient({
URL: 'http://localhost:1317',
chainID: 'localterra',
});
Copy