commit d27fb209acbd7b53507520695f0a77088e6fcf69
parent 571376bc53a9c210b686de892e9ff9723abb80e3
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Tue, 17 Sep 2024 22:13:56 -0700
add notes
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/doc/notes.md b/doc/notes.md
@@ -98,4 +98,10 @@ tar -xf linux64
./monero-x86_64-linux-gnu-v0.18.3.1/monero-wallet-rpc --stagenet --daemon-address 3.10.182.182:38081 --wallet-file /home/dkf/dkf-poker-stagenet.keys --rpc-bind-port 6061 --password '...' --disable-rpc-login
./monero-x86_64-linux-gnu-v0.18.3.1/monero-wallet-cli --daemon-address 18.169.212.248:18081
./monero-x86_64-linux-gnu-v0.18.3.1/monero-wallet-rpc --wallet-file /home/dkf/dkf-poker.keys --daemon-ssl-allow-any-cert --proxy 127.0.0.1:9050 --daemon-address 18.169.212.248:18081 --rpc-bind-port 6061 --password '...' --disable-rpc-login
+```
+
+Use wallet rpc to list all wallet addresses
+```
+curl http://127.0.0.1:6061/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_accounts"}' -H 'Content-Type: application/json'
+curl http://127.0.0.1:6061/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_address","params":{"account_index":0}}' -H 'Content-Type: application/json'
```
\ No newline at end of file