From 2a25b248ebf48d16a2d3c2d825915b8acda415f0 Mon Sep 17 00:00:00 2001 From: FilipeA Date: Thu, 1 Jul 2021 16:43:23 +0100 Subject: [PATCH 01/13] added: ability to generate STX addresses & test coverage --- .idea/runConfigurations.xml | 1 + CHANGELOG.md | 7 + blockstack-sdk/build.gradle | 6 +- .../BlockstackSessionStorageOfflineTest.kt | 3 +- .../sdk/EncryptionColendiKotlinTest.kt | 2 + .../org/blockstack/android/sdk/Blockstack.kt | 68 ++++---- .../android/sdk/BlockstackSession.kt | 3 +- .../android/sdk/BlockstackSignIn.kt | 2 + .../blockstack/android/sdk/ecies/Signature.kt | 4 +- .../android/sdk/extensions/Addresses.kt | 64 +++++++ .../android/sdk/extensions/Crockford32.kt | 162 ++++++++++++++++++ .../android/sdk/model/BlockstackAccount.kt | 2 +- .../android/sdk/model/BlockstackIdentity.kt | 2 +- .../org/blockstack/android/sdk/model/Hub.kt | 4 +- .../android/sdk/AddressesExtensionTest.kt | 65 +++++++ .../blockstack/android/sdk/SignatureTest.kt | 1 + build.gradle | 6 +- 17 files changed, 352 insertions(+), 50 deletions(-) create mode 100644 blockstack-sdk/src/main/java/org/blockstack/android/sdk/extensions/Addresses.kt create mode 100644 blockstack-sdk/src/main/java/org/blockstack/android/sdk/extensions/Crockford32.kt create mode 100644 blockstack-sdk/src/test/java/org/blockstack/android/sdk/AddressesExtensionTest.kt diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml index 7f68460d..e497da99 100644 --- a/.idea/runConfigurations.xml +++ b/.idea/runConfigurations.xml @@ -3,6 +3,7 @@