Skip to content

Commit 1461fe1

Browse files
authored
Merge pull request #57 from tinymanorg/version-2.1.0
Version 2.1.0
2 parents fc4675d + 92ced12 commit 1461fe1

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
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)
@@ -17,7 +18,7 @@
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`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
2626
tinyman-py-sdk is not released on PYPI. It can be installed directly from this repository with pip:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
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"]},

tinyman/v2/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828

2929

3030
TESTNET_VALIDATOR_APP_ID_V2 = 148607000
31-
MAINNET_VALIDATOR_APP_ID_V2 = None
31+
MAINNET_VALIDATOR_APP_ID_V2 = 1002541853
3232

3333
TESTNET_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

3636
TESTNET_VALIDATOR_APP_ADDRESS = get_application_address(TESTNET_VALIDATOR_APP_ID)
3737
# MAINNET_VALIDATOR_APP_ADDRESS = get_application_address(MAINNET_VALIDATOR_APP_ID)

0 commit comments

Comments
 (0)