Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed a supposed typo where instead of client, terra should've been used. The previous code would not run.
  • Loading branch information
arian81 authored and hanjukim committed May 29, 2022
1 parent 88375c0 commit 1cb4b0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -59,14 +59,14 @@ Terra.js can be used in Node.js, as well as inside the browser. Please check the
import { LCDClient, Coin } from '@terra-money/terra.js';

// connect to pisco testnet
const client = new LCDClient({
const terra = new LCDClient({
URL: 'https://pisco-lcd.terra.dev',
chainID: 'pisco-1',
isClassic: false // if it is unset, LCDClient assumes the flag is false.
});

// connect to columbus-5 terra classic network
const client = new LCDClient({
const terra = new LCDClient({
URL: 'https://columbus-lcd.terra.dev',
chainID: 'columbus-5',
isClassic: true // *set to true to connect terra-classic chain*
Expand Down

0 comments on commit 1cb4b0e

Please sign in to comment.