Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitstore/bitstore-ios
Native iOS Bitcoin wallet
https://github.com/bitstore/bitstore-ios
bitcoin bitcoin-wallet btc ios objective-c
Last synced: about 1 month ago
JSON representation
Native iOS Bitcoin wallet
- Host: GitHub
- URL: https://github.com/bitstore/bitstore-ios
- Owner: BitStore
- License: mit
- Created: 2014-08-17T12:44:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-30T17:57:00.000Z (almost 10 years ago)
- Last Synced: 2024-10-11T20:22:05.381Z (about 1 month ago)
- Topics: bitcoin, bitcoin-wallet, btc, ios, objective-c
- Language: Objective-C
- Homepage: http://bitstoreapp.com
- Size: 12.1 MB
- Stars: 107
- Watchers: 11
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BitStore
[![Build Status](https://travis-ci.org/BitStore/BitStore-iOS.svg)](https://travis-ci.org/BitStore/BitStore-iOS)BitStore is a simple and fast native iOS Bitcoin wallet.
It offers all the features you want but still provides an easy to use interface.
Private keys are generated on the device and stored securely in the Keychain.**AppStore:** [https://itunes.apple.com/us/app/bitstore/id890668158?ls=1&mt=8](https://itunes.apple.com/us/app/bitstore/id890668158?ls=1&mt=8)
**Website:**: [http://bitstoreapp.com](http://bitstoreapp.com)
**Twitter:**: [https://twitter.com/BitStoreApp](https://twitter.com/BitStoreApp)[![image](http://bitstoreapp.com/bitstore.png)](http://bitstoreapp.com)
## Installation
API Keys are managed with [cocoapods-keys](https://github.com/orta/cocoapods-keys).
You will need to add API keys for Chain.com (required) and Plesk analytics (optional):pod keys set "Chain" "key" BitStore
pod keys set "Analytics" "key" BitStoreOpen BitStore.xcworkspace.
You will see three schemas:- BitStore (will use the production server)
- BitStore-Test (will use the test server & color the app red)
- Tests (Unit xctest)On the test server the stripe test servers will be used and only 0.0001 / 0.0002 / 0.0005 / 0.001 BTC will be transfered. Also the developer profile will be used for the APNs. Phone verification is skipped on the test server.
### Server
**Production** bitstoreapp.com (96.126.120.117)
**Test** test.bitstoreapp.com (198.58.122.87)## Code Style
### iOS
- Method braces on same line
- Tabs
- Pointer * by the type no variable name (NSString* name)
- xcode file structure should match the local file system
- use l10n for localized strings, add them manually to the strings file## Concepts
The idea is to use listeners on most UI elements. So if the currency changes, all labels update. If the address data changes, all views are updated. With tableviews we just reload the hole table. At the moment there's no problem doing that, as we don't have huge tables.Listeners don't have to be removed. As soon as the registered object becomes deallocated it will be removed.
**Address**
The user can own multiple addresses. A contact is also considered an address.
The address object updates itself and notifies it's listeners.**Exchange**
To get the current BTC / CUR exchange rate or the current selected currency, the `ExchangeHelper` will provide a listener registration method.
The exchange also contains the selected unit.**Http requests**
If you do any networking, use `RequestHelper`. Modify if it doesn't suit your needs.
**Jobs**
`JobHelper` makes it easy to add http requests that have to be performed successfully, but not immediatly. This is now used for registering to the push service or the unit change.