Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Closed
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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ let web3 = new Web3('ws://localhost:8546');
console.log(web3);
> {
eth: ... ,
shh: ... ,
utils: ...,
...
}
Expand Down
1 change: 0 additions & 1 deletion docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Getting Started
The web3.js library is a collection of modules that contain functionality for the ethereum ecosystem.

- ``web3-eth`` is for the ethereum blockchain and smart contracts.
- ``web3-shh`` is for the whisper protocol, to communicate p2p and broadcast.
- ``web3-bzz`` is for the swarm protocol, the decentralized file storage.
- ``web3-utils`` contains useful helper functions for Dapp developers.

Expand Down
8 changes: 1 addition & 7 deletions docs/include_package-core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ setProvider

web3.setProvider(myProvider)
web3.eth.setProvider(myProvider)
web3.shh.setProvider(myProvider)
web3.bzz.setProvider(myProvider)
...

Will change the provider for its module.

.. note::
When called on the umbrella package ``web3`` it will also set the provider for all sub modules ``web3.eth``, ``web3.shh``, etc. EXCEPT ``web3.bzz`` which needs a separate provider at all times.
When called on the umbrella package ``web3`` it will also set the provider for all sub modules ``web3.eth``, etc. EXCEPT ``web3.bzz`` which needs a separate provider at all times.

----------
Parameters
Expand Down Expand Up @@ -62,7 +61,6 @@ providers

web3.providers
web3.eth.providers
web3.shh.providers
web3.bzz.providers
...

Expand Down Expand Up @@ -182,7 +180,6 @@ givenProvider

web3.givenProvider
web3.eth.givenProvider
web3.shh.givenProvider
web3.bzz.givenProvider
...

Expand Down Expand Up @@ -213,7 +210,6 @@ currentProvider

web3.currentProvider
web3.eth.currentProvider
web3.shh.currentProvider
web3.bzz.currentProvider
...

Expand Down Expand Up @@ -244,7 +240,6 @@ BatchRequest

new web3.BatchRequest()
new web3.eth.BatchRequest()
new web3.shh.BatchRequest()
new web3.bzz.BatchRequest()

Class to create and execute batch requests.
Expand Down Expand Up @@ -287,7 +282,6 @@ extend

web3.extend(methods)
web3.eth.extend(methods)
web3.shh.extend(methods)
web3.bzz.extend(methods)
...

Expand Down
3 changes: 0 additions & 3 deletions docs/include_package-net.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ getId

web3.eth.net.getId([callback])
web3.bzz.net.getId([callback])
web3.shh.net.getId([callback])

Gets the current network ID.

Expand Down Expand Up @@ -44,7 +43,6 @@ isListening

web3.eth.net.isListening([callback])
web3.bzz.net.isListening([callback])
web3.shh.net.isListening([callback])

Checks if the node is listening for peers.

Expand Down Expand Up @@ -79,7 +77,6 @@ getPeerCount

web3.eth.net.getPeerCount([callback])
web3.bzz.net.getPeerCount([callback])
web3.shh.net.getPeerCount([callback])

Get the number of peers connected to.

Expand Down
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Contents:
web3-eth-abi
web3-net
web3-bzz
web3-shh
web3-utils
web3-admin

Expand Down
3 changes: 1 addition & 2 deletions docs/web3-bzz.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ setProvider

Will change the provider for its module.

.. note:: When called on the umbrella package ``web3`` it will also set the provider for all sub modules ``web3.eth``, ``web3.shh``, etc. EXCEPT ``web3.bzz`` which needs a separate provider at all times.
.. note:: When called on the umbrella package ``web3`` it will also set the provider for all sub modules ``web3.eth``, etc. EXCEPT ``web3.bzz`` which needs a separate provider at all times.

----------
Parameters
Expand Down Expand Up @@ -100,7 +100,6 @@ Example
send: function(),
on: function(),
bzz: "http://localhost:8500",
shh: true,
...
}

Expand Down
2 changes: 0 additions & 2 deletions docs/web3-eth-subscribe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ clearSubscriptions

Resets subscriptions.

.. note:: This will not reset subscriptions from other packages like ``web3-shh``, as they use their own requestManager.

----------
Parameters
----------
Expand Down
1 change: 0 additions & 1 deletion docs/web3-net.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ The ``web3-net`` package allows you to interact with an Ethereum node's network

// -> web3.eth.net
// -> web3.bzz.net
// -> web3.shh.net



Expand Down
Loading