-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from Team-Hycon/combine
Version 1.2.0
- Loading branch information
Showing
184 changed files
with
169,879 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"ios": { | ||
"release": { | ||
"buildFlag": [ | ||
"-UseModernBuildSystem=0" | ||
] | ||
}, | ||
"debug": { | ||
"buildFlag": [ | ||
"-UseModernBuildSystem=0" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} | ||
}), | ||
] | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ bundle.js* | |
package-lock.json | ||
styles.css* | ||
*.db | ||
dist/ | ||
dist/ | ||
.awcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]).** |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.