Skip to content

Commit

Permalink
Merge pull request #23 from Team-Hycon/combine
Browse files Browse the repository at this point in the history
Version 1.2.0
  • Loading branch information
JoowonYun authored Dec 6, 2018
2 parents f676854 + 2638de9 commit f7d4da7
Show file tree
Hide file tree
Showing 184 changed files with 169,879 additions and 433 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.vscode
node_modules/
*.crx
*.pem
.DS_Store
package-lock.json
.awcache
platforms/
plugins/
14 changes: 14 additions & 0 deletions build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"ios": {
"release": {
"buildFlag": [
"-UseModernBuildSystem=0"
]
},
"debug": {
"buildFlag": [
"-UseModernBuildSystem=0"
]
}
}
}
99 changes: 99 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.hycon.litewallet" version="1.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Hycon Pocket</name>
<description>
Hycon Pocket
</description>
<author email="[email protected]" href="https://hycon.io">
Team Hycon
</author>
<content src="index.html" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-intent href="hyconwallet:" />
<platform name="android">
<allow-intent href="market:*" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="SplashShowOnlyFirstTime" value="true" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="SplashScreenDelay" value="2000" />
<preference name="StatusBarBackgroundColor" value="#172349" />
<icon density="ldpi" src="res/icon/android/ldpi.png" />
<icon density="mdpi" src="res/icon/android/mdpi.png" />
<icon density="hdpi" src="res/icon/android/hdpi.png" />
<icon density="xhdpi" src="res/icon/android/xhdpi.png" />
<icon density="xxhdpi" src="res/icon/android/xxhdpi.png" />
<icon density="xxxhdpi" src="res/icon/android/xxxhdpi.png" />
<splash density="port-ldpi" src="res/screen/android/splash-port-ldpi.png" />
<splash density="port-mdpi" src="res/screen/android/splash-port-mdpi.png" />
<splash density="port-hdpi" src="res/screen/android/splash-port-hdpi.png" />
<splash density="port-xhdpi" src="res/screen/android/splash-port-xhdpi.png" />
<splash density="port-xxhdpi" src="res/screen/android/splash-port-xxhdpi.png" />
<splash density="port-xxxhdpi" src="res/screen/android/splash-port-xxxhdpi.png" />
<splash density="land-ldpi" src="res/screen/android/splash-land-ldpi.png" />
<splash density="land-mdpi" src="res/screen/android/splash-land-mdpi.png" />
<splash density="land-hdpi" src="res/screen/android/splash-land-hdpi.png" />
<splash density="land-xhdpi" src="res/screen/android/splash-land-xhdpi.png" />
<splash density="land-xxhdpi" src="res/screen/android/splash-land-xxhdpi.png" />
<splash density="land-xxxhdpi" src="res/screen/android/splash-land-xxxhdpi.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<preference name="BackupWebStorage" value="local" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="SplashScreenDelay" value="2000" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarStyle" value="darkcontent" />
<preference name="StatusBarBackgroundColor" value="#172349" />
<icon height="1024" src="res/icon/ios/icon-1024.png" width="1024" />
<icon height="29" src="res/icon/ios/icon-small.png" width="29" />
<icon height="58" src="res/icon/ios/[email protected]" width="58" />
<icon height="87" src="res/icon/ios/[email protected]" width="87" />
<icon height="40" src="res/icon/ios/icon-small-40.png" width="40" />
<icon height="80" src="res/icon/ios/[email protected]" width="80" />
<icon height="120" src="res/icon/ios/[email protected]" width="120" />
<icon height="50" src="res/icon/ios/icon-small-50.png" width="50" />
<icon height="100" src="res/icon/ios/[email protected]" width="100" />
<icon height="57" src="res/icon/ios/icon.png" width="57" />
<icon height="114" src="res/icon/ios/[email protected]" width="114" />
<icon height="60" src="res/icon/ios/icon-60.png" width="60" />
<icon height="120" src="res/icon/ios/[email protected]" width="120" />
<icon height="180" src="res/icon/ios/[email protected]" width="180" />
<icon height="72" src="res/icon/ios/icon-72.png" width="72" />
<icon height="144" src="res/icon/ios/[email protected]" width="144" />
<icon height="76" src="res/icon/ios/icon-76.png" width="76" />
<icon height="152" src="res/icon/ios/[email protected]" width="152" />
<icon height="167" src="res/icon/ios/icon-167.png" width="167" />
<icon height="167" src="res/icon/ios/[email protected]" width="167" />
<splash src="res/screen/ios/Default@2x~universal~anyany.png" />
<splash src="res/screen/ios/Default@2x~universal~comany.png" />
<splash src="res/screen/ios/Default@2x~universal~comcom.png" />
<splash src="res/screen/ios/Default@3x~universal~anyany.png" />
<splash src="res/screen/ios/Default@3x~universal~anycom.png" />
<splash src="res/screen/ios/Default@3x~universal~comany.png" />
</platform>
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-chrome-apps-storage" spec="^1.0.4" />
<plugin name="cordova-plugin-chrome-apps-runtime" spec="^2.0.0" />
<plugin name="cordova-plugin-qrscanner" spec="^2.6.0" />
<plugin name="cordova-plugin-x-socialsharing" spec="^5.4.1" />
<plugin name="cordova-plugin-customurlscheme" spec="^4.3.0">
<variable name="URL_SCHEME" value="hyconwallet" />
<variable name="ANDROID_SCHEME" value=" " />
<variable name="ANDROID_HOST" value=" " />
<variable name="ANDROID_PATHPREFIX" value="/" />
</plugin>
<plugin name="cordova-custom-config" spec="^5.0.2" />
<plugin name="cordova-plugin-splashscreen" spec="~5.0.2" />
<plugin name="cordova-plugin-vibration" spec="~3.1.0" />
<plugin name="cordova-plugin-statusbar" spec="~2.4.2" />
<engine name="browser" spec="^5.0.3" />
<engine name="android" spec="^6.3.0" />
<engine name="ios" spec="^4.5.5" />
</widget>
65 changes: 65 additions & 0 deletions cordova.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');

module.exports = {
entry: './src/cordova.tsx',
output: {
filename: 'js/bundle.js',
path: __dirname + '/www',
},

// Enable sourcemaps for debugging webpack's output.
devtool: 'source-map',

resolve: {
// Add '.ts' and '.tsx' as resolvable extensions.
extensions: ['.ts', '.tsx', '.js', '.json'],
},

module: {
rules: [
{
test: /\.(ttf|eot|svg|woff(2)?)(\?[a-z0-9=&.]+)?$/,
use: {
loader: 'file-loader',
options: {
name: 'fonts/[name].[ext]',
}
}
},
{
test: /\.css$/,
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader',
}),
},
// All files with a '.ts' or '.tsx' extension will be handled by 'awesome-typescript-loader'.
{ test: /\.tsx?$/, loader: 'awesome-typescript-loader' },

// All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'.
{ enforce: 'pre', test: /\.js$/, loader: 'source-map-loader' },
],
},

// When importing a module whose path matches one of the following, just
// assume a corresponding global variable exists and use that instead.
// This is important because it allows us to avoid bundling all of our
// dependencies, which allows browsers to cache those libraries between builds.
externals: {
},
plugins: [
new ExtractTextPlugin('css/styles.css'),
],

optimization: {
minimize: false,
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
safari10: true,
}
}),
]
},
};
3 changes: 2 additions & 1 deletion hummingbird-desktop/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ bundle.js*
package-lock.json
styles.css*
*.db
dist/
dist/
.awcache
83 changes: 83 additions & 0 deletions hummingbird-desktop/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<h4 align="center">Hycon Wallet - Desktop app </h4>

## Key Features

* Create and recover wallets
* Check wallet balance
* Supports <a href="https://www.ledgerwallet.com/products/ledger-nano-s" target="_blank">Ledger Nano S</a> hardware wallet - *only for 64-bit operating systems*

## Download

You can [download](https://github.com/Team-Hycon/hycon-gui/releases/tag/v1.0.0-beta.0) latest installable version of Hycon Wallet for Windows, macOS and Linux.

## Future Features

* Support for <a href="https://trezor.io" target="_blank">Trezor</a> hardware wallet

## FAQ

- ***Can I use my old wallet?***

Yes, you can. Because all of our wallets (full node, chrome extension and desktop) use same mnemonic words.

- ***How long should I wait until I can use this application to make transfers?***

Right away. It doesn't need to sync since it connects to a fully synced remote nodes automatically.

- ***Does it support hardware wallets?***

Yes. Currently it supports <a href="https://www.ledgerwallet.com/products/ledger-nano-s" target="_blank">Ledger Nano S</a> and will add other hardware wallet supports later.

- ***Why doesn't it show the button to interact with my hardware wallet?***

Hardware wallets are not supported in 32-bit systems due to security concerns.

<h4 align="center">For developers</h4>

## How To Use

To clone and run this application, you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. From your command line:

```bash
# Clone this repository
$ git clone https://github.com/Team-Hycon/hycon-gui

# Go into the repository
$ cd hycon-gui

# Install common dependencies
$ npm install

# Go into desktop app directory
$ cd hummingbird-desktop

# Install electron dependencies
$ npm install

# Compile and pack typescript codes (from `hummingbird-desktop` directory)
$ npm run build

# Run the app (from `hummingbird-desktop` directory)
$ npm run start
```

## Packaging installation files

```bash
npm dist
```

### Testing

Test files are located at `test` directory.

```bash
npm test
```

## Issues & Pull Requests

If you have an issue, feel free to add it to the [Issues](https://github.com/Team-Hycon/hycon-gui/issues) tab.
If you'd like to help us out, the [Pull Request](https://github.com/Team-Hycon/hycon-gui/pulls) tab is a great place to start.

**If you have found a security bug, please contact us at [[email protected]]([email protected]).**
Binary file modified hummingbird-desktop/build/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f7d4da7

Please sign in to comment.