Swap

Latest version: v0.5.0

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.2.1

Improvements

* Change the path of Swap exceptions form `from swap.utils.exceptions import *` to `from swap.exceptions import *`.
* Drop utils package and changed to a single python file **utils.py**.

0.2.0

New

* Now, Bitcoin has a Hierarchical Deterministic Wallet - [HDWallet](https://github.com/meherett/hdwallet) generator.
* Add amount converter for both BItcoin and Bytom:
* Bitcoin - `BTC2mBTC`, `BTC2SATOSHI`, `mBTC2BTC`, `mBTC2SATOSHI`, `SATOSHI2BTC` and `SATOSHI2mBTC`.
* Bitcoin - `BTM2mBTM`, `BTM2NEU`, `mBTM2BTM`, `mBTM2NEU`, `NEU2BTM` and `NEU2mBTM`.
* Now, You can build Bytom transaction from Bytom address.
* Add default derivation path for both Bitcoin and Bytom:
* Bitcoin - `path: m/44'/0'/0'/0/0` and `BIP44: m/44'/0'/{account}'/{change}/{address}`
* Bytom - `path: m/44/153/1/0/1` and `BIP44: m/44/153/{account}/{change}/{address}`
* Add Swap transaction raw cleaner.
* Now, You can get signed transaction raw after sign form both Transaction classes.

Bug Fixes

* Fix complicated transaction raw error for both cryptocurrencies.
* Fix Bytom OP_Code when initializing HTLC from bytecode, return `None`.
* Removed Bytom GUID from all Transactions.

Dependencies

* Bump PyBytom form v1.3.3 to v1.4.0
* Add Python-HDWallet form v0.1.1
* Bump Blockcenter API from v2 to v3
* Removed Socain API v1
* Add Smartbit API v2

0.2.0a1

0.1.0

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.