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
Copy file name to clipboardExpand all lines: apps/pyth-lazer-agent/README.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# pyth-lazer-agent
2
2
3
3
pyth-lazer-agent is intended to be run by Lazer publishers analogous to [pyth-agent](https://github.com/pyth-network/pyth-agent)
4
-
for pythnet publishers. Currently it retains [the existing Lazer publishing interface](https://github.com/pyth-network/pyth-examples/tree/main/lazer/publisher),
4
+
for pythnet publishers. Currently, it retains [the existing Lazer publishing interface](https://github.com/pyth-network/pyth-examples/tree/main/lazer/publisher),
5
5
but will batch and sign transactions before publishing them to Lazer.
6
6
7
7
## Keypair
@@ -16,6 +16,18 @@ pyth-lazer-agent will need to configure access to this keypair file to sign tran
16
16
17
17
## Build and run
18
18
19
+
### From cargo
20
+
```
21
+
# Download the cargo package
22
+
cargo install pyth-lazer-agent
23
+
24
+
# Add .cargo/bin to PATH
25
+
export PATH="$PATH:~/.cargo/bin"
26
+
27
+
# Run the agent
28
+
pyth-lazer-agent --help
29
+
```
30
+
19
31
### From source
20
32
Please check [rust-toolchain](rust-toolchain.toml) to see the version of Rust needed to build (currently 1.88).
21
33
You will also need SSL and CA certificates. `cargo build` should then work as usual.
@@ -32,7 +44,7 @@ The agent takes a single `--config` CLI option, pointing at
32
44
`config/config.toml` by default. Configuration is currently minimal:
0 commit comments