snapwallet
npm i snapwallet

snapwallet

👛

by NemProject

1.4.0 (see all)License:MITTypeScript:Not Found
npm i snapwallet
Readme

NEM Wallet

How to use the NEM Wallet ?

After downloading the latest version here https://forum.nem.io/t/nano-wallet-beta-1-1-11-5-000-xem-bug-bounty/2791, extract the NEM-Wallet folder from the archive, then you can simply click on start.html to open the app in your default browser. No installation or local server needed.

How to import NCC wallet ?

Open NCC and your wallet, clicking on user icon should reveal a drop-down menu with "Export for Lightwallet". Once your have your wallet (.json format), open the NEM Wallet and import the file from the login page. It'll ask for an upgrade and trigger the download of your updated wallet. Do not delete your old NCC wallet and keep it safe somewhere.

Imported accounts that are already harvesting using NCC

NCC is using a different way to generate the remote associated with an account. NEM Wallet uses BIP32 to generate it deterministically and make everything easier. In order to manage and monitor harvesting, you'll need to deactivate the old remote account from NCC and activate your new remote account from the NEM Wallet. Alternatively you can use a custom delegated public key in the NEM Wallet importance transaction page.

/!\ Main network: Please note that if you are part of the Supernodes program you'll need to re-enroll your node using your new delegated public key.

How to update the NEM Wallet ?

Before update make sure that you don't have any wallets stored into the NEM-Wallet folder (you can place them anywhere you want). Then, just delete old version and unzip new version.

Dashboard is empty and no balance is showing

It is probably that the node you are connected to is down. Look at the navigation bar, at the top of the page. If the circle next to Node is red, click on it and select another node from the list.

Developers

Build from source

1) Install gulp

npm install -g gulp-cli

2) Open a console to the path of the NEM-Wallet folder and install all the needed dependencies

npm install

3) Build:

gulp
OR

4) Run the NEM Wallet as App (packaged with chromium browser)

npm run devApp
OR

5) Build NEM Wallet apps, default set to : win64,osx64,linux64

gulp build-app

6) For local use, build NEM Wallet Electron apps (only Electron verision support Ledger wallets), default build for MacOS, Windows and Linux

# create the release folder where the artifacts will be created
mkdir -p release

# to skip code signing
export CSC_IDENTITY_AUTO_DISCOVERY=false

npm run release

7) Release for distribution: (Code signing for Apple builds - requires Developer ID Certificate)

7.1 On a MacOS machine, download the zip file containing the app signing certificates (ask team)

7.2 Extract the certificates and double click each one of them to add to the keychain (ask the team for private key password)

7.3 Starting with MacOS 10.14.5, all signed applications by new `Developer ID Certificate` will need to be notarized. This is an automated step in the process. You'll need to enable notarization by setting the following env vars.

<pre>
export DESKTOP_APP_NOTARIZE=true
export DESKTOP_APP_APPLE_ID=VALID_APPLE_DEV_ID
export DESKTOP_APP_APPLE_PASSWORD=VALID_APPLE_DEV_PASSWORD
</pre>

7.4 Enable auto discovery for code signing process to pick up the certificates from the keychain

<pre>export CSC_IDENTITY_AUTO_DISCOVERY=true</pre>

7.5 Run release
<pre>npm run release</pre>

7.6 Validate if the app is signed with a `Developer ID Certificate` and notarized

<pre>spctl -a -t exec -v ./release/mac/Nem\ Wallet.app
# Output(Success): ./release/mac/Nem Wallet.app: accepted source=Notarized Developer ID
# Output(Failure): ./release/mac/Nem Wallet.app: rejected source=Unnotarized Developer ID
</pre>

Known issues

  • Sometimes, depending the node used, unconfirmed data to sign is not incoming from websocket

Downloads/wk

6

GitHub Stars

285

LAST COMMIT

2mos ago

MAINTAINERS

1

CONTRIBUTORS

46

OPEN ISSUES

84

OPEN PRs

27
VersionTagPublished
1.4.0
latest
5yrs ago
No alternatives found
No tutorials found
Add a tutorial