Skip to content
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

feat/chapter0_setup #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat/chapter0_setup #3

wants to merge 1 commit into from

Conversation

twiagle
Copy link

@twiagle twiagle commented Sep 1, 2024

No description provided.

@@ -0,0 +1,47 @@
## Run/Debug Solana Code in Local
Copy link
Member

Choose a reason for hiding this comment

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

Please use # for title. and ## for subtitles.


* download source code
```git clone [email protected]:solana-labs/solana.git```
the latest version of Solana is at https://github.com/anza-xyz/agave, but for learning perpose, we can use old version at `https://github.com/solana-labs/solana/commit/27eff8408b7223bb3c4ab70523f8a8dca3ca6645`
Copy link
Member

Choose a reason for hiding this comment

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

The latest version of Solana can be found at...


* setup config
```solana config set --url localhost```
* do some tx like with your account
Copy link
Member

Choose a reason for hiding this comment

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

perform some transactions with your account, such as?

### setup
Run/Debug Solana code in local is very similar with run a Solana test Validator introduced by [official link](https://solana.com/developers/guides/getstarted/local-rust-hello-world#run-your-localhost-validator).

* download source code
Copy link
Member

Choose a reason for hiding this comment

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

Download the source code.

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.

2 participants