-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TransactionBuilder help please #96
Comments
how you managed to install the library in the first place? for me it gives an error when running pod install: "target has transitive dependencies that include static binaries" |
Hi @TripKey , did you solve it? |
@vladislav-k no :( I gave up and have been putting my attention elsewhere. Maybe you can play with my code and see if you can get it to work. Please let me know if you do. |
If anyone resolves it please help to make a transaction. with Proper Code. |
Here I got Solution. if you implement this method you can get transaction raw.func callBTCTransaction() Datasource Methods:func unspentOutputs(for txbuilder: BTCTransactionBuilder!) -> NSEnumerator! Hope you get This Answer. |
Thank you so very much I was able to build the transaction succesfully! :) |
Hi TripKey, can you please help us. we are using API: "https://testnet.blockchain.info/pushtx" we are implementing in swift4.0. |
Hi Saz, My goal was to get a successful raw transaction output in hex form which i was able to do, unfortunately when i go to decode it on the testnet at https://live.blockcypher.com/btc-testnet/decodetx/ it returns the error: { So i don't have any code yet for signing the transaction or broadcasting it yet. Could you please share with me your code for creating/signing the transaction so we can compare? I am going to keep trying and will update when I figure out what i'm doing wrong. |
Here is my full code, again when I put the result of: in hex form of raw transaction into the decoder at https://live.blockcypher.com/btc-testnet/decodetx/it returns "error": "sequence too long" Here is full code: `import UIKit class TransactionBuilderViewController: UIViewController, BTCTransactionBuilderDataSource {
} I know I am missing something dumb and obvious but I can't figure it out. Any help much appreciated. |
Hi Trip, |
Hi, FontaineDenton https://github.com/oleganza/CoreBitcoin/blob/master/CoreBitcoin/BTCTransaction%2BTests.m |
I appreciate you reaching out tbsiosdev, unfortunately I only know swift and its just too confusing reading obj-c.. Ive looked it over many times and tried and tried but my raw transaction data doesn't seem to be valid. If you have a swift example id very appreciative. |
Hi Fontaine, |
I guess you can just add an output with the OP_RETURN followed by the hex.
|
@FontaineDenton @Kampeone @vladislav-k @tbsiosdev @sazzadiproliya How to sig a transaction with P2SH script UTXOs? Thx! |
For that transaction witness class is missing. |
Hi,
I am struggling to build a raw unsigned and signed transaction and was hoping you could help give me a bit of advise.
I am getting this error after i try and print the result of BTCTransactionBuilder:
error = Error Domain=com.oleganza.CoreBitcoin.TransactionBuilder Code=3 "(null)"
Here is the full function:
`func parseAddress(address: String) {
print("getAddressTransactionInputs")
Thanks to anyone very much for any help or letting me know what i'm doing wrong.
The text was updated successfully, but these errors were encountered: