Abstract
Following the approval of the Pyth Lazer release by the Pyth DAO, this proposal assigns Douro as the trusted signer for Lazer.
Description
Pythian council is the top authority of the lazer contract. The contract currently doesn’t have any trusted signer.This proposal sets Douro as the trusted signer of Lazer.
Implementation Plan
Proposal id: Pyth Proposal
Verify the implementation following the guide below:
- Get access to a temporary token for Lazer
- Make sure you have git and rust installed.
- git: install
git
from here - rust: install
rust
from here - clone the pyth-crosschain repo by running the following command:
git clone
https://github.com/pyth-network/pyth-crosschain
- change your directory to the lazer by running this command:
cd pyth-crosschain/lazer
- make this request to get the latest price feed with the command below (replace
<TOKEN>
with your token)
curl -X POST -d '{"priceFeedIds": [1], "properties": ["price"], "chains": ["solana"], "channel": "real_time", "jsonBinaryEncoding": "hex"}' -H "Authorization: Bearer <TOKEN>" https://pyth-lazer.dourolabs.app/v1/latest_price
- Run this command to start the verification script:
cargo run --example parse_and_verify
- Enter the solana payload from the output of Step 7 and press Enter.
- Make sure the printed public key matches the trusted signer in the proposal
- Expiry time is represented in hex format. Make sure the expiry time is in 2035 (by pasting it here)