Nano Wallet for iOS
- Clone the repo
- Make sure CocoaPods is installed and run
pod installin the
- Open the
- You must build and run on your device due to the
RaiCoreBaselibrary's support for arm64 architecture.
- You should be good to go!
Note: Nano Wallet for iOS supports devices with iOS 11+
All Nano Wallet development happens on GitHub. Contributions make for good karma and we welcome new contributors. We take contributors seriously, and thus have a contributor code of conduct.
- Fork the codebase
- See Issues for open bugs or feature requests
- Make changes in your local branch
- Submit a pull request for review, discussion and possible merge
|NanoWalletCompany.com||Nano Wallet Company Homepage|
|@NanoWalletCo||Follow Nano on Twitter to stay up to date.|
|Releases||Check out the releases and their changelogs.|
|Code of Conduct||Find out the standards we hold ourselves to.|
How to update RaiCoreBase if a new
.dylib file is provided:
TODO: Rewrite this section with the .a lib
RaiCoreBase is an internal framework that handles Wallet Seed creation, private/public key creation, work signing and more. It can be found in the
RaiCoreBase directory in the project.
It currently supports
arm64 devices which means it does not support devices that don't support iOS 11.
Note: This setup relies on Cocoapods as a dependency and won't work without it.
In terminal, starting in the wallet's base directory, copy the
.dylibfile into the
cp ../../Downloads/librai_lib.dylib RaiCoreBase/RaiCoreBase.dylib
cp ../../Downloads/librai_lib.a Signy/librai_lib.a
In terminal, in the project root directory, run
install_name_tool -id @rpath/RaiCoreBase.framework/RaiCoreBase ./RaiCoreBase/RaiCoreBase.dylib
Remove the file extension:
mv RaiCoreBase/RaiCoreBase.dylib RaiCoreBase/RaiCoreBase
(That's it! You should be good to go.)
Build and run to make everything link and load up to make sure the code and framework is loaded together correctly.
Also make sure you're importing
RaiCoreBaseinto the wrapper library's
.hfile, that should give you access to all functions in the the
Go to Build Phases for the Framework and create a Copy Files job (if one doesn't exist, Destination: resources. Copy only when installing: no, Code sign on copy: yes). The item being copied has the file name
Go to Build Phases for the main project target and create a Copy Files job (if one doesn't exist) where the item referenced is RaiCoreBase.framework (copy only when installing: no, code sign on copy: yes. Destination: Frameworks
RaiCoreBase, make sure that the interface.h file is public to the Framework; Make sure
RaiCoreBaseis public (and required) to the Framework and the main project target
Make sure that the
.frameworkis included in the main target's Embedded Binaries
Make sure that your
#import <RaiCoreBase/interface.h>at the top
Have a question?
Nano Wallet is released under the BSD-2 License