From e3220b8a9ef4943e91e39873a3b015eb55c9b827 Mon Sep 17 00:00:00 2001 From: Theo Date: Tue, 16 May 2023 15:43:37 +0300 Subject: [PATCH] Add instructions for default RPC usage --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec9ff7e..4eabc90 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,8 @@ Sender account ETH balance is 1004873.361652048361352542 $ node cli.js withdraw --rpc --relayer --tor --private-key ``` -Note that `--relayer `, `--tor ` is optional, and use `--private-key ` only if you withdraw without relayer. +Note that `--relayer `, `--tor ` and `--rpc ` are optional parameters, and use `--private-key ` only if you withdraw without relayer. +You can don't provide RPC link and withdrawal will be made via default RPC for the chain to which note belongs. If you want to use Tornado Cash relayer for your first withdrawal to your new ethereum account, please refer to the list of relayers below. @@ -117,9 +118,11 @@ Backed up invoice as ./backup-tornadoInvoice-eth-0.1-5-0x1b680c7d.txt Creating deposit transaction with `depositInvoice` only requires valid deposit note created by `createNote` command, so that the deposit note could be stored without exposed anywhere. ```bash -$ node cli.js depositInvoice +$ node cli.js depositInvoice --rpc --tor ``` +Parameter `--rpc ` is optional, if you don't provide it, default RPC (corresponding to note chain) will be used. + ##### Example: ```bash