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

fix: Remove mentions of rinkeby and ropsten #309

Open
wants to merge 3 commits 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
3 changes: 1 addition & 2 deletions docs/api/sdk/java/interfaces/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,7 @@ public interface Provider {
HttpTransport transport = null;
switch (chainId) {
case Mainnet: transport = new HttpTransport("https://api.zksync.io/jsrpc"); break;
case Rinkeby: transport = new HttpTransport("https://rinkeby-api.zksync.io/jsrpc"); break;
case Ropsten: transport = new HttpTransport("https://ropsten-api.zksync.io/jsrpc"); break;
case Goerli: transport = new HttpTransport("https://goerli-api.zksync.io/jsrpc"); break;
case Localhost: transport = new HttpTransport("http://127.0.0.1:3030"); break;
}
return new DefaultProvider(transport);
Expand Down
2 changes: 1 addition & 1 deletion docs/api/sdk/js/providers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ await syncWSProvider.disconnect();
```typescript
import * as zksync from 'zksync';

const syncHTTPProvider = await zksync.Provider.newHttpProvider('https://rinkeby-api.zksync.io/jsrpc');
const syncHTTPProvider = await zksync.Provider.newHttpProvider('https://goerli-api.zksync.io/jsrpc');
```

### Submit transaction
Expand Down
5 changes: 2 additions & 3 deletions docs/api/v0.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ Websocket support will be removed soon due to its instability.

All available API addresses for zkSync:

- `https://rinkeby-api.zksync.io/jsrpc` - JSON RPC for Rinkeby testnet server
- `https://ropsten-api.zksync.io/jsrpc` - JSON RPC for Ropsten testnet server
- `https://goerli-api.zksync.io/jsrpc` - JSON RPC for zkSync alpha testnet
- `https://api.zksync.io/jsrpc` - JSON RPC for Mainnet server

Descriptions for all types presented below could be found on the [types] page.
Expand Down Expand Up @@ -222,7 +221,7 @@ $ curl -X POST -H 'Content-type: application/json' \
"id":1, "method": "get_tx_fee",
"params": ["Transfer", "0xC8568F373484Cd51FDc1FE3675E46D8C0dc7D246", "DAI"]
}' \
https://rinkeby-api.zksync.io/jsrpc
https://goerli-api.zksync.io/jsrpc
{
"jsonrpc": "2.0",
"result": {
Expand Down