Skip to content

java.lang.UnsatisfiedLinkError: dlopen failed: library "libsr25519java.so" not found #150

@efeint01

Description

@efeint01

When creating EncryptionType.SR25519 keypair i got this error java.lang.UnsatisfiedLinkError: dlopen failed: library "libsr25519java.so" not found error.

Code:

   val SEED = "3132333435363738393031323334353637383930313233343536373839303132"
        val SEED_BYTES: ByteArray = Hex.decode(SEED)

        val keypair = SubstrateKeypairFactory.generate(EncryptionType.SR25519, SEED_BYTES)

        val actualPrivate = Hex.toHexString(keypair.privateKey)
        val actualPublic = Hex.toHexString(keypair.publicKey)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions