File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22
3- ## Unreleased
3+ ## 2.1.0
44
55### Added
66
7+ * Added Tinyman V2 (Mainnet) support.
78* Added ` client_name ` attribute to ` TinymanClient ` classes. [ #51 ] ( https://github.com/tinymanorg/tinyman-py-sdk/pull/51 )
89* Added note to application call transactions. The note (` tinyman/<v1|v2>:j{"origin":"<client-name>"} ` ) follows [ Algorand Transaction Note Field Conventions ARC-2] ( https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0002.md ) . [ #51 ] ( https://github.com/tinymanorg/tinyman-py-sdk/pull/51 )
910* Added ` version ` property and ` generate_app_call_note ` method to ` TinymanClient ` classes. [ #51 ] ( https://github.com/tinymanorg/tinyman-py-sdk/pull/51 )
1718
1819### Added
1920
20- * Added Tinyman V2 support (` tinyman.v2 ` ).
21+ * Added Tinyman V2 (Testnet) support (` tinyman.v2 ` ).
2122* Added Staking support (` tinyman.staking ` ).
2223 - It allows creating commitment transaction by ` prepare_commit_transaction ` and tracking commitments by ` parse_commit_transaction ` .
2324* Added ` calculate_price_impact ` function to ` tinyman.utils ` .
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ The SDK supports Tinyman V2 and V1.1.
2020
2121## Requirements
2222- Python 3.8+
23- - py-algorand-sdk 1.10.0+
23+ - py-algorand-sdk 1.10.0+, <2.0.0
2424
2525## Installation
2626tinyman-py-sdk is not released on PYPI. It can be installed directly from this repository with pip:
Original file line number Diff line number Diff line change 99 description = "Tinyman Python SDK" ,
1010 author = "Tinyman" ,
1111 author_email = "hello@tinyman.org" ,
12- version = "2.0 .0" ,
12+ version = "2.1 .0" ,
1313 long_description = long_description ,
1414 long_description_content_type = "text/markdown" ,
1515 license = "MIT" ,
1616 project_urls = {
1717 "Source" : "https://github.com/tinyman/tinyman-py-sdk" ,
1818 },
19- install_requires = ["py-algorand-sdk >= 1.10.0" ],
19+ install_requires = ["py-algorand-sdk >= 1.10.0, <2.0.0 " ],
2020 packages = setuptools .find_packages (),
2121 python_requires = ">=3.8" ,
2222 package_data = {"tinyman.v1" : ["asc.json" ], "tinyman.v2" : ["amm_approval.map.json" ]},
Original file line number Diff line number Diff line change 2828
2929
3030TESTNET_VALIDATOR_APP_ID_V2 = 148607000
31- MAINNET_VALIDATOR_APP_ID_V2 = None
31+ MAINNET_VALIDATOR_APP_ID_V2 = 1002541853
3232
3333TESTNET_VALIDATOR_APP_ID = TESTNET_VALIDATOR_APP_ID_V2
34- MAINNET_VALIDATOR_APP_ID = None
34+ MAINNET_VALIDATOR_APP_ID = MAINNET_VALIDATOR_APP_ID_V2
3535
3636TESTNET_VALIDATOR_APP_ADDRESS = get_application_address (TESTNET_VALIDATOR_APP_ID )
3737# MAINNET_VALIDATOR_APP_ADDRESS = get_application_address(MAINNET_VALIDATOR_APP_ID)
You can’t perform that action at this time.
0 commit comments