Skip to main content

Integrations

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

Fluid Station

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

Terrad

  1. Ensure the same version of Terrad and LocalTerra are installed.

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


    _1
    $ terrad status

    This command automatically works because Terrad connects to localhost:26657 by default.

    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

Fluid Python SDK

Connect to the chain through LocalTerra's LCD server:


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

Fluid JavaScript SDK

Connect to the chain through LocalTerra's LCD server:


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