4 |
5 | 一个数字货币钱包APP,基于React Native + Redux,支持上百种数字货币,用户可以添加货币及金额,APP根据实时汇率计算出用户设置的货币单位的价格,同时支持iOS和Android客户端。
6 |
7 | - [x] 支持添加数百种数字货币
8 | - [ ] 支持更改基准货币
9 | - [x] 实时API数据
10 | - [x] 数据持久化
11 |
12 | 目前还在开发中...兴趣使然,一个练手项目而已。
13 |
14 | # 截图
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ios/Images.xcassets/logo-blue.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "logo-blue.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/android/app/src/main/java/com/coinonline/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.coinonline;
2 |
3 | import com.facebook.react.ReactActivity;
4 |
5 | public class MainActivity extends ReactActivity {
6 |
7 | /**
8 | * Returns the name of the main component registered from JavaScript.
9 | * This is used to schedule rendering of the component.
10 | */
11 | @Override
12 | protected String getMainComponentName() {
13 | return "CoinOnline";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2 | Version 2, December 2004
3 |
4 | Copyright (C) 2017 Yifan Wu
4 |
5 | This is a cryptocurrency wallet application for Android and iOS, supporting for hundreds of cryptocurrencies. [中文页面](README-CN.md)
6 |
7 | The wallet is based on React Native and Redux. The supporting features can be listed as below.
8 |
9 | - [x] Adding, editing or deleting hundreds of cryptocurrencies
10 | - [ ] Editing the base currency
11 | - [x] Real-Time cryptocurrency infromation ,fetching from API
12 | - [x] Data persistence
13 |
14 | More features are going to be designed and implemented.
15 |
16 | # Snapshot
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "parser": "babel-eslint",
3 | "extends": "airbnb-base",
4 | "env": {
5 | "jest": true
6 | },
7 | "plugins": [
8 | "react",
9 | "react-native"
10 | ],
11 | "parserOptions": {
12 | "ecmaFeatures": {
13 | "jsx": true
14 | }
15 | },
16 | "rules": {
17 | "react/jsx-uses-vars": 2,
18 | "react/jsx-uses-react": 2,
19 | "comma-dangle": [
20 | "error",
21 | {
22 | "arrays": "never",
23 | "objects": "never"
24 | }
25 | ],
26 | "no-underscore-dangle": [
27 | "error",
28 | {
29 | "allowAfterThis": true
30 | }
31 | ]
32 | },
33 | "globals": {
34 | "fetch": true
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/icon/Read Me.txt:
--------------------------------------------------------------------------------
1 | Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
2 |
3 | To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
4 |
5 | You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
6 |
7 | You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | // Add jitpack repository (added by react-native-spinkit)
18 | maven { url "https://jitpack.io" }
19 | mavenLocal()
20 | jcenter()
21 | maven {
22 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
23 | url "$rootDir/../node_modules/react-native/android"
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/ios/CoinOnlineTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 | Generated by IcoMoon
1106 |