Skip to content

Conversation

@gupnik
Copy link
Collaborator

@gupnik gupnik commented Apr 7, 2025

Description

This PR adds APIs to allow each coin type to specify a decoder for its private key. Currently, it fixes an issue in importing Base32 encoded keys for Stellar.

How to test

Added Tests

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

  • Create pull request as draft initially, unless its complete.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • If there is a related Issue, mention it in the description.

If you're adding a new blockchain

  • I have read the guidelines for adding a new blockchain.

@gupnik gupnik requested a review from satoshiotomakan as a code owner April 7, 2025 12:13
@github-actions
Copy link

github-actions bot commented Apr 7, 2025

Binary size comparison

➡️ aarch64-apple-ios: 13.93 MB

➡️ aarch64-apple-ios-sim: 13.93 MB

➡️ aarch64-linux-android: 18.36 MB

➡️ armv7-linux-androideabi: 15.37 MB

➡️ wasm32-unknown-emscripten: 13.07 MB

Copy link
Collaborator

@satoshiotomakan satoshiotomakan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, only minor things

Copy link
Collaborator

@satoshiotomakan satoshiotomakan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@satoshiotomakan satoshiotomakan merged commit 745437f into master Apr 11, 2025
14 checks passed
@satoshiotomakan satoshiotomakan deleted the gupnik/stellar-fix branch April 11, 2025 13:08
enriquesouza pushed a commit to enriquesouza/wallet-core that referenced this pull request Apr 18, 2025
* Adds API to import encoded private keys

* Adds solana base58 decoding as well

* Supports 64 byte solana key import and moves Crc

* Adds API to retrieve encoded key

* Adds APIs and Tests based on the discussion

* Addresses review comments

* Addresses review comments

* Updates Android test
zkrypt-crossbar pushed a commit to Cramiumlabs/wallet-core that referenced this pull request Jun 15, 2025
* Adds API to import encoded private keys

* Adds solana base58 decoding as well

* Supports 64 byte solana key import and moves Crc

* Adds API to retrieve encoded key

* Adds APIs and Tests based on the discussion

* Addresses review comments

* Addresses review comments

* Updates Android test
zkrypt-crossbar pushed a commit to Cramiumlabs/wallet-core that referenced this pull request Jun 21, 2025
* Adds API to import encoded private keys

* Adds solana base58 decoding as well

* Supports 64 byte solana key import and moves Crc

* Adds API to retrieve encoded key

* Adds APIs and Tests based on the discussion

* Addresses review comments

* Addresses review comments

* Updates Android test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants