Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

feat(solana-client-tools): add stdin support for keypair loading - #217

Merged
karl-dz merged 4 commits into
mainfrom
rg/2305
Dec 1, 2025
Merged

feat(solana-client-tools): add stdin support for keypair loading#217
karl-dz merged 4 commits into
mainfrom
rg/2305

Conversation

@vihu

@vihu vihu commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

Summary

Add support for loading Solana keypair via stdin, enabling keyless validator operations.

Fixes: malbeclabs/doublezero#2308

Changes

  • Add keypair module with load_keypair() function supporting 4-level precedence
  • Add stdin support for piped keypair input
  • Add KeypairSource enum for provenance tracking
  • Add KeypairLoadError with helpful error messages
  • Update try_load_keypair()
  • Add unit tests for keypair loading

This is a followup PR to malbeclabs/doublezero#2309

@vihu vihu changed the title feat(solana-client-tools): add stdin and env support for keypair loading feat(solana-client-tools): add stdin support for keypair loading Dec 1, 2025
@karl-dz
karl-dz merged commit 81a436d into main Dec 1, 2025
2 checks passed
@karl-dz
karl-dz deleted the rg/2305 branch December 1, 2025 18:39
bgm-malbeclabs pushed a commit to malbeclabs/doublezero that referenced this pull request Aug 28, 2026
…beclabs/doublezero-offchain#217)

# Summary

Add support for loading Solana keypair via stdin, enabling keyless
validator operations.

Fixes: #2308

## Changes

- Add `keypair` module with `load_keypair()` function supporting 4-level
precedence
- Add stdin support for piped keypair input
- Add `KeypairSource` enum for provenance tracking
- Add `KeypairLoadError` with helpful error messages
- Update `try_load_keypair()`
- Add unit tests for keypair loading

This is a followup PR to
#2309
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

solana-client-tools: accept identity key via stdin

2 participants