We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2142de commit 51d1e70Copy full SHA for 51d1e70
pyinjective/constant.py
@@ -122,5 +122,16 @@ def mainnet(cls, node='sentry2'):
122
env='mainnet'
123
)
124
125
+ @classmethod
126
+ def local(cls):
127
+ return cls(
128
+ lcd_endpoint="localhost:10337",
129
+ grpc_endpoint="localhost:9900",
130
+ grpc_exchange_endpoint="localhost:9910",
131
+ chain_id='injective-1',
132
+ fee_denom='inj',
133
+ env='local'
134
+ )
135
+
136
def string(self):
137
return self.env
0 commit comments