Skip to content
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/build/clients/ethers-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import { HDNodeWallet } from "ethers/wallet";
You can connect to Telos by instantiating a new ethers.js JsonRpcProvider object with a RPC URL of the Telos network.

``` javascript
// for Telos Testnet, use https://testnet.telos.net
const url = 'https://mainnet.telos.net'
// for Telos Testnet, use https://testnet.telos.net/evm
const url = 'https://mainnet.telos.net/evm'
provider = new ethers.JsonRpcProvider(url)
```

Expand Down
4 changes: 2 additions & 2 deletions docs/build/clients/web3-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ You must initialize the Web3 object with a provider, otherwise, you won't be abl
import { Web3 } from 'web3';

// RPC endpoint
// use https://testnet.telos.net for testnet
const web3 = new Web3('https://mainnet.telos.net');
// use https://testnet.telos.net/evm for testnet
const web3 = new Web3('https://mainnet.telos.net/evm');
```

## Interacting With Telos
Expand Down