Skip to content

Add Solana support to Starship #691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link

@devin-ai-integration devin-ai-integration bot commented May 22, 2025

Add Solana Support to Starship

This PR adds support for Solana blockchain to the Starship project, following the documented approach in docs/development/add-new-chain.md.

Changes

  • Created a Docker image configuration for Solana v1.18.26 based on Alpine 3.17
  • Added Solana to the chains list in versions.yaml
  • Updated Helm chart defaults in defaults.yaml with Solana-specific configuration
  • Added "solana" to the chain name enum in values.schema.json
  • Created Solana-specific genesis and update scripts
  • Added an end-to-end test configuration for Solana

Implementation Details

  • Docker Image: Uses the official Solana v1.18.26 release binaries from GitHub
  • Chain Configuration:
    • RPC port: 8899
    • WebSocket port: 8900
    • Gossip port: 8001
    • Home directory: /root/.solana
    • Binary name: solana-validator
    • Native token: SOL (lamports as base unit)
    • HD path: m/44'/501'/0'/0'
    • Coin type: 501

Testing

The implementation can be tested using:

cd /home/ubuntu/repos/starship/starship/tests/e2e
make install HELM_FILE=configs/solana.yaml
make port-forward HELM_FILE=configs/solana.yaml
make test HELM_FILE=configs/solana.yaml

Link to Devin run: https://app.devin.ai/sessions/679d63693d0e4097b29ea45cde0c3bf4
Requested by: Dan Lynch (pyramation@gmail.com)

Co-Authored-By: Dan Lynch <pyramation@gmail.com>
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation requested a review from Anmol1696 May 22, 2025 22:12
Co-Authored-By: Dan Lynch <pyramation@gmail.com>
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.

0 participants