Skip to content

docs: add support for running basic_solana locally and on mainnet#91

Merged
lpahlavi merged 8 commits intomainfrom
lpahlavi/XC-355-address-basic-solana-feedback
Jun 18, 2025
Merged

docs: add support for running basic_solana locally and on mainnet#91
lpahlavi merged 8 commits intomainfrom
lpahlavi/XC-355-address-basic-solana-feedback

Conversation

@lpahlavi
Copy link
Contributor

@lpahlavi lpahlavi commented May 5, 2025

(XC-335) This PR adds support for running the basic_solana examples both locally and on mainnet. Documentation is updated in the README.md and two separate setups are added for dfx in local and mainnet.

@lpahlavi lpahlavi changed the title doc: improve basic_solana instructions docs: improve basic_solana instructions May 5, 2025
@lpahlavi lpahlavi force-pushed the lpahlavi/XC-355-address-basic-solana-feedback branch from 99f82fd to f402038 Compare June 16, 2025 09:46
@lpahlavi lpahlavi marked this pull request as ready for review June 16, 2025 09:47
@lpahlavi lpahlavi requested a review from a team as a code owner June 16, 2025 09:47
@lpahlavi lpahlavi changed the title docs: improve basic_solana instructions docs: add support for running basic_solana locally and on mainnet Jun 16, 2025
@lpahlavi lpahlavi requested a review from gregorydemay June 16, 2025 14:08
Copy link
Contributor

@gregorydemay gregorydemay left a comment

Choose a reason for hiding this comment

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

Thanks for improving the example @lpahlavi ! Could you also add Kristofer as a reviewer?

@lpahlavi lpahlavi requested a review from kristoferlund June 17, 2025 14:44
@lpahlavi
Copy link
Contributor Author

Thanks a lot for the review @gregorydemay! I've added @kristoferlund as a reviewer. I still need to dig into what might be causing your local deployment issues, but your other comments should have been addressed.

"canisters": {
"basic_solana": {
"candid": "basic_solana.did",
"candid": "../../../canister/sol_rpc_canister.did",
Copy link
Contributor

Choose a reason for hiding this comment

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

that seems incorrect, no? this should be basic_solana.did I think

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Curious why this didn't seem to be a problem when deploying to Mainnet. I wonder if it's actually unneeded? WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

Curious why this didn't seem to be a problem when deploying to Mainnet. I wonder if it's actually unneeded? WDYT?

Good question, I would have guessed that it's needed to encode candid payload. I would currently leave it as is.

@lpahlavi lpahlavi merged commit a791239 into main Jun 18, 2025
12 checks passed
@lpahlavi lpahlavi deleted the lpahlavi/XC-355-address-basic-solana-feedback branch June 18, 2025 11:24
@github-actions github-actions bot mentioned this pull request Jul 31, 2025
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