After installing Xcode, open it to begin the Command Line Tools installation. After finished, make sure that a valid CL Tool version is selected in Xcode > Preferences > Locations > Command Line Tools
.
$ git submodule update --init
If the submodules are not fetched, run:
$ git submodule update --recursive --force
Open .gitmodules and modify My-Wallet-V3 entry url to the public repo:
.gitmodules
from:
[submodule "Submodules/My-Wallet-V3"]
path = Submodules/My-Wallet-V3
url = git@github.com:blockchain/My-Wallet-V3-Private.git
ignore = dirty
to:
[submodule "Submodules/My-Wallet-V3"]
path = Submodules/My-Wallet-V3
url = git@github.com:blockchain/My-Wallet-V3.git
ignore = dirty
Then run:
$ git submodule sync
$ git submodule update --init
homebrew
Install a Ruby version manager such as rbenv.
$ brew update && brew install rbenv
$ rbenv init
Install a recent ruby version:
$ rbenv install 2.6.5
$ rbenv global 2.6.5
$ eval "$(rbenv init -)"
Then the project ruby dependencies (fastlane
, etc.):
$ gem install bundler
$ bundle install
$ sh scripts/install-brew-dependencies.sh
You will be installing:- nvm- node- yarn
Check nvm installaton instructions.
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
Install the correct node version:
$ nvm install 8.17.0
$ nvm use 8.17.0
$ brew install yarn
$ cd Submodules/My-Wallet-V3
$ git checkout ios
$ cd ../..
$ sh scripts/install-js.sh && sh scripts/build-js.sh
$ cd ./Submodules/OpenSSL-for-iPhone
$ ./build-libssl.sh --cleanup --archs="x86_64 arm64"
Clone the wallet-ios-credentials repository and copy it's Config
directory to this project root directory, it contains a .xcconfig
for each environment:
Config/BlockchainConfig/Dev.xcconfig
Config/BlockchainConfig/Production.xcconfig
Config/BlockchainConfig/Staging.xcconfig
Config/BlockchainConfig/Alpha.xcconfig
Config/NetworkKitConfig/Dev.xcconfig
Config/NetworkKitConfig/Production.xcconfig
Config/NetworkKitConfig/Staging.xcconfig
Config/NetworkKitConfig/Alpha.xcconfig
For example, This is how BlockchainConfig/Production.xcconfig
looks like:
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
OPENSSL_CERT_URL = blockchain.info
For example, This is how NetworkKitConfig/Production.xcconfig
looks like:
API_URL = api.blockchain.info
BUY_WEBVIEW_URL = blockchain.info/wallet/#/intermediate
COINIFY_URL = app-api.coinify.com
EXCHANGE_URL = exchange.blockchain.com
EXPLORER_SERVER = blockchain.com
RETAIL_CORE_SOCKET_URL = ws.blockchain.info/nabu-gateway/markets/quotes
RETAIL_CORE_URL = api.blockchain.info/nabu-gateway
WALLET_SERVER = blockchain.info
Clone wallet-ios-credentials
repository and copy it's Firebase
directory into Blockchain
directory, it contains a GoogleService-Info.plist
for each environment.
Firebase/Dev/GoogleService-Info.plist
Firebase/Prod/GoogleService-Info.plist
Firebase/Staging/GoogleService-Info.plist
Firebase/Alpha/GoogleService-Info.plist
Clone wallet-ios-credentials
repository and copy the env
to the root folder of the project, hide the file by using mv env .env
We are integrating XcodeGen and, despite still committing project files in git, we should generate project files using the following script:
$ brew install xcodegen
$ sh scripts/bootstrap.sh
xcode-select
error:
$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Install mockingbird mock generator CLI:
$ sh scripts/install-mockingbird.sh
Install mock generation script in targets. It will generate mocks first time the test are run:
$ sh scripts/install-mocks.sh
cmd-r
Please refer to the README in the Modules
directory.Please also refer to the README in the TestKit
directory.
If you would like to contribute code to the Blockchain iOS app, you can do so by forking this repository, making the changes on your fork, and sending a pull request back to this repository.
When submitting a pull request, please make sure that your code compiles correctly and all tests in the BlockchainTests
target passes. Be as detailed as possible in the pull request’s summary by describing the problem you solved and your proposed solution.
Additionally, for your change to be included in the subsequent release’s change log, make sure that your pull request’s title and commit message is prefixed using one of the changelog types.
The pull request and commit message format should be:
<changelog type>(<component>): <brief description>
For example:
fix(Create Wallet): Fix email validation
For a full list of supported types, see .changelogrc.
Source Code License: LGPL v3
Artwork & images remain Copyright Blockchain Luxembourg S.A.R.L
Security issues can be reported to us in the following venues:
转载注明出处:https://www.jianshu.com/p/8c958e75f98f 刚刚做了内购, 记录一下 这里直接上代码, 至于写代码之前的一些设置工作参考以下文章: http://www.jianshu.com/p/690a7c68664e http://www.jianshu.com/p/86ac7d3b593a 需要注意的是: 只要工程配置了对应的证书, 就能请求商品信息, 不需
) Wallet作用 从Oracle 10g R2开始, 通过使用Oracle Wallet达到任意用户不使用密码登录数据库(非操作系统认证方式), 这对在shell中要使用用户密码登录数据库进行操作的脚本来说是非常有用的, 可以不暴露用户密码. 比如在Oracle客户端通过mkstore命令设置Wallet认证信息, 然后通过"sqlplus/@connect_string"方式就可以直接连
MyWallet JavaScript Model for Blockchain.info wallet. Build Install Yarn yarn # recommended, can also use `npm install`npm run build Tests npm test Dev Watch files and re-build npm run build:watch Cle
My-Wallet-V3-Android Next-generation HD (BIP32, BIP39, BIP44) bitcoin, ethereum and bitcoin cash wallet. Getting started Install Android Studio Download from Android Studio. Make sure to install the c
Blockchain Wallet API V2 Programmatically interface with your Blockchain.info wallet. Contents Getting Started Upgrading API Documentation RPC API Installation Troubleshooting Usage Development Deploy
PLEASE NOTE WE HAVE DETECTED SOME FAKE COPAY WALLETS ON THE GOOGLE PLAY STORE FOR ANDROID, PLEASE BE SURE TO INSTALL "BITPAY WALLET" ONLY FROM THE APP STORES. APP's DEVELOPER SHOULD BE "BITPAY INC" ON
Kryptsy Features �� Supports TOR a free & anonymous open-source software for enabling anonymous communication. �� No Javascript. ⚛️ Supports multiple digital currencies (eg. Bitcoin, Litecoin, Dogecoi
BITCOIN WALLET Welcome to Bitcoin Wallet, a standalone Bitcoin payment app for your Android device! This project contains several sub-projects: wallet:The Android app itself. This is probably what you