This log documents all public API breaking backwards incompatible changes.
- Removed
- Python 3.6 support
- Changed
transactions.Transaction
keyword argumentchain_id
default value changed from "cosmoshub-3" to "cosmoshub-4"
- Added
cosmospy.seed_to_privkey
function
- Changed
cosmospy.typing.Wallet
now includes fields "seed" and "derivation_path"- Made private keys and public keys in all public interfaces type
bytes
instead of hex formattedstr
- Changed
cosmospy.transactions
andcosmospy.addresses
modules have been removed. All of their functions and classes are now importable directly from thecosmospy
root. That is, users will have tofrom cosmospy import Transaction
instead offrom cosmospy.transactions import Transaction
.get_pushable_tx
method of theTransaction
class renamed asget_pushable
- Changed
transactions.Transaction
init only takes keyword arguments.transactions.Transaction
keyword argumentchain_id
default value changed from "cosmoshub-2" to "cosmoshub-3"- Made all instance variables of
transactions.Transaction
private - Renamed
transactions.Transaction.add_atom_transfer
astransactions.Transaction.add_transfer
- Changed
- Renamed
transactions.UnsignedTransaction
astransactions.Transaction
- Renamed
- Added
addresses.pubkey_to_address()
transactions.UnsignedTransaction
class
- Removed
transactions.sign_atom_transfer()
transactions.sign()
- Added
- Code for address generation and transaction signing