-
Notifications
You must be signed in to change notification settings - Fork 51
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 #133 from ZencashOfficial/feature/sign_message
Release v2.1.0a
- Loading branch information
Showing
30 changed files
with
5,358 additions
and
7,694 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 |
---|---|---|
|
@@ -60,4 +60,4 @@ typings/ | |
|
||
.vscode/ | ||
|
||
*.zip | ||
*.zip |
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,23 +1,29 @@ | ||
os: linux | ||
dist: bionic | ||
language: node_js | ||
node_js: | ||
- "8" | ||
- "10" | ||
- "11" | ||
- "12" | ||
services: | ||
- docker | ||
before_install: | ||
- version=`node --version | grep -oP '(?<=v)\d*?(?=\.)'` | ||
- branch=`git branch | grep -oP "(?<=^ )(.*)(?=$)"` | ||
- docker run --rm node:$version-alpine /bin/sh -c "cd /home/node && apk add --no-cache git build-base python2 && git clone https://github.com/ZencashOfficial/myzenwallet.git && cd myzenwallet && git checkout $branch && npm install && npm run build" | ||
- npm install && npm run build | ||
deploy: | ||
provider: pages | ||
skip_cleanup: true | ||
github_token: $GITHUB_TOKEN | ||
keep_history: true | ||
verbose: true | ||
local_dir: build | ||
on: | ||
branch: master | ||
tags: true | ||
- lts/* | ||
cache: | ||
npm: false | ||
notifications: | ||
email: false | ||
install: | ||
- npm ci | ||
jobs: | ||
include: | ||
- stage: "Build" | ||
script: | ||
- npm run build | ||
deploy: | ||
edge: true | ||
provider: pages | ||
strategy: git | ||
cleanup: false | ||
token: $GITHUB_TOKEN | ||
fqdn: $CUSTOM_DOMAIN | ||
keep_history: true | ||
local_dir: ./dist | ||
on: | ||
tags: true | ||
branch: master | ||
condition: $TRAVIS_TAG =~ ^release.*$ |
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 @@ | ||
myzenwallet.io |
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,12 +1,15 @@ | ||
[](https://travis-ci.com/ZencashOfficial/myzenwallet) [](https://github.com/ZencashOfficial/myzenwallet/releases/latest) [](https://github.com/ZencashOfficial/myzenwallet/releases/latest) | ||
# myzenwallet | ||
|
||
MyZENWallet is a client-side browser-based wallet for Zen. | ||
|
||
# Running locally | ||
Download one of the releases, goto the `dist` folder and double click `index.html` | ||
### Running locally | ||
Download the latest release tarball [here](https://github.com/ZencashOfficial/myzenwallet/releases/latest), extract it, goto the `dist` folder and double click `index.html` | ||
|
||
# Dev | ||
### Dev | ||
```shell | ||
yarn watch # watch and regenerate files | ||
yarn start # start local host server | ||
npm ci | ||
npm run watch # watch and regenerate files | ||
npm run start # start local host server | ||
npm run build # generate ./dist | ||
``` |
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,19 @@ | ||
import React from 'react'; | ||
|
||
export default class ZGoogleAnalytics extends React.Component { | ||
|
||
componentDidMount(){ | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
|
||
window.ga('create', 'UA-71060764-10', 'auto'); | ||
window.ga('send', 'pageview'); | ||
} | ||
|
||
render () { | ||
return null; | ||
} | ||
|
||
} |
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
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
Oops, something went wrong.