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

Lock to @solana/web3.js 1.x for compatibility #18

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion transfer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Run Step
You must have Nodejs installed on your system.
- Step 1: Create a file or copy the file `sendSol.js`into your machine and open it with vscode
- Step 2: Inside that directory integrated terminal innstall the solana web3.js library using `npm i @solana/web3.js`
- Step 2: Inside that directory integrated terminal innstall the solana web3.js library using `npm i @solana/web3.js@1`
- Step 3: Install the solana cli tool using `sh -c "$(curl -sSfL https://release.solana.com/v1.10.24/install)"` if you are propmted with this message `Please update your PATH environment variable to include the solana programs:` copy and paste the content of the line below it and press enter
- Step 4:If you have an already generated public address you want to use you will have to generate the keypair using the 12 word seed phrase given when you created your address using `solana-keygen recover -o file.json`, this is a solana cli command that would prompt you to input your seed phrase in your terminal and a `file.json` file would be generated with the contetnts being the secretkey which would be used to generate the keypair
- The content if the file should be like this `[4,141,211,222,196,83,15,186,225,14,235,178,208,60,129,66,100,109,184,177,43,108,204,141,249,255,156,217,179,89,98,126,140,172,25,113,234,250,227,231,101,75,76,156,217,227,190,122,24,210,58,103,224,130,83,98,147,101,82,111,100,103,187,214]` once you are able to get that you are good to go.
Expand Down