How can i use Bitcoin payment method through Swift for my IOS Project?

2

1

I am trying to create Bitcoin Payment in my IOS project. I'm using swift language. I search this topic in lots of sites, youtube, stack overflow. but i just getting HTTP request related topics. Any one have solution? Ping me...

sabari vasagan

Posted 2017-06-21T09:44:45.493

Reputation: 121

Hello there! What solution did you end up using, sir? – jlstr – 2018-05-29T23:19:10.143

Answers

2

Core Bitcoin is a library for iOS written in Objective-C. I have worked with it in Swift using the bridging header.

I myself have written a few Swift classes, in my experimental/educational wallet, for creating addresses, keys, and transactions, but I wouldn't recommend using it for anything. Feel free to take a look and see if you find anything interesting, or anything that you could learn from.

doffing81

Posted 2017-06-21T09:44:45.493

Reputation: 516

1

I suggest you to use BitPay's payment API, using Swift's URLRequest. See this answer and this answer for Swift documentation, and this webpage for BitPay API documentation.

Please note that if your app uses Bitcoin payment system your app may not be liked by Apple.

MCCCS

Posted 2017-06-21T09:44:45.493

Reputation: 8 689