connect: update readme

This commit is contained in:
Jon Häggblad
2022-06-10 13:55:30 +02:00
parent 56b1005226
commit dca7a9da94
+17 -26
View File
@@ -3,11 +3,11 @@ Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
SPDX-License-Identifier: Apache-2.0
-->
# Nym Wallet
# Nym Connect
Nym is an open-source, decentralized and permissionless privacy system. It provides full-stack privacy, allowing other applications, services or blockchains to provide their users with strong metadata protection, at both the network level (mixnet), and the application level (anonymous credentials) without the need to build privacy from scratch.
The Nym desktop wallet enables you to use the Nym network and take advantage of its key capabilities
Nym Connects sets up a SOCKS5 proxy for local applications to use.
## Installation prerequisites - Linux / Mac
@@ -21,38 +21,29 @@ The Nym desktop wallet enables you to use the Nym network and take advantage of
- An easy guide to get rust up and running [Installation]("http://kennykerr.ca/2019/11/18/rust-getting-started/")
- When installing NodeJS please use the `current features` version
- Using a package manager like [Chocolatey]("chocolatey.org") is recommended
- The nym wallet requires you to have `Webview2` installed, please head to the [Installer](https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section), this will ensure a smooth app launch
- Nym connect requires you to have `Webview2` installed, please head to the [Installer](https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section), this will ensure a smooth app launch
## Installation
Inside the `nym-wallet` directory, run the following command:
Inside the `nym-connect` directory, run the following command:
```
yarn install
```
## Populate environment variables
The wallet requires you to supply a `.env` file, this populates values in the wallet once it's compiled.
In the project roots there's a `.env.sample` file, these values currently match what the `.env` file should be populated with. However, if you want to change these values you can do so accordingly.
- In the root directory, create a new file named `.env`
- Input the values against the variables
## Development mode
You can compile the wallet in development mode by running the following command inside the `nym-wallet` directory:
You can compile nym-connectin development mode by running the following command inside the `nym-connect` directory:
```
yarn dev
```
This will produce a binary in - `nym-wallet/target/debug/` named `nym-wallet`
This will produce a binary in - `nym-connect/target/debug/` named `nym-connect`
To launch the wallet, navigate to the directory and run the following command: `./nym-wallet`
To launch, navigate to the directory and run the following command: `./nym-connect`
## Production mode
Run the following command from the `nym-wallet` folder
Run the following command from the `nym-connect` folder
```
yarn build
```
@@ -63,30 +54,30 @@ The output will compile different types of binaries dependent on your hardware /
**macos**
|
└─── target/release
| |─ nym-wallet
| |─ nym-connect
└───target/release/bundle/dmg
│ │─ bundle_dmg.sh
│ │─ nym-wallet.*.dmg
│ │─ nym-connect.*.dmg
└───target/release/bundle/macos/MacOs
│ │─ nym-wallet
│ │─ nym-connect
|
**Linux**
└─── target/release
| │─ nym-wallet
| │─ nym-connect
└───target/release/bundle/appimage
│ │─ nym-wallet_*_.AppImage
│ │─ nym-connect_*_.AppImage
│ │─ build_appimage.sh
└───target/release/bundle/deb
│ │─ nym-wallet_*_.deb
│ │─ nym-connect_*_.deb
|
**Windows**
└─── target/release
| │─ nym-wallet.exe
| │─ nym-connect.exe
└───target/release/bundle/msi
│ │─ nym-wallet_*_.msi
│ │─ nym-connect_*_.msi
```
For instructions on how to release the wallet, please see [RELEASE.md](./docs/release/RELEASE.md).
For instructions on how to release nym-connect, please see [RELEASE.md](./docs/release/RELEASE.md).
# Storybook