Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

¿How to convert spork private key to WIF?

Discussion in 'Development Tech Discussion' started by ExiliumDev, May 18, 2018.

  1. ExiliumDev

    ExiliumDev New Member

    Joined:
    May 16, 2018
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    1
    Hello!

    ¿Please can anyone help me to convert my spork private key to WIF?
    I used this guide: (en.bitcoin.it/wiki/Wallet_import_format) ,with others tools online to convert the key.
    And i tried the steps with the key of example on the guide, and me results are correct. So i tried the same correct steps with my private key, but my wallet core doesn't valid the key, it say "Unable to sign the spork message, wrong key?" i used the bytes 0x80 and 0x76, and the same results. So because this problem i can't start the masternode payments.

    I generated my par keys for my own coin network with: "openssl ecparam -genkey -name secp256k1 -out spork.pem", and i hardcoded the public key on chainparams.cpp

    You can see the source on: github.com/exiliumcore/exilium

    I'd appreciate any help, thank you!
     
  2. Michael Ronaldinho

    Michael Ronaldinho New Member

    Joined:
    Jul 2, 2018
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    thanks for the information. I also had the same issue.