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
-
Ensure the latest versions of Terrad and LocalTerra are installed.
-
Use Terrad to talk to your LocalTerra Terrad node:
_1$ terrad statusTerrad 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 -
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:
_2from terra_sdk.client.lcd import LCDClient_2terra = LCDClient("localterra", "http://localhost:1317")
Terra JavaScript SDK
Connect to the chain through LocalTerra's LCD server using feather.js:
_6import { LCDClient } from '@terra-money/feather.js';_6_6const terra = new LCDClient({_6 URL: 'http://localhost:1317',_6 chainID: 'localterra',_6});