GithubHelp home page GithubHelp logo

jingbin4679 / onekey-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chinayangkun/onekey-wallet

0.0 1.0 0.0 16 KB

Efficiency and secure crypto wallet for Bitcoin, Ethereum and more.

License: MIT License

onekey-wallet's Introduction

OneKey-Wallet

Efficiency and secure crypto wallet for Bitcoin, Ethereum and more.

git_hero_page.png

๐Ÿ”— Links you may need

Target URL Tips
๐Ÿ–ฅ๏ธ Official Web Site https://www.onekey.so/ DO NOT visit other fishing sites
โฌ‡๏ธ Download https://download.onekey.so/ Both Android and iOS supported
๐Ÿ˜Š Community https://discord.com/invite/nwUJaTzjzv Join us and talk!

๐Ÿ“ฑ OneKey App Works on

  • iOS Device with system version 13.0 or above
  • Android Device with system version 8.0 or above

๐Ÿ“ Translations

Wanna help us to make OneKey global?

๐Ÿ”‹ Hardware

Not only is OneKey's software all open source, but the hardware is also completely open source, from the circuit boards to the 3D structures, and we've opened up all the information so you can print these enclosures and build your own OneKey if you're interested.

3d_structure.png

Here is something you need to build your own OneKey:

Items URL Tips
๐Ÿ“• Documents https://github.com/OneKeyHQ/doc Grab whatever you need
๐Ÿ“ฆ 3D File https://github.com/OneKeyHQ/doc/tree/master/docs/3d Use it on your 3D Printer
๐Ÿ“Ÿ PCB File https://github.com/OneKeyHQ/doc/tree/master/docs/pcb /
๐Ÿงฉ Secure Element https://github.com/OneKeyHQ/doc/tree/master/docs/se /

๐Ÿ› ๏ธ Build & Run Our Software

For ๐ŸŽ iOS

First, visit https://github.com/OneKeyHQ/electrum/tree/bixin_dev/ios

and then:

Quick Start Instructions

  1. Requirements:

    • Xcode 12.1 is required

    • Python 3.8 must be installed

    • cookiecutter, briefcase, pbxproj, and setuptools python packages must be installed::

        python3.8 -m pip install 'setuptools==40.6.2' --user
        python3.8 -m pip install 'cookiecutter==1.6.0' --user
        python3.8 -m pip install 'briefcase==0.2.6' --user
        python3.8 -m pip install 'pbxproj==2.5.1' --user
      
  2. ReSign the binary dependencies sh coderesign.sh

  3. Generate the iOS project using the included shell script::

        ./make_ios_project.sh
    

App Store and Ad-Hoc Distribution

For reasons that aren't entirely clear to me (but likely due to the way libPython.a and other libs are built), you need to do some special magic for the "Release" build to actually run properly. This means that if you want to compile for the App Store or for Ad-Hoc distribution, you need to disable symbol stripping of the compiled binary. Make sure the following build settings for the "Release" build are as follows:

  • Strip Debug Symbols During Copy = NO
  • Strip Linked Product = NO
  • Strip Style = Debugging Symbols
  • Enable Bitcode = NO
  • Valid Architectures = arm64
  • Symbols Hidden by Default = NO

For more information, see this stackoverflow post: https://stackoverflow.com/questions/22261753/ios-app-wont-start-on-testflight-ad-hoc-distribution

Additional Notes

The app built by this Xcode project is a fully running standalone OneKey as an iPhone app.!

It uses the 'Briefcase' project to create an Xcode project which contains within it a Python interpreter, plus all scripts and dependent python packages. Python 3.6 or above is recommended.


For ๐Ÿค– Android OS

First, visit https://github.com/OneKeyHQ/electrum/tree/bixin_dev/android

and then:

Quick Start Instructions

The Android app can be built on any OS which can run the Android development tools. However, the following automated process is available for Linux x86-64:

If necessary, install Docker using the instructions on its website.

Copy your release key to keystore.jks in this directory. It must contain a key with the following configuration:

keyAlias "key0"
keyPassword "android"
storePassword "android"

Run build.sh. The APK will be generated in release in this directory.

Between builds it may be helpful to free up disk space with the command docker system prune.

Development

To start developing the app, just open this directory in Android Studio.

Strings

For user interface text, the app uses the standard Android string resource system. The strings.xml files are generated by the Gradle task generateStrings, which in turn calls the script contrib/make_locale to obtain strings from elsewhere in the repository and Crowdin.

Android-specific strings should be added to app/src/main/python/electrum_gui/android/strings.py.

generateStrings is run automatically the first time you build the app. If any of the source strings change, you'll need to run it again manually to pick them up.

The Android string IDs are generated from the first 2 words of each string, plus as many more words as necessary to make them unique. So if any of the source strings change, you may need to update ID references in the code.


โš–๏ธ License

๐Ÿ’ฌ Contact

You can find us via these ways

TBD!....

onekey-wallet's People

Contributors

rayston92 avatar jingbin4679 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.