CoreBitcoin
CoreBitcoin copied to clipboard
Awesome Bitcoin toolkit for ObjC and Swift
I wrote an optimized version of `BTCHexFromData`. The speedup with `-O3` is approximately 85% (or 5.5x) compared to the current implementation. The speedup comes from specialized printing and reduced memory...
how to create Segwit address i use [BTCScriptHashAddress addressWithData:BTCHash160(key.uncompressedPublicKey)] wrong
私钥生成的隔离见证地址和助记词生成的隔离见证地址不一样的吗? _Originally posted by @iphoneten in https://github.com/oleganza/CoreBitcoin/issues/128#issuecomment-628997449_ 你找到生成隔离见证的方法。
I am doing BTC transaction , use BTCTransaction class I just setFee:like this: BTCTransaction *tx = [[BTCTransaction alloc] init]; long gas = [self caculateFee:fee andAmount:amount andUtxos:txouts]; tx.fee = gas; +...
Im unable to get testnet extended key (tpriv and tpub), only xpriv and xpub. Is this by design or am I missing something? `let keychain = mnemonic.keychain.bitcoinTestnet.derivedKeychain(withPath: "m/44'/0'/0'/0") let xpub...
- (id) initWithWords:(NSArray*)words password:(NSString*)password wordListType:(BTCMnemonicWordListType)wordListType;
I want to spend coin of a **segwit multisig**(2-of-3) address. I already created a tx, signed it with the first private key. How can I use this library to make...
Json: { hash = 733c8d399ab699ff00dd90380cefde5df28b72133f5a34cc6cc3b669b538b8b7; in = ( { "prev_out" = { hash = 9862388f00461efbc895cedade0fcf11a1d8b4e0618e7748992ccf08c2e59f83; n = 0; }; scriptSig = "3045022100e4866462ba92ba393052442224e4298d364f824a8d8c763e2120d4c9b9f5e0b902207be56d53c728ff1f5129803c2375ddc96a9b765d8beb901751480421bdb1c72101 03ccb5d8fbb1faaba8d45a77b9f3b6f078f15f51a589c1f5c4c901ebc78f00ded9"; }, { "prev_out" = { hash =...
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...
Enable Create transaction Raw for 3 series Segwit address? Also Transaction witness class missing?
I am trying to send BTC from p2sh (3 series segwit address) To p2pkh (1 series address) or p2sh (3 series segwit address) address. Error occur: Validation Error: BitcoindException(super=com.neemre.btcdcli4j.core.BitcoindException: Error...