Skip to content

Commit

Permalink
Merge pull request #49 from InjectiveLabs/fix-constants
Browse files Browse the repository at this point in the history
Fix LCD endpoints
  • Loading branch information
achilleas-kal authored Dec 22, 2021
2 parents 721c35a + ab41fdf commit a1ef542
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyinjective/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(
@classmethod
def devnet(cls):
return cls(
lcd_endpoint='devnet.injective.dev:10337',
lcd_endpoint='https://devnet.lcd.injective.dev',
grpc_endpoint='devnet.injective.dev:9900',
grpc_exchange_endpoint='devnet.injective.dev:9910',
chain_id='injective-777',
Expand All @@ -92,7 +92,7 @@ def testnet(cls, node='sentry0'):
raise ValueError("Must be one of {}".format(nodes))

return cls(
lcd_endpoint=f"{node}.injective.dev:10337",
lcd_endpoint="https://testnet.lcd.injective.dev",
grpc_endpoint=f"{node}.injective.dev:9900",
grpc_exchange_endpoint=f"{node}.injective.dev:9910",
chain_id='injective-888',
Expand All @@ -113,7 +113,6 @@ def mainnet(cls, node='sentry2'):
raise ValueError("Must be one of {}".format(nodes))

return cls(
#lcd_endpoint=f"{node}.injective.network:10337",
lcd_endpoint="https://lcd.injective.network",
grpc_endpoint=f"{node}.injective.network:9900",
grpc_exchange_endpoint=f"{node}.injective.network:9910",
Expand Down

0 comments on commit a1ef542

Please sign in to comment.