-
Notifications
You must be signed in to change notification settings - Fork 283
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 web3.js to version 1.x for compatibility #595
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -895,7 +895,7 @@ npm init -y | |
Install all the required dependencies. | ||
|
||
```bash | ||
npm i @solana/web3.js @solana-developers/[email protected] | ||
npm i @solana/web3.js@1 @solana-developers/[email protected] | ||
npm i --save-dev esrun | ||
``` | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -647,7 +647,7 @@ cd cnft-demo | |
Install all the required dependencies | ||
|
||
```bash | ||
npm i @solana/web3.js @solana-developers/[email protected] @metaplex-foundation/mpl-token-metadata @metaplex-foundation/mpl-bubblegum @metaplex-foundation/digital-asset-standard-api @metaplex-foundation/umi-bundle-defaults | ||
npm i @solana/web3.js@1 @solana-developers/[email protected] @metaplex-foundation/mpl-token-metadata @metaplex-foundation/mpl-bubblegum @metaplex-foundation/digital-asset-standard-api @metaplex-foundation/umi-bundle-defaults | ||
|
||
npm i --save-dev esrun | ||
``` | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -223,7 +223,7 @@ Next, we'll need to add our dependencies. Run the following to install the | |
required packages: | ||
|
||
```bash | ||
npm i @solana-developers/helpers @solana/spl-token @solana/web3.js esrun dotenv typescript | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one looks like it has a mistake |
||
npm i @solana-developers/helpers@2 @solana/spl-token @solana/web3.js@1 esrun dotenv typescript | ||
``` | ||
|
||
Create a directory named `src`. In this directory, create a file named | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,7 +139,7 @@ Next, we'll need to add our dependencies. Run the following to install the | |
required packages: | ||
|
||
```bash | ||
npm i @solana-developers/helpers @solana/spl-token @solana/web3.js esrun dotenv typescript | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one looks like it has a mistake |
||
npm i @solana-developers/helpers@2 @solana/spl-token @solana/web3.js@1 esrun dotenv typescript | ||
``` | ||
|
||
Create a directory named `src`. In this directory, create a file named | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -213,7 +213,7 @@ Next, we'll need to add our dependencies. Run the following to install the | |
required packages: | ||
|
||
```bash | ||
npm i @solana-developers/helpers @solana/spl-token @solana/web3.js esrun dotenv typescript | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one looks like it has a mistake |
||
npm i @solana-developers/helpers@2 @solana/spl-token @solana/web3.js@1 esrun dotenv typescript | ||
``` | ||
|
||
Create a directory named `src`. In this directory, create a file named | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,7 +127,7 @@ Next, we'll need to add our dependencies. Run the following to install the | |
required packages: | ||
|
||
```bash | ||
npm i @solana-developers/helpers @solana/spl-token @solana/web3.js esrun dotenv typescript | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one looks like it has a mistake |
||
npm i @solana-developers/helpers@2 @solana/spl-token @solana/web3.js@1 esrun dotenv typescript | ||
``` | ||
|
||
Create a directory named `src`. In this directory, create a file named | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -250,7 +250,7 @@ Next, we'll need to add our dependencies. Run the following to install the | |
required packages: | ||
|
||
```bash | ||
npm i @solana-developers/helpers @solana/spl-token @solana/web3.js esrun | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one looks like it has a mistake |
||
npm i @solana-developers/helpers@2 @solana/spl-token @solana/web3.js@1 esrun | ||
``` | ||
|
||
Create a directory named `src`. In this directory, create a file named | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,7 +177,7 @@ Next, we'll need to add our dependencies. Run the following to install the | |
required packages: | ||
|
||
```bash | ||
npm i @solana-developers/helpers @solana/spl-token @solana/web3.js esrun dotenv typescript | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one looks like it has a mistake |
||
npm i @solana-developers/helpers@2 @solana/spl-token @solana/web3.js@1 esrun dotenv typescript | ||
``` | ||
|
||
Create a directory named `src`. In this directory, create a file named | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -459,7 +459,7 @@ Next, we'll need to add our dependencies. Run the following to install the | |
required packages: | ||
|
||
```bash | ||
npm i @solana-developers/helpers @solana/spl-token @solana/web3.js esrun dotenv typescript | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one looks like it has a mistake |
||
npm i @solana-developers/helpers@2 @solana/spl-token @solana/web3.js@1 esrun dotenv typescript | ||
``` | ||
|
||
Create a directory named `src`. In this directory, create a file named | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1085,7 +1085,7 @@ Throw this command into your terminal to install all the `wallet-adapter` stuff | |
we need: | ||
```shell | ||
yarn add react @solana/web3.js \ | ||
yarn add react @solana/web3.js@1 \ | ||
@solana/wallet-adapter-base @solana/wallet-adapter-react \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need to pin any of the wallet adapter packages? either in these install command or in their respective packages? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I hope not, but probably. |
||
@solana/wallet-adapter-react-ui @solana/wallet-adapter-wallets | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one looks like it has a mistake