When running a local node (on a Mac), the RPC API uses a different location to locate the wallets compared to the cleos CLI.
RPC (E.g. http://127.0.0.1:8888/v1/wallet/list_wallets
) uses:
/Users/<username>/Library/Application Support/eosio/nodeos/data/./default.wallet
cleos (E.g. cleos wallet unlock
) uses:
/Users/<username>/eosio-wallet/./default.wallet
Is there a way to make them both reference the same location for wallets?Q1. Why are the wallet locations different for the same nodeos running locally when accessed via RPC vs cleos?
This is how I run my node locally:Q2. Is there a way to make them both reference the same location for wallets?
This is how I run my node locally:
nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --contracts-console