java.lang.UnsatisfiedLinkError: dlopen failed: library "libsr25519java.so" not found
Opened this issue · 0 comments
efeint01 commented
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)