From 40bf97a841535384ef7d1136577d42ea6a8ab452 Mon Sep 17 00:00:00 2001 From: scilio Date: Fri, 1 Jul 2022 05:53:34 -0400 Subject: [PATCH] update readme to match interactive password changes --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 49d3972..3a2a1fc 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,18 @@ A set of n CoinSwap servers (nodei with i=1...n) are agreed upon in a ### Setup #### 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. 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!** #### 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 -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 The first CoinSwap server (n1) provides the `swap` API, publicly available for use by GRIN wallets.