Skip to content

Commit a1ef542

Browse files
Merge pull request #49 from InjectiveLabs/fix-constants
Fix LCD endpoints
2 parents 721c35a + ab41fdf commit a1ef542

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyinjective/constant.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(
7777
@classmethod
7878
def devnet(cls):
7979
return cls(
80-
lcd_endpoint='devnet.injective.dev:10337',
80+
lcd_endpoint='https://devnet.lcd.injective.dev',
8181
grpc_endpoint='devnet.injective.dev:9900',
8282
grpc_exchange_endpoint='devnet.injective.dev:9910',
8383
chain_id='injective-777',
@@ -92,7 +92,7 @@ def testnet(cls, node='sentry0'):
9292
raise ValueError("Must be one of {}".format(nodes))
9393

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

115115
return cls(
116-
#lcd_endpoint=f"{node}.injective.network:10337",
117116
lcd_endpoint="https://lcd.injective.network",
118117
grpc_endpoint=f"{node}.injective.network:9900",
119118
grpc_exchange_endpoint=f"{node}.injective.network:9910",

0 commit comments

Comments
 (0)