2019-12-02 00:28:19 +00:00
# Pond UI
2019-12-01 08:21:20 +00:00
2020-08-20 16:45:41 +00:00
Pond is a graphical testbed for [Lotus ](https://lotu.sh ). Using it will setup a separate local network which is helpful for debugging. Pond will spin up nodes, connect them in a given topology, start them mining, and observe how they function over time.
2019-12-01 08:21:20 +00:00
2019-12-02 00:08:53 +00:00
## Build
2019-12-01 08:21:20 +00:00
```sh
2019-12-06 15:26:03 +00:00
make pond
2019-12-01 08:21:20 +00:00
```
2019-12-02 00:08:53 +00:00
## Run
2019-12-01 08:21:20 +00:00
```sh
2019-12-06 15:26:03 +00:00
./pond run
2019-12-01 08:21:20 +00:00
```
2019-12-06 15:26:03 +00:00
Now go to `http://127.0.0.1:2222` .
2019-12-01 08:21:20 +00:00
2019-12-02 00:28:19 +00:00
## What can I test?
2019-12-01 08:21:20 +00:00
2019-12-04 18:37:55 +00:00
- The `Spawn Node` button starts a new **Lotus Node** in a new draggable window.
2023-01-31 22:28:24 +00:00
- Click `[Spawn Miner]` to start a **Lotus Miner** . This requires the node's wallet to have funds.
2019-12-18 21:46:09 +00:00
- Click on `[Client]` to open the **Lotus Node** 's client interface and propose a deal with an existing Miner. If successful you'll see a payment channel open up with that Miner.
2019-12-01 08:21:20 +00:00
2019-12-18 21:46:09 +00:00
Don't leave Pond unattended for more than 10 hours, the web client will eventually consume all available RAM.
2019-12-01 08:21:20 +00:00
## Troubleshooting
- Turn it off and on - Start at the top
2020-07-08 10:53:04 +00:00
- `rm -rf ~/.lotus ~/.lotusminer/` , this command will delete chain sync data, stored wallets, and other configurations so be careful.
2019-12-01 08:21:20 +00:00
- Verify you have the correct versions of dependencies
2019-12-18 18:40:47 +00:00
- If stuck on a bad fork, try `lotus chain sethead --genesis`