Skip to content

feat(cli): Remove solana cli dependency#3963

Closed
swaroop-osec wants to merge 30 commits intosolana-foundation:masterfrom
swaroop-osec:feat/3866-remove-solana-cli-dependency
Closed

feat(cli): Remove solana cli dependency#3963
swaroop-osec wants to merge 30 commits intosolana-foundation:masterfrom
swaroop-osec:feat/3866-remove-solana-cli-dependency

Conversation

@swaroop-osec
Copy link
Copy Markdown
Collaborator

@swaroop-osec swaroop-osec commented Oct 7, 2025

Closes #3866

  • account
  • address
  • balance
  • airdrop
  • epoch
  • epoch-info
  • logs
  • program
  • keygen

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 7, 2025

@swaroop-osec is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@nutafrost nutafrost moved this to In Progress in Anchor 1.0 Oct 7, 2025
@swaroop-osec swaroop-osec marked this pull request as ready for review October 13, 2025 05:26
@nutafrost nutafrost moved this from In Progress to Security Review Required in Anchor 1.0 Oct 13, 2025
@nutafrost nutafrost assigned jamie-osec and unassigned swaroop-osec Oct 13, 2025
@swaroop-osec
Copy link
Copy Markdown
Collaborator Author

I'm investigating the failed tests.

@jamie-osec jamie-osec moved this from Security Review Required to Security Review Done in Anchor 1.0 Oct 15, 2025
@nutafrost nutafrost assigned jacobcreech and unassigned jamie-osec Oct 18, 2025
@vercel
Copy link
Copy Markdown

vercel bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
anchor-docs Error Error Oct 21, 2025 4:21am

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@swaroop-osec swaroop-osec changed the title Feat/3866 remove solana cli dependency feat(cli): Remove solana cli dependency Oct 23, 2025
@ZYJLiu
Copy link
Copy Markdown
Contributor

ZYJLiu commented Oct 30, 2025

I'm getting the follow websocket error when running anchor logs.

Connecting to ws://127.0.0.1:8899/
Error: websocket error

Caused by:
    HTTP error: 405 Method Not Allowed

The new anchor account command is initially a bit confusing what <ACCOUNT_TYPE> should be.

  • it requires anchor account <ACCOUNT_TYPE> <ADDRESS>
  • just using anchor account <ADDRESS> doesn't work anymore to fetch the account
  • It does provide a message:
Error: Please enter the account struct in the following format: <program_name>.<Account>
  • however, its not immediately clear <Account> needs match whats on the IDL (case sensitive)
  • ex usage account anchor_program.Counter 4UjWrNCYTd9fZHNoNrgcUw92NnfymjT1m23TS7Tev9Kp

It may be helpful to add an simplifed version of solana config to change what cluster you're on and see your current config. (ex. solana config get, solana config set)

Then have anchor program deploy and anchor test use the current settings.
This can either update Anchor.toml as well or maybe remove the need for the [provider] setting.

@swaroop-osec swaroop-osec force-pushed the feat/3866-remove-solana-cli-dependency branch 2 times, most recently from d0f86b5 to 7b5fe87 Compare November 27, 2025 08:00
@swaroop-osec
Copy link
Copy Markdown
Collaborator Author

Closing as moved to #4099

@github-project-automation github-project-automation bot moved this from Security Review Done to Done in Anchor 1.0 Nov 28, 2025
@jamie-osec jamie-osec removed the Merge label Nov 28, 2025
@jamie-osec jamie-osec removed this from Anchor 1.0 Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

anchor cli should not depend on solana cli for most actions

5 participants