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:


    _1
    $ terrad status

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

    The following command is the explicit form:


    _1
    $ terrad status --node=tcp://localhost:26657

  3. Run any Terrad commands against your LocalTerra network:


    _1
    $ terrad query account terra1dcegyrekltswvyy0xy69ydgxn9x8x32zdtapd8

Terra Python SDK

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


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

Terra JavaScript SDK

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


_6
import { LCDClient } from '@terra-money/feather.js';
_6
_6
const terra = new LCDClient({
_6
URL: 'http://localhost:1317',
_6
chainID: 'localterra',
_6
});