<p>I seriously doubt this would be possible. As its name suggest, Ed25519KeyHash is a signature provided through a cryptographic hash of the initial key. Such a process is not reversible and is not intended to be.
I don't know the use case but if you need the initial address the hash comes from, you have to provide it another way.</p>

CC BY-SA 4.0
2022-01-16T21:03:56.637Z
2022-01-16T21:03:56.637Z
Jean-Sébastien Gonsette
<p>I am currently attempting to transform a Ed25519KeyHash into a BaseAddress so I can use that address to perform transactions with the cardano-serialization-lib. However, I cannot seem to find a way to do this.</p>
<p>I managed to get a StakeCredential by doing:</p>
<p>StakeCredential.from_keyhash(  Ed25519KeyHash  instance  )</p>
<p>But I cannot find a way to get the BaseAddress. Has anyone figured out a solution for this? Thanks!</p>

<plutus>
How Can I Transform an Ed25519KeyHash into a BaseAddress with the Cardano Serialization Library
# How Can I Transform an Ed25519KeyHash into a BaseAddress with the Cardano Serialization Library

(Asked by: username_0 on 2021-12-19)

I am currently attempting to transform a Ed25519KeyHash into a BaseAddress so I can use that address to perform transactions with the cardano-serialization-lib. However, I cannot seem to find a way to do this.

I managed to get a StakeCredential by doing:

StakeCredential.from\_keyhash( Ed25519KeyHash instance )

But I cannot find a way to get the BaseAddress. Has anyone figured out a solution for this? Thanks!

**Tags:** plutus

---

## 1 answers

### Answer by username_1 on 2022-01-16. Score: 1

I seriously doubt this would be possible. As its name suggest, Ed25519KeyHash is a signature provided through a cryptographic hash of the initial key. Such a process is not reversible and is not intended to be.
I don't know the use case but if you need the initial address the hash comes from, you have to provide it another way.


---

