-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
olympia address #36
olympia address #36
Conversation
CyonAlexRDX
commented
Mar 25, 2024
- Rust + UniFFI: LegacyOlympiaAccountAddress
- From PublicKey
- From Str
- To Str
- To Babylon
- Was Babylon Address created from Legacy
- Swift: NonFungibleLocalID Swiftified + Tests
- Swift: LegacyOlympiaAccountAddress
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #36 +/- ##
=========================================
+ Coverage 99.0% 99.2% +0.1%
=========================================
Files 211 314 +103
Lines 5248 6775 +1527
Branches 0 4 +4
=========================================
+ Hits 5197 6721 +1524
- Misses 51 54 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
} | ||
|
||
#[uniffi::export] | ||
pub fn legacy_olympia_account_address_is_legacy_of_babylon( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use this in wallets part of import Olympia wallet flow:
https://github.com/radixdlt/babylon-wallet-ios/blob/main/RadixWallet/Clients/ImportLegacyWalletClient/ImportLegacyWalletClient%2BLive.swift#L134-L158
and analoguosly in android.