Manual Tests
Other Tests​
Besides using Walletshield mixnet client with blockchain wallets, you can also test it manually or use it in other scenarios that would use an RPC Provider. The following describes how to manually test the Walletshield with blockchain RPC requests.
-
Run the
walletshieldwith the latestclient.toml, from one terminal:./walletshied.sh <network_id> -
Test! from another terminal. These are examples that simply fetch info (they don't send or sign transactions, for example).
a.
ethereummainnetcurl -i -X POST -H "Content-Type: application/json" -d '{"id":8626981455178653,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x54f9ea",false]}' --output - http://localhost:7070/ethereumb.
mina/devnetcurl -d '{"query": "{ bestChain(maxLength: 3) { creator } }"}' -H 'Content-Type: application/json' http://localhost:7070/mina/devnet