Debian Codegraph @

tests/libwallet_api_tests/scripts/README.md

raw symbols SCIP
1 # Running libwallet_api tests
2
3 ## Environment for the tests
4 * Running monero node, linked to private/public testnet.
5 By default, tests expect daemon running at ```localhost:38081```,
6 can be overridden with environment variable ```TESTNET_DAEMON_ADDRESS=<your_daemon_address>```
7 [Manual](https://github.com/moneroexamples/private-testnet) explaining how to run private testnet.
8
9 * Directory with pre-generated wallets
10 (wallet_01.bin, wallet_02.bin,...,wallet_06.bin, some of these wallets might not be used in the tests currently).
11 By default, tests expect these wallets to be in ```/var/monero/testnet_pvt```.
12 Directory can be overriden with environment variable ```WALLETS_ROOT_DIR=<your_directory_with_wallets>```.
13 Directory and files should be writable for the user running tests.
14
15
16 ## Generating test wallets
17 * ```create_wallets.sh``` - this script will create wallets (wallet_01.bin, wallet_02.bin,...,wallet_06.bin) in current directory.
18 when running first time, please uncomment line ```#create_wallet wallet_m``` to create miner wallet as well.
19 This wallet should be used for mining and all test wallets supposed to be seed from this miner wallet
20
21 * ```mining_start.sh``` and ```mining_stop.sh``` - helper scripts to start and stop mining on miner wallet
22
23 * ```send_funds.sh``` - script for seeding test wallets. Please run this script when you have enough money on miner wallet
24