diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e91552..676c4ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # CDP Python SDK Changelog +## Unreleased + +### Added + +- `ExternalAddress` derived `Address` class. + + ## [0.13.0] - 2024-12-19 ### Added + - Add support for fetching address reputation - Add `reputation` method to `Address` to fetch the reputation of the address. - Add support for registering, updating, and listing smart contracts that are @@ -12,6 +20,7 @@ deployed external to CDP. - Add ability to import WalletData files exported by the NodeJS CDP SDK ### Deprecated + - Deprecate `Wallet.load_seed` method in favor of `Wallet.load_seed_from_file` - Deprecate `Wallet.save_seed` method in favor of `Wallet.save_seed_to_file` diff --git a/cdp/__init__.py b/cdp/__init__.py index d0bb8a9..ecf1fd7 100644 --- a/cdp/__init__.py +++ b/cdp/__init__.py @@ -5,6 +5,7 @@ from cdp.balance_map import BalanceMap from cdp.cdp import Cdp from cdp.contract_invocation import ContractInvocation +from cdp.external_address import ExternalAddress from cdp.faucet_transaction import FaucetTransaction from cdp.hash_utils import hash_message, hash_typed_data_message from cdp.mnemonic_seed_phrase import MnemonicSeedPhrase @@ -26,6 +27,7 @@ "BalanceMap", "Cdp", "ContractInvocation", + "ExternalAddress", "FaucetTransaction", "MnemonicSeedPhrase", "PayloadSignature", diff --git a/cdp/external_address.py b/cdp/external_address.py new file mode 100644 index 0000000..2f235b9 --- /dev/null +++ b/cdp/external_address.py @@ -0,0 +1,5 @@ +from cdp.address import Address + + +class ExternalAddress(Address): + """A class representing an external address."""