Skip to content

Upgrade to newer dependencies#2

Open
BrainyZombie wants to merge 2 commits intoUnboxed-Software:mainfrom
BrainyZombie:main
Open

Upgrade to newer dependencies#2
BrainyZombie wants to merge 2 commits intoUnboxed-Software:mainfrom
BrainyZombie:main

Conversation

@BrainyZombie
Copy link
Copy Markdown

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
Copy Markdown

Yes

@wufengtao1
Copy link
Copy Markdown

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