Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
disallowAdditionalPropertiesIfNotPresent: true
library: asyncio
packageName: lighter
projectName: lighter


packageName: lighter-sdk
projectName: lighter-sdk
2 changes: 1 addition & 1 deletion examples/create_cancel_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def main():
tx = await client.create_order(
market_index=0,
client_order_index=0,
base_amount=100000,
base_amount=10000,
price=250000,
is_ask=False,
order_type=lighter.SignerClient.ORDER_TYPE_LIMIT,
Expand Down
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
[tool.poetry]
name = "lighter"
version = "1.0.0"
description = ""
authors = ["OpenAPI Generator Community <[email protected]>"]
name = "lighter-sdk"
version = "0.1.0"
description = "Python client for Lighter"
authors = ["elliot"]
license = "NoLicense"
readme = "README.md"
repository = "https://github.com/elliottech/lighter-python"
keywords = ["OpenAPI", "OpenAPI-Generator", ""]
keywords = ["OpenAPI", "OpenAPI-Generator"]
include = ["lighter/py.typed"]

[tool.poetry.packages]
python = ["lighter"]

[tool.poetry.dependencies]
python = "^3.7"

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "lighter"
VERSION = "1.0.0"
NAME = "lighter-sdk"
VERSION = "0.1.0"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand Down
Loading