Skip to content

Conversation

Riateche
Copy link
Contributor

Summary

Add utils for dealing with ed25519 signers

Rationale

I wrote this to update signers on solana devnet and testnet.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

Copy link

vercel bot commented Jun 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Skipped (Inspect) Jun 17, 2025 10:41am
component-library ⬜️ Skipped (Inspect) Jun 17, 2025 10:41am
developer-hub ⬜️ Skipped (Inspect) Jun 17, 2025 10:41am
entropy-debugger ⬜️ Skipped (Inspect) Jun 17, 2025 10:41am
entropy-explorer ⬜️ Skipped (Inspect) Jun 17, 2025 10:41am
insights ⬜️ Skipped (Inspect) Jun 17, 2025 10:41am
proposals ⬜️ Skipped (Inspect) Jun 17, 2025 10:41am
staking ⬜️ Skipped (Inspect) Jun 17, 2025 10:41am

import yargs from "yargs/yargs";
import { readFileSync } from "fs";
import NodeWallet from "@coral-xyz/anchor/dist/cjs/nodewallet";
import { createEd25519Instruction } from "@pythnetwork/pyth-lazer-sdk";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually can you move this function to @pythnetwork/pyth-lazer-solana-contract. It makes sense to be here and we want to remove it from js-sdk to remove the solana dependencies.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well that's a bigger lift that we need to work on sometime later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed solana deps from @pythnetwork/pyth-lazer-sdk and moved the code to ``@pythnetwork/pyth-lazer-solana-contract. Preparing @pythnetwork/pyth-lazer-solana-contract` for publishing is tricky, so I'll leave it for later.

@Riateche Riateche force-pushed the lazer-solana-signer-utils branch from a26104a to 3b50457 Compare June 17, 2025 08:50
@vercel vercel bot temporarily deployed to Preview – entropy-explorer June 17, 2025 08:50 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-debugger June 17, 2025 08:50 Inactive
@vercel vercel bot temporarily deployed to Preview – insights June 17, 2025 08:50 Inactive
@vercel vercel bot temporarily deployed to Preview – api-reference June 17, 2025 08:50 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals June 17, 2025 08:50 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub June 17, 2025 08:50 Inactive
@vercel vercel bot temporarily deployed to Preview – component-library June 17, 2025 08:50 Inactive
@vercel vercel bot temporarily deployed to Preview – staking June 17, 2025 08:50 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer June 17, 2025 09:30 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-debugger June 17, 2025 09:30 Inactive
@vercel vercel bot temporarily deployed to Preview – insights June 17, 2025 09:30 Inactive
@vercel vercel bot temporarily deployed to Preview – staking June 17, 2025 09:30 Inactive
@vercel vercel bot temporarily deployed to Preview – api-reference June 17, 2025 09:30 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub June 17, 2025 09:30 Inactive
@vercel vercel bot temporarily deployed to Preview – component-library June 17, 2025 09:30 Inactive
@vercel vercel bot temporarily deployed to Preview – api-reference June 17, 2025 10:16 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub June 17, 2025 10:16 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-debugger June 17, 2025 10:16 Inactive
@vercel vercel bot temporarily deployed to Preview – staking June 17, 2025 10:16 Inactive
@vercel vercel bot temporarily deployed to Preview – insights June 17, 2025 10:16 Inactive
@vercel vercel bot temporarily deployed to Preview – component-library June 17, 2025 10:16 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer June 17, 2025 10:16 Inactive
@Riateche Riateche force-pushed the lazer-solana-signer-utils branch from 673a756 to fc0550b Compare June 17, 2025 10:34
@vercel vercel bot temporarily deployed to Preview – api-reference June 17, 2025 10:34 Inactive
@vercel vercel bot temporarily deployed to Preview – component-library June 17, 2025 10:34 Inactive
@vercel vercel bot temporarily deployed to Preview – insights June 17, 2025 10:34 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub June 17, 2025 10:34 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-debugger June 17, 2025 10:34 Inactive
@vercel vercel bot temporarily deployed to Preview – staking June 17, 2025 10:34 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer June 17, 2025 10:34 Inactive
@vercel vercel bot temporarily deployed to Preview – component-library June 17, 2025 10:41 Inactive
@vercel vercel bot temporarily deployed to Preview – insights June 17, 2025 10:41 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub June 17, 2025 10:41 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer June 17, 2025 10:41 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-debugger June 17, 2025 10:41 Inactive
@vercel vercel bot temporarily deployed to Preview – api-reference June 17, 2025 10:41 Inactive
@vercel vercel bot temporarily deployed to Preview – staking June 17, 2025 10:41 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals June 17, 2025 10:41 Inactive
@Riateche Riateche merged commit 40aadd6 into main Jun 17, 2025
14 of 15 checks passed
@Riateche Riateche deleted the lazer-solana-signer-utils branch June 17, 2025 10:55
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.

3 participants