You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 16, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: solana/README.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,11 +87,28 @@ associated with the auction's `FastMarketOrder` VAA. For the `vaaAuctionRelayer`
87
87
fast transfers and execute the `settle_auction_complete` instruction, add the owner's public key to the
88
88
`knownAtaOwners` array field in the configuration file.
89
89
90
-
The `vaaAuctionRelayer` relies on the `VaaSpy` to listen for `FastMarketOrder` VAAs. To set up the
91
-
`VaaSpy`, make sure Docker is running and execute the following command:
90
+
The `vaaAuctionRelayer` relies on the [Beacon](https://github.com/pyth-network/beacon) as the `VaaSpy` to listen for `FastMarketOrder` VAAs. To set up the
91
+
Beacon, increase the UDP buffer size for the OS:
92
92
93
93
```sh
94
-
make wormhole-spy NETWORK=testnet
94
+
# for linux
95
+
sudo sysctl -w net.core.rmem_max=2097152
96
+
sudo sysctl -w net.core.rmem_default=2097152
97
+
# for macos
98
+
sudo sysctl -w net.inet.udp.recvspace=2097152
99
+
```
100
+
101
+
Then, make sure Docker is running and execute the following command to run Beacon in a detached mode:
102
+
103
+
```sh
104
+
make wormhole-spy-up NETWORK=testnet
105
+
```
106
+
107
+
To stop or restart the beacon
108
+
109
+
```sh
110
+
make wormhole-spy-down
111
+
make wormhole-spy-restart NETWORK=testnet
95
112
```
96
113
97
114
To run the `vaaAuctionRelayer` execute the following command:
0 commit comments