Comments (4)
Thank you for assistance! 😄
from bitcash.
If you build a transaction, that should give you a signed transaction with multiple unspents.
from bitcash import Key
key = Key("...")
outputs = [("bitcoincash:qq2j4wmn285l38jem8ftfxnrv4ea5ljzrg6j37gmuj", 2000, "satoshi")]
unspents = key.get_unspents()
key.create_transaction(outputs, unspents=unspents)
# Returns: 0100000002bef932533cxxx0000
Does that answer the question?
from bitcash.
What I'm trying to understand is how to consolidate funds from #address1 and #address2 in a single transaction. I've prepared the unspents, but how do I sign the transaction using both private keys?
from bitcash.
Sadly BitCash does not support HD wallets. So you can only send funds from a single address.
from bitcash.
Related Issues (20)
- send() no longer pulls in unspents HOT 5
- ValueError: "0" is an invalid base58 encoded character. on PrivKeyTestnet HOT 2
- Remove hex_to_wif() from documentation HOT 1
- ConnectionError: All APIs are unreachable HOT 6
- How to sweep all BTC from wallet HOT 1
- ERROR: Could not build wheels for coincurve HOT 1
- Unsupported hash type ripemd160 HOT 9
- Cash Tokens support CHIP-2022-02-CashTokens HOT 1
- wallet balance not accurate HOT 1
- wallet balance not synced (same error as closed ticket) HOT 3
- Difference from `bit` HOT 5
- Cash address contains uppercase and lowercase characters HOT 3
- Unable to send more than one transaction within a block HOT 2
- Upgrade CI workflow actions
- Error while signing transaction: nft_commitment HOT 7
- Chain verification missing HOT 2
- Bitcash not creating valid transactions despite returning a TxID HOT 4
- APIs out of date HOT 6
- Chaining unconfirmed transactions does not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcash.