Skip to content

docs(lazer/stellar): add mainnet Lazer verifier to the example README - #133

Merged
jayantk merged 1 commit into
mainfrom
hydra/i-hamotoa/head
Aug 12, 2026
Merged

docs(lazer/stellar): add mainnet Lazer verifier to the example README#133
jayantk merged 1 commit into
mainfrom
hydra/i-hamotoa/head

Conversation

@jayantk

@jayantk jayantk commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

What

The ## Deploy (testnet) section of lazer/stellar/README.md listed only the testnet Pyth Lazer verifier:

Contract Testnet address
Pyth Lazer verifier CAYFT5JE3UQTKT4Q6ZOZK4FXVYVT6RE3MFC7STA4UB6WAEGBT65MRU52

Replaced with a two-row Testnet/Mainnet table, both ids linked to stellar.expert, and reworded the lead-in to say the verifier is deployed on both networks while the walkthrough stays on testnet.

Why

A consumer flipping the example from --network testnet to mainnet needs the mainnet verifier id for the --lazer constructor arg, and had no way to find it from the example itself.

The walkthrough itself is deliberately left on testnet (stellar keys generate deployer --network testnet, the testnet id in the stellar contract deploy snippet) — this is tutorial code and new users shouldn't be pointed at mainnet by default.

Contract ids

Both ids are the canonical ones from the contract_manager registry in pyth-network/pyth-crosschain (contract_manager/src/store/contracts/StellarLazerContracts.json), and mirror the deployment tables in the pyth-network/pyth-lazer contracts/stellar/README.md.

Verified live on-chain — both contracts resolve, expose the identical Pyth Lazer verifier interface (verify_update, list_trusted_signers, update_trusted_signer, LE-ECDSA error set), and report the same trusted signer 03a4380f01136eb2640f90c17e1e319e02bbafbeef2e6e67dc48af53f9827e155b.

Testing

Docs-only. ci-lazer-stellar.yml covers lazer/stellar with Rust fmt/clippy/build only, which this change does not touch.

The Deploy section listed only the testnet verifier id, so a consumer
flipping the walkthrough to mainnet had no way to find the right
--lazer argument from the example itself.

Replace the single-row table with a Testnet/Mainnet table linking both
contracts on stellar.expert, and reword the lead-in to say the verifier
is deployed on both networks while the walkthrough stays on testnet.
@jayantk
jayantk merged commit 530edd4 into main Aug 12, 2026
6 checks passed
@jayantk
jayantk deleted the hydra/i-hamotoa/head branch August 12, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants