floydeconomy/floydsdk

Create test public keys for different type of curves

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
A public key can be of different types, secp256k1, ed25519, etc, depending on the different types of elliptic curves used by different blockchains.

Describe the solution you'd like

Create a new test utils file that contains different types of public keys, eg:

{
    "public_key": "0x369bb60e6d99e30144e8fab8087bd7d171ba7b5dbf691b87319584b3d6c1892c"
    "curve-type": "secp256k1"
}

Then, integrate them into the existing tests