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 #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docs/SolanaAction/001.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ Success! Created solana-action at ~/solana-action

```sh
cd solana-action
npm i @solana/web3.js @solana/actions
npm i @solana/web3.js@1 @solana/actions
```

输出:

```sh
➜ ~ cd solana-action
➜ solana-action git:(main) npm i @solana/web3.js @solana/actions
➜ solana-action git:(main) npm i @solana/web3.js@1 @solana/actions

added 76 packages, and audited 439 packages in 4m

Expand Down
2 changes: 1 addition & 1 deletion docs/SolanaBasic/004.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
```sh
npm init -y

npm install @solana/web3.js @solana/spl-token
npm install @solana/web3.js@1 @solana/spl-token
```

### 2.配置节点
Expand Down
4 changes: 2 additions & 2 deletions docs/SolanaDocumention/clients/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ Solana-Web3.js 库旨在提供对 Solana 的全面支持。该库是基于 [Sola
#### yarn

```shell
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

#### npm

```shell
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

#### Bundle
Expand Down