Thanks to visit codestin.com
Credit goes to github.com

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
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Change Log

## Unreleased
## 2.1.0

### Added

* Added Tinyman V2 (Mainnet) support.
* Added `client_name` attribute to `TinymanClient` classes. [#51](https://github.com/tinymanorg/tinyman-py-sdk/pull/51)
* 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)
* Added `version` property and `generate_app_call_note` method to `TinymanClient` classes. [#51](https://github.com/tinymanorg/tinyman-py-sdk/pull/51)
Expand All @@ -17,7 +18,7 @@

### Added

* Added Tinyman V2 support (`tinyman.v2`).
* Added Tinyman V2 (Testnet) support (`tinyman.v2`).
* Added Staking support (`tinyman.staking`).
- It allows creating commitment transaction by `prepare_commit_transaction` and tracking commitments by `parse_commit_transaction`.
* Added `calculate_price_impact` function to `tinyman.utils`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The SDK supports Tinyman V2 and V1.1.

## Requirements
- Python 3.8+
- py-algorand-sdk 1.10.0+
- py-algorand-sdk 1.10.0+, <2.0.0

## Installation
tinyman-py-sdk is not released on PYPI. It can be installed directly from this repository with pip:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
description="Tinyman Python SDK",
author="Tinyman",
author_email="[email protected]",
version="2.0.0",
version="2.1.0",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
project_urls={
"Source": "https://github.com/tinyman/tinyman-py-sdk",
},
install_requires=["py-algorand-sdk >= 1.10.0"],
install_requires=["py-algorand-sdk >= 1.10.0, <2.0.0"],
packages=setuptools.find_packages(),
python_requires=">=3.8",
package_data={"tinyman.v1": ["asc.json"], "tinyman.v2": ["amm_approval.map.json"]},
Expand Down
4 changes: 2 additions & 2 deletions tinyman/v2/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@


TESTNET_VALIDATOR_APP_ID_V2 = 148607000
MAINNET_VALIDATOR_APP_ID_V2 = None
MAINNET_VALIDATOR_APP_ID_V2 = 1002541853

TESTNET_VALIDATOR_APP_ID = TESTNET_VALIDATOR_APP_ID_V2
MAINNET_VALIDATOR_APP_ID = None
MAINNET_VALIDATOR_APP_ID = MAINNET_VALIDATOR_APP_ID_V2

TESTNET_VALIDATOR_APP_ADDRESS = get_application_address(TESTNET_VALIDATOR_APP_ID)
# MAINNET_VALIDATOR_APP_ADDRESS = get_application_address(MAINNET_VALIDATOR_APP_ID)
Expand Down