Skip to main content

Integrations

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

Terra Station

Terra Station has built-in support for LocalTerra for quick and easy interaction. Open Terra Station and switch to the Localterra network.

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
});