Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Terra 2.0 #285

Merged
merged 21 commits into from
May 26, 2022
Merged

Support Terra 2.0 #285

merged 21 commits into from
May 26, 2022

Conversation

hanjukim
Copy link
Contributor

@hanjukim hanjukim commented May 26, 2022

Description

This PR includes support for Terra 2.0 and Terra Classic by adding "isClassic" flag in the LCDClient constructor

e.g.

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

isClassic and its related codes will be deprecated in next major version (v4.x) update.

@hanjukim hanjukim requested a review from octalmage May 26, 2022 04:36
chore: remove comment and update wasm smart query
Copy link
Contributor

@Vritra4 Vritra4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants