Skip to content

Commit

Permalink
docs: update RPC URL docs (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoo authored Oct 28, 2022
1 parent 7af12c8 commit b8a01b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ All notable changes to this project will be documented in this file. See [standa

### ⚠ BREAKING CHANGES

- We deprecated using Web3 or ethereum provider, you can now simply use a RPC URL to init the lib.
- It is now recommended to initialise the library with an RPC URL over the Web3 or Ethers provider, you can check the [erc725.js documentation](https://docs.lukso.tech/tools/erc725js/providers#rpc-url) to get more information.

### Features

- add supportsInterface ([#243](https://github.com/ERC725Alliance/erc725.js/issues/243)) ([a2b0828](https://github.com/ERC725Alliance/erc725.js/commit/a2b08288e9aaede8a1a3307c1371672eb7b50969))
- add [supportsInterface](https://docs.lukso.tech/tools/erc725js/classes/ERC725#supportsinterface) ([#243](https://github.com/ERC725Alliance/erc725.js/issues/243)) ([a2b0828](https://github.com/ERC725Alliance/erc725.js/commit/a2b08288e9aaede8a1a3307c1371672eb7b50969))
- make library compatible with RPC urls ([263de19](https://github.com/ERC725Alliance/erc725.js/commit/263de1983f08c9f31f0cc931e581fe8af52bd541))

### Bug Fixes
Expand Down
10 changes: 1 addition & 9 deletions docs/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,7 @@ const RPC_URL = 'https://rpc.l16.lukso.network';
const erc725 = new ERC725([], '0x...', RPC_URL);
```

## Ethereum (MetaMask)

:::caution Warning

Ethereum providers are being deprecated. Please provide an RPC URL instead.

:::

The following code snippet will use the web3 provider available at web3.providers from the corresponding `web3` library.
## Ethereum (injected provider from extension)

```javascript
import ERC725 from '@erc725/erc725.js';
Expand Down

0 comments on commit b8a01b7

Please sign in to comment.