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

Open
wants to merge 1 commit into
base: master
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 _book/coding/sending-sols-through-browser-javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -659,10 +659,10 @@ <h1 id="&#x1F4B8;-sending-sols-through-browser-javascript">&#x1F4B8; Sending SOL
</div></div></p>
<p>Now that we have figured out how to connect the wallet to our website. Let&apos;s see how we can create and sign a transaction through the wallets.</p>
<p>Prerequisites:</p>
<pre><code class="lang-javascript">yarn add @solana/web3.js
<pre><code class="lang-javascript">yarn add @solana/web3.js@1
</code></pre>
<p>OR</p>
<pre><code class="lang-javascript">npm i @solana/web3.js
<pre><code class="lang-javascript">npm i @solana/web3.js@1
</code></pre>
<p>Let&apos;s import some constructors from this module:</p>
<pre><code class="lang-javascript"><span class="hljs-comment">// wallet.ts</span>
Expand Down
2 changes: 1 addition & 1 deletion _book/search_index.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions coding/sending-sols-through-browser-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ Now that we have figured out how to connect the wallet to our website. Let's see
Prerequisites:

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

OR

```javascript
npm i @solana/web3.js
npm i @solana/web3.js@1
```

Let's import some constructors from this module:
Expand Down