Code Monkey home page Code Monkey logo

vite-wallet's Introduction

vite-wallet

The Desktop Wallet of Vite.

Version Version Twitter Follow GitHub all releases Commitizen friendly

Changelog

Installation

The Vite Desktop Wallet supports Mac and Windows. Download and install.

Development

Init submodule

This project requires the vite-web-wallet. You need init submodules first.

git submodule init
git submodule update

Install

Install dependencies

yarn

Install the dependencies of vite-web-wallet

cd ../vite-web-wallet
# Be sure you are in the folder of vite-web-wallet
yarn

Develop Mode

Launch the local dev server of vite-web-wallet

# Be sure you are in the folder of vite-web-wallet
yarn dev

Now open a new tab on terminal

yarn dev

Commit code:

yarn commit

Build

First, you need build the vite-web-wallet dist:

# Be sure you are in the folder of vite-web-wallet
yarn build

Second, you need to build vite-wallet:

cd ../vite-wallet
# Be sure you are in the folder of vite-wallet

# Build Mac installation
yarn build

# Build Windows installation
yarn build:win

Release

Set .env

Before running release script, you need create a .env file. About .env config, you can look .env.example;

GH_TOKEN=<Github Personal Token: required>
GPG_SIGN_KEY=<GPG Sign Key: optional>

Release

Here is the release script of vite-wallet. It do something like:

  1. Bump version
  2. Choose which platform to build
  3. Release package to github
  4. Sigin with GPG key
yarn release

vite-wallet's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vite-wallet's Issues

Transactions Missing

There are no transactions showing on the windows Vite wallet but they are there on the Web browser wallet.

image

build issue: python 2 missing ?

I ran into two build issues.

I followed tutorial to try and build desktop wallet here:

https://github.com/vitelabs/vite-wallet

  1. First issue is minor:

cd ../vite-web-wallet is wrong, should be:
cd vite-web-wallet

  1. Second issue: python 2 missing ?
[4/4] Building fresh packages...
[14/24] ⠈ scrypt
[-/24] ⠈ waiting...
[13/24] ⠈ websocket
[23/24] ⠈ node-sass
error V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\node-sass
Output:
Building: G:\Tools\NodeJS\node.exe V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsas
s_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'G:\\Tools\\NodeJS\\node.exe',
gyp verb cli   'V:\\ViteDesktopWallet\\vite-wallet\\vite-web-wallet\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\which\which.js:80:29)
gyp verb `which` failed     at V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\which\which.js:89:16
gyp verb `which` failed     at V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:204:21)
gyp verb `which` failed  python2 Error: not found: python2
gyp verb `which` failed     at getNotFoundError (V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\which\which.js:80:29)
gyp verb `which` failed     at V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\which\which.js:89:16
gyp verb `which` failed     at V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:204:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python312\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Python312\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
gyp ERR! stack
gyp ERR! stack     at genericNodeError (node:internal/errors:984:15)
gyp ERR! stack     at wrappedFn (node:internal/errors:538:14)
gyp ERR! stack     at ChildProcess.exithandler (node:child_process:422:12)
gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
gyp ERR! stack     at maybeClose (node:internal/child_process:1105:16)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
gyp ERR! System Windows_NT 10.0.22631
gyp ERR! command "G:\\Tools\\NodeJS\\node.exe" "V:\\ViteDesktopWallet\\vite-wallet\\vite-web-wallet\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=
" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd V:\ViteDesktopWallet\vite-wallet\vite-web-wallet\node_modules\node-sass
gyp ERR! node -v v21.6.2

There may have also be some install issues, repeating it gives this log, not sure if this is problem as well, maybe not:

$ npm install node-sass
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @babel/[email protected]
npm WARN Found: @babel/[email protected]
npm WARN node_modules/@babel/core
npm WARN   peer @babel/core@"^7.0.0" from [email protected]
npm WARN   node_modules/babel-loader
npm WARN     dev babel-loader@"^8.0.2" from the root project
npm WARN     1 more (testwebworker)
npm WARN   76 more (babel-plugin-polyfill-corejs2, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/[email protected]
npm WARN node_modules/@babel/plugin-transform-arrow-functions
npm WARN   @babel/plugin-transform-arrow-functions@"7.0.0-beta.53" from @babel/[email protected]
npm WARN   node_modules/@babel/preset-es2015
npm WARN
npm WARN Conflicting peer dependency: @babel/[email protected]
skybu@SuperPC2023 MINGW64 /v/ViteDesktopWallet/vite-wallet/vite-web-wallet ((5f0d7ca3...))
$ npm install node-sass
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @babel/[email protected]
npm WARN Found: @babel/[email protected]
npm WARN node_modules/@babel/core
npm WARN   peer @babel/core@"^7.0.0" from [email protected]
npm WARN   node_modules/babel-loader
npm WARN     dev babel-loader@"^8.0.2" from the root project
npm WARN     1 more (testwebworker)
npm WARN   76 more (babel-plugin-polyfill-corejs2, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/[email protected]
npm WARN node_modules/@babel/plugin-transform-arrow-functions
npm WARN   @babel/plugin-transform-arrow-functions@"7.0.0-beta.53" from @babel/[email protected]
npm WARN   node_modules/@babel/preset-es2015
npm WARN
npm WARN Conflicting peer dependency: @babel/[email protected]
npm WARN node_modules/@babel/core
npm WARN   peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/[email protected]
npm WARN   node_modules/@babel/plugin-transform-arrow-functions
npm WARN     @babel/plugin-transform-arrow-functions@"7.0.0-beta.53" from @babel/[email protected]
npm WARN     node_modules/@babel/preset-es2015
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @babel/[email protected]
npm WARN Found: @babel/[email protected]
npm WARN node_modules/@babel/core
npm WARN   peer @babel/core@"^7.0.0" from [email protected]
npm WARN   node_modules/babel-loader
npm WARN     dev babel-loader@"^8.0.2" from the root project
npm WARN     1 more (testwebworker)
npm WARN   76 more (babel-plugin-polyfill-corejs2, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/[email protected]
npm WARN node_modules/@babel/plugin-transform-block-scoped-functions
npm WARN   @babel/plugin-transform-block-scoped-functions@"7.0.0-beta.53" from @babel/[email protected]
npm WARN   node_modules/@babel/preset-es2015
npm WARN
npm WARN Conflicting peer dependency: @babel/[email protected]
npm WARN node_modules/@babel/core
npm WARN   peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/[email protected]
npm WARN   node_modules/@babel/plugin-transform-block-scoped-functions
npm WARN     @babel/plugin-transform-block-scoped-functions@"7.0.0-beta.53" from @babel/[email protected]
npm WARN     node_modules/@babel/preset-es2015
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @babel/[email protected]
npm WARN Found: @babel/[email protected]
npm WARN node_modules/@babel/core
npm WARN   peer @babel/core@"^7.0.0" from [email protected]
npm WARN   node_modules/babel-loader
npm WARN     dev babel-loader@"^8.0.2" from the root project
npm WARN     1 more (testwebworker)
npm WARN   76 more (babel-plugin-polyfill-corejs2, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/[email protected]
npm WARN node_modules/@babel/plugin-transform-block-scoping
npm WARN   @babel/plugin-transform-block-scoping@"7.0.0-beta.53" from @babel/[email protected]
npm WARN   node_modules/@babel/preset-es2015



I will try and install python 2 and then re-try build to see if that helps.

Does not run/start on windows.

Fixing code base was done with:
Latest node.js download
npm update
on both folders vitewallet and vite web wallet.
force color was removed from package.json.

Advanced candle chart (shade on transaction amount)

Use transaction amount to shade red/green

Big transaction = bright
Small transaction = dark

Algorithm idea:
Compute total transaction amount time period
Compute transaction percentage
Use percentage for shading

gpu process crashes a lot

during switching betweens pairs, windows fading. windows 7 laptop screen rotated vertically.

test better...

Add coala for linting and fixing code

Instead of downloading language specific linters, we can use coala for linting and fixing for all languages. If my issue is accepted, I can set up a .coafile for every repo where it is needed(please specific in which repos do you need it). In a new issue, i will fix the linting errors is any arise.

Label: enhancement

I can here via the Vite developer initiative plan announced on Vite Announcement(Telegram).
ETH address: 0x08ac6d7ce02e7CFa050eECa4aFF73B862B6889bB

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.