cosmo-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.13 • Public • Published

cosmo-sdk

Github Actions Status NPM

Official Typescript SDK to interact with Cosmo blockchain contracts on Terra.

Getting Started

Installing Cosmo SDK

 $ yarn add cosmo-sdk @terra-money/terra.js

Using Cosmo SDK

You need to provide a LCDClient instance on Cosmo constructor.

import { LCDClient } from '@terra-money/terra.js';
import { Cosmo } from 'cosmo-sdk';

const lcd = new LCDClient({
  URL: 'https://lcd.terra.dev/',
  chainID: 'columbus-5',
});

const cosmo = new Cosmo(lcd);

Interacting with Cosmo

TBD

See Also

License: MIT

/cosmo-sdk/

    Package Sidebar

    Install

    npm i cosmo-sdk

    Weekly Downloads

    7

    Version

    0.1.13

    License

    MIT

    Unpacked Size

    156 kB

    Total Files

    166

    Last publish

    Collaborators

    • vista