Changelly

Cryptocurrency

How to use Multisig feature on Bitcoin Core RPC in an online exchange?

1 Mins read


I’ve craeted a small online exchange based on Bitcoin Core. The features in this application are:

  1. User send request to get a new address, and the Bitcoin Core generate a new one with defined passphrase.
  2. User can receive BTC on his own address.
  3. User can send BTC from his own address, and for this purpose, I’ve used sendtoaddress after unlocking account with walletPassphrase.

In this scenario, there is one complicated passphrase which is able to unlock all accounts. But after reading about multisig feature, I thought about implementing a scenario in this regard on my application. But there are some questions in my mind:

  1. I have used a fixed passphrase in my codes while sending transactions. Regarding to multisig concepts, I need to use different private keys to sign data instead of using a passphrase to unlock that account. Am I right?
  2. As the operation in an online exchange should be do automatically, I think I have to use all required private keys in the final step of my codes. In this case, I think I did not add any new security mechanism to my application as everything is located beside each other. Can I cound on security impact of multisig accounts in my application at all?

I hope you can help me so solve these issues in my mind.



Source link

Related posts
Cryptocurrency

trading - Crypto exchange - what do BTCUSD SELL and LTCBTC SELL mean?

1 Mins read
BTCUSD sell | | Trading Pair Advice from the Platform So BTCUSD is a trading pair in trading you always exchange something…
Cryptocurrency

bitcoin-cli decodescript wrong output - Bitcoin Stack Exchange

1 Mins read
If I try to get info in genesis block, there is 1 tx: “scriptPubKey”: { “asm”: “0496b538e853519c726a2c91e61ec11600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf621e73a82cbf2342c858ee OP_CHECKSIG”, “hex”: “410496b538e853519c726a2c91e61ec11600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf621e73a82cbf2342c858eeac”, “type”: “pubkey”…
Cryptocurrency

Earning reward submitting a block

1 Mins read
I use bitcoincore to submit a block. Can I earn somekind of reward submitting blocks? Thanks Source link

Leave a Reply

Your email address will not be published. Required fields are marked *