python – An environment friendly algorithm for multi-address transactions in a deterministic pockets


I’m creating my Bitcoin pockets (testnet) on Python utilizing the Cryptos library. I began integrating help for deterministic wallets and mnemonic phrases. Now I’ve enabled customers to generate addresses, addresses and personal keys I retailer in an encrypted sqlite3 database file, addresses and public keys in a easy sqlite3 file.

How can an algorithm for producing a transaction with a number of inputs be successfully carried out? The library has built-in features comparable to unspent (present UTXO for the deal with). I perceive that I must loop by way of utxo after which choose personal keys for signing, however is there a extra environment friendly means?

Leave a Reply

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

Back To Top