-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,47 @@ | |||
## Run/Debug Solana Code in Local |
There was a problem hiding this comment.
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` |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Download the source code.
No description provided.