Skip to content

Commit

Permalink
rename client file name
Browse files Browse the repository at this point in the history
  • Loading branch information
zakir-code committed Oct 11, 2023
1 parent 697dd3c commit 9b911d1
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pip install fx-py-sdk
## Use

```python
from fxsdk.client.grpc_client import Client
from fxsdk.client.grpc import Client

if __name__ == '__main__':
chain_id = Client(url='localhost:9090').query_chain_id()
Expand Down
2 changes: 1 addition & 1 deletion examples/bank.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fxsdk.client.grpc_client import Client
from fxsdk.client.grpc import Client
from fxsdk.wallet.builder import TxBuilder
from fxsdk.x.cosmos.base.v1beta1.coin_pb2 import Coin

Expand Down
2 changes: 1 addition & 1 deletion examples/clean_balance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from google.protobuf.any_pb2 import Any

from fxsdk.client.grpc_client import Client
from fxsdk.client.grpc import Client
from fxsdk.wallet.builder import TxBuilder
from fxsdk.wallet.key import PrivateKey
from fxsdk.wallet.key import mnemonic_to_privkey
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion fxsdk/client/mx_client.py → fxsdk/client/marginx.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from decimal import Decimal

from fxsdk.client.grpc_client import Client
from fxsdk.client.grpc import Client
from fxsdk.dec import dec_from_str
from fxsdk.msg.dex import new_position_from_proto, new_order_from_proto, Order, Position, \
new_pair_funding_rate_from_proto, PairFundingRate, OrderDepths, PairPrice, new_order_depths_from_proto
Expand Down
2 changes: 1 addition & 1 deletion tests/test_grpc_query.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from fxsdk.client.grpc_client import Client
from fxsdk.client.grpc import Client

grpc_cli = Client('localhost:9090')

Expand Down
2 changes: 1 addition & 1 deletion tests/test_jsonrpc_query.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from fxsdk.client.jsonrpc_client import *
from fxsdk.client.jsonrpc import JsonRpcClient

rpc_client = JsonRpcClient("http://127.0.0.1:26657")

Expand Down
2 changes: 1 addition & 1 deletion tests/test_mx_query.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from fxsdk.client.mx_client import MxClient
from fxsdk.client.marginx import MxClient

grpc_cli = MxClient('localhost:9090')

Expand Down
2 changes: 1 addition & 1 deletion tests/test_send_tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from fxsdk.msg import new_msg_send
from fxsdk.wallet.key import mnemonic_to_privkey
from fxsdk.wallet.builder import TxBuilder
from fxsdk.client.grpc_client import Client
from fxsdk.client.grpc import Client
from fxsdk.x.cosmos.base.v1beta1.coin_pb2 import Coin
from fxsdk.x.cosmos.tx.v1beta1.service_pb2 import BROADCAST_MODE_SYNC

Expand Down

0 comments on commit 9b911d1

Please sign in to comment.