localhost:8899 as if the validator ran on the device itself.
Shared options
These options apply tostart, check, forward, status, and stop:
localnet start
Start the validator and forward its ports to every connected device:localnet check
Verify the validator is reachable from every device:localnet forward
Forward validator ports to connected devices — useful after plugging in a new device:localnet logs
Print validator logs:localnet status
Show validator and port forward status:localnet stop
Stop the validator and remove its port forwards:Code samples on this page are subject to the Apache 2.0 license.
