yenom / BitcoinKit

Bitcoin protocol toolkit for Swift
MIT License
844 stars 262 forks source link

Examples are not updated [Question] #241

Open andresVillagomez opened 4 years ago

andresVillagomez commented 4 years ago

Examples are not updated and while I'm able to receive transactions, I can't find the way to send coins to any address.

The log is reporting this: sending transaction 104.192.7.210:19979 sending inv 104.192.7.210:19979 sent inv 104.192.7.210:19979 disconnected

cuhte3 commented 4 years ago

@andresVillagomez

SPV features are under construction. The following functions cannot work well sometimes. Send/receive transactions. See current balance in a wallet.

Take a look to WalletWithApi example for workaround. Basically you create and sign tx on device and publish it using 3rd party api

cacaosteve commented 4 years ago

"The BitcoinKit library is a Swift implementation of the Bitcoin protocol which support both BCH and BTC. Improving the mobile ecosystem for Bitcoin developers is our mission.

BitcoinKit allows maintaining a wallet, sending or receiving transactions without a full blockchain node. Following is a wallet app that demonstrates the way to use it."

Where can I find WalletWithApi? Is it not worth it trying to use BitcoinKit to send/receive transactions and check current balance in a wallet?

These are literally the only things I wanted to do.