Skip to content

[Request]: Implement wasm-bindings for KeyPairSigner #35

@chrisgitiota

Description

@chrisgitiota

Feature description

At the moment, the only Signer that can easily be used to test IOTA products in TypeScript tests is the Ed25519KeypairSigner included in the iota-interaction-ts package
(bindings/wasm/iota_interaction_ts/lib/test_utils/ed_25519_keypair_signer.ts).

The Ed25519KeypairSigner can only be used with Ed25519 keypairs.

The iota_interaction crate includes a KeyPairSigner
(iota_interaction/src/keypair_signer.rs) that doesn't offer wasm-bindings to be used with TS/JS at the moment. KeyPairSigner can be used with Ed25519, Secp256k1 and Secp256r1 keypairs (via using IotaKeyPair).

We need to implement wasm-bindings for the KeyPairSigner to allow using it instead of the currently offered Ed25519KeypairSigner to allow tests with Secp256k1 and Secp256r1 in TypeScript.

Motivation

Allow tests with Secp256k1 and Secp256r1 in TypesScript.

Requirements

Open questions

No response

Are you planning to do it yourself in a pull request?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions