Skip to content

How to sign Bitcoin transaction via KeyChain

Dmitry edited this page Mar 22, 2019 · 4 revisions

Here you can find an instruction on how to sign a Bitcoin transaction with KeyChain.

1. Download and install KeyChain for macOS

2. Select a key

Start with the command `wscat -c ws://localhost:16384/, then select a key.

{ 
  "command": "select_key"
}

3.

4. Transfer money to the address corresponding to the public key

In case you work with testnet - https://coinfaucet.eu/en/btc-testnet/

5. Check the balance on the address - it should have enough BTC for a successful transfer.

6. Sign transaction with the key that you have generated

You can find an example of the code here

7. Check Insight