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

Update contract getting started #520

Merged
merged 5 commits into from
May 2, 2024

Conversation

BlaineHeffron
Copy link
Contributor

Updates the smart contracts getting started tutorial to reflect the new ContractClient class in the js-stellar-sdk. Also fixes a typo of the hello world contract name.

Copy link
Contributor

@ElliotFriend ElliotFriend 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 the fixes! Looks great

Copy link
Contributor

@chadoh chadoh left a comment

Choose a reason for hiding this comment

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

Looks good. I have a couple questions and notes, but none are show-stoppers. I think these are good changes that we should merge sooner rather than later, and then maybe follow up with more PRs later.

@BlaineHeffron
Copy link
Contributor Author

I added the signTransaction method to the sign and send in the Counter script. This is needed based on how the current soroban astro template creates the Client. I also updated the url to the new stellar repo for the soroban astro template. I removed the timeoutInSeconds passed to the increment because it shouldn't be needed with the new default being set to 60 (see stellar/js-stellar-sdk#951). I simplified the logic for getting the public key in Counter.

@stellar-jenkins
Copy link

1 similar comment
@stellar-jenkins
Copy link

@BlaineHeffron BlaineHeffron marked this pull request as ready for review May 2, 2024 20:45
@fnando fnando merged commit bf2451c into stellar:main May 2, 2024
2 checks passed
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.

5 participants