stellar-expert / albedo

Security-centric, developer-friendly, easy-to-use delegated signer and keystore for Stellar Network
https://albedo.link
MIT License
64 stars 14 forks source link

Get public key on testnet #74

Closed quietbits closed 2 years ago

quietbits commented 2 years ago

Hello! :wave: I'd like to use Albedo on the Stellar test network, but I can't find a way how to fetch account info (get a public key) on testnet using @albedo-link/intent. I looked at the documentation and this repo but no luck (other methods have an option to set the network). Could you please point me in the right direction if I'm missing something? We'd like to add this to the Account Viewer. Thank you!

orbitlens commented 2 years ago

Hello Iveta,

An account public key doesn't depend on the selected network since it is generated using ED25519 key derevation algorithm. A pubkey will be identical for both pubnet and testnet.

You are right regarding the interface issues. It may be quite confusing from the user's perspective that public key requested for testnet shows "public" network in the intent confirmation interface. We'll remove the network info row from the interface for this particular intent in the upcoming release.

quietbits commented 2 years ago

Hello OrbitLens,

Thanks for the explanation, I understand how public keys work on both networks now. Removing the public network from that screen will help. Should we close this issue now or keep it as a reference for the UI change? Thanks again!

orbitlens commented 2 years ago

We'll remove the network info row from the interface for this particular intent in the upcoming release.

Done ✅