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

Upgrade to newer dependencies #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BrainyZombie
Copy link

The course advises the participant to clone Unboxed-Software/solana-npx-client-template to get started.

The solana api dependencies in that repo are newer and don't allow the code in the course to work, since waiting for transaction confirmation is no longer the default behaviour of the api.

This PR updates the dependencies to match the starter repo and makes necessary changes to get the code to run without throwing a TokenAccountNotFoundError

referenced https://spl.solana.com/token for the updates. The course website and other repos should ideally be updated as well.

@wufengtao1
Copy link

Yes

@wufengtao1
Copy link

or add " const connection = new web3.Connection(web3.clusterApiUrl("devnet"), {
commitment: "confirmed",
});"

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