mirror of
https://github.com/mimblewimble/mwixnet.git
synced 2025-02-01 17:01:11 +03:00
update readme to match interactive password changes
This commit is contained in:
parent
b74fd18afc
commit
40bf97a841
1 changed files with 4 additions and 3 deletions
|
@ -5,17 +5,18 @@ A set of n CoinSwap servers (node<sub>i</sub> with i=1...n) are agreed upon in a
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
#### init-config
|
#### init-config
|
||||||
To setup a new server, run `mwixnet --pass "server-password-here" init-config`.
|
To setup a new server, run `mwixnet init-config`. Then enter a password for the server key when prompted.
|
||||||
|
|
||||||
This will generate a key for the server and then create a new config file named `mwixnet-config.toml` in the current working directory.
|
This will generate a key for the server and then create a new config file named `mwixnet-config.toml` in the current working directory.
|
||||||
The configuration file will contain the private key of the server encrypted with the server password you provided.
|
The configuration file will contain the private key of the server encrypted with the server password you provided.
|
||||||
|
|
||||||
**Back this config file up! It's the only copy of the server's private key!**
|
**Back this config file up! It's the only copy of the server's private key!**
|
||||||
|
|
||||||
#### Wallet
|
#### Wallet
|
||||||
A grin-wallet account must be created for receiving extra mwixnet fees.
|
A grin-wallet account must be created for receiving extra mwixnet fees. The wallet's owner API should be available (run `grin-wallet owner_api`).
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
With your wallet and fully synced node both online and listening at the addresses configured, the mwixnet server can be started by running `mwixnet --pass "server-password-here" --wallet_pass "wallet-password-here"`
|
With your wallet and fully synced node both online and listening at the addresses configured, the mwixnet server can be started by running `mwixnet` and providing the server key password and wallet password when prompted.
|
||||||
|
|
||||||
### SWAP API
|
### SWAP API
|
||||||
The first CoinSwap server (n<sub>1</sub>) provides the `swap` API, publicly available for use by GRIN wallets.
|
The first CoinSwap server (n<sub>1</sub>) provides the `swap` API, publicly available for use by GRIN wallets.
|
||||||
|
|
Loading…
Reference in a new issue