Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 88f59fe

Browse files
Debugging failing tests (#3959) (#3960)
* Remote node provider edits * remote node provider documentation edits Co-authored-by: smudgil <[email protected]> Co-authored-by: smudgil <[email protected]>
1 parent 8b2291b commit 88f59fe

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ Released with 1.0.0-beta.37 code base.
356356
### Added
357357

358358
- Github action for running tests for `web3-eth2-core` and `web3-eth2-beaconchain` packages (#3892)
359+
- Added description to documentation on how to connect using a remote node provider (#3884)
359360
- Added Security risk warning to docs for `web3.utils.soliditySha3` (#3908)
360361
- `.nvmrc` file using Node.js version `v.14.15.1` (#3817)
361362

docs/include_package-core.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Returns
2929
``Boolean``
3030

3131
-------
32-
Example
32+
Example: Local Geth Node
3333
-------
3434

3535
.. code-block:: javascript
@@ -52,6 +52,16 @@ Example
5252
// on windows the path is: "\\\\.\\pipe\\geth.ipc"
5353
// on linux the path is: "/users/myuser/.ethereum/geth.ipc"
5454
55+
-------
56+
Example: Remote Node Provider
57+
-------
58+
59+
.. code-block:: javascript
60+
61+
// Using a remote node provider, like Alchemy (https://www.alchemyapi.io/supernode), is simple.
62+
var Web3 = require('web3');
63+
var web3 = new Web3("https://eth-mainnet.alchemyapi.io/v2/your-api-key");
64+
5565
5666
------------------------------------------------------------------------------
5767

0 commit comments

Comments
 (0)