Repository: ecadlabs/taquito
Pull request #1038 (2021-08-31 23:46:26)

Use new endpoints for public nodes
Thank you for your contribution to Taquito.

Before submitting this PR, please make sure:

- [ ] Your code builds cleanly without any errors or warnings
- [ ] You have added unit tests
- [ ] You have added integration tests (if relevant/appropriate)
- [ ] All public methods or types have TypeDoc coverage with a complete description, and ideally an @example
- [ ] You have added or updated corresponding documentation
- [ ] If relevant, you have written a first draft summary describing the change for inclusion in Release Notes. 

## Release Note Draft Snippet

__If relevant, please write a summary of your change that will be suitable for
inclusion in the Release Notes for the next Taquito release.__



Patch:
diff --git a/docs/complex_parameters.md b/docs/complex_parameters.md
index 82509dc4f..e25e1e7c8 100644
--- a/docs/complex_parameters.md
+++ b/docs/complex_parameters.md
@@ -54,7 +54,7 @@ An annotation identifies every argument. Therefore we can ignore optional values
 ```js live noInline
 // import { TezosToolkit, MichelsonMap } from '@taquito/taquito';
 // import { importKey } from '@taquito/signer';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/edonet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 //%data
 const dataMap = new MichelsonMap();
@@ -131,7 +131,7 @@ The way to write the parameter when calling the function of a contract with Taqu
 
 ```js live noInline
 // import { TezosToolkit, MichelsonMap } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/edonet')
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie')
 // import { importKey } from '@taquito/signer';
 
 importKey(Tezos, emailExample, passwordExample, mnemonicExample, secretExample)
@@ -149,7 +149,7 @@ importKey(Tezos, emailExample, passwordExample, mnemonicExample, secretExample)
 
 ```js live noInline
 // import { TezosToolkit, MichelsonMap } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/edonet')
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie')
 // import { importKey } from '@taquito/signer';
 
 importKey(Tezos, emailExample, passwordExample, mnemonicExample, secretExample)
@@ -180,7 +180,7 @@ The `address %address` and the `nat %ttl` of the `set_child_record` function are
 
 ```js live noInline
 // import { TezosToolkit, MichelsonMap } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet')
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie')
 // import { importKey } from '@taquito/signer';
 
 importKey(Tezos, emailExample, passwordExample, mnemonicExample, secretExample)
diff --git a/docs/drain_account.md b/docs/drain_account.md
index cc22519ef..6a9892227 100644
--- a/docs/drain_account.md
+++ b/docs/drain_account.md
@@ -22,7 +22,7 @@ In the following example, we have not revealed the account that we want to empty
 :::
 
 ```js live noInline
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 // import { DEFAULT_FEE } from "@taquito/taquito";
 
 Tezos.signer
@@ -87,7 +87,7 @@ The contract we originate is a `manager contract.` It has a `do` method taking a
 In the example, we estimate the transfer operation before doing it. The associated fees are deducted from the manager's address when draining the account. Thus, for the operation to be successful, the manager's address for that account must contain funds to cover the gas.
 
 ```js live noInline
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 function transferImplicit(key, mutez) {
   return [
diff --git a/docs/estimate.md b/docs/estimate.md
index 52c85f3f5..7762b80b0 100644
--- a/docs/estimate.md
+++ b/docs/estimate.md
@@ -27,7 +27,7 @@ The following example shows an estimate of the fees associated with transferring
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 const amount = 2;
 const address = 'tz1h3rQ8wBxFd8L9B3d7Jhaawu6Z568XU3xY';
@@ -53,7 +53,7 @@ This example will demonstrate how to estimate the fees related to calling a smar
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.contract
   .at('KT1HN6wQquJDFBvRH4Tsbx9SVazK7KzHXZYs')
@@ -84,7 +84,7 @@ In this example, we will use the estimate method of Taquito on a contract origin
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 println(`Estimating the contract origination : `);
 Tezos.estimate
diff --git a/docs/inmemory_signer.md b/docs/inmemory_signer.md
index 4c8085a37..1efd6fe66 100644
--- a/docs/inmemory_signer.md
+++ b/docs/inmemory_signer.md
@@ -40,7 +40,7 @@ The `fromSecretKey` method takes a secret that is base58 encoded as a parameter.
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito'
 // import { InMemorySigner } from '@taquito/signer'
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 InMemorySigner.fromSecretKey('edsk2rKA8YEExg9Zo2qNPiQnnYheF1DhqjLVmfKdxiFfu5GyGRZRnb')
   .then((theSigner) => {
@@ -57,7 +57,7 @@ InMemorySigner.fromSecretKey('edsk2rKA8YEExg9Zo2qNPiQnnYheF1DhqjLVmfKdxiFfu5GyGR
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito'
 // import { InMemorySigner } from '@taquito/signer'
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 InMemorySigner.fromSecretKey('spsk2Fiz7sGP5fNMJrokp6ynTa4bcFbsRhw58FHXbNf5ProDNFJ5Xq')
   .then((theSigner) => {
@@ -77,7 +77,7 @@ When required, Taquito offers the `b58cencode` function allowing to encode the s
 // import { b58cencode, prefix, Prefix } from '@taquito/utils';
 // import { TezosToolkit } from '@taquito/taquito'
 // import { InMemorySigner } from '@taquito/signer'
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 const b58encodedSecret = b58cencode(
   '7c842c15c8b0c8fd228e6cb5302a50201f41642dd36b699003fb3c857920bc9d',
@@ -118,7 +118,7 @@ Here are three examples with encrypted private keys where the passphrase used is
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito'
 // import { InMemorySigner } from '@taquito/signer'
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 InMemorySigner.fromSecretKey(
   'edesk1GXwWmGjXiLHBKxGBxwmNvG21vKBh6FBxc4CyJ8adQQE2avP5vBB57ZUZ93Anm7i4k8RmsHaPzVAvpnHkFF',
@@ -138,7 +138,7 @@ InMemorySigner.fromSecretKey(
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito'
 // import { InMemorySigner } from '@taquito/signer'
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 InMemorySigner.fromSecretKey(
   'spesk24UQkAiJk8X6AufNtRv1WWPp2BAssEgmijCTQPMgUXweSKPmLdbyAjPmCG1pR2dC9P5UZZVeZcb7zVodUHZ',
@@ -158,7 +158,7 @@ InMemorySigner.fromSecretKey(
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito'
 // import { InMemorySigner } from '@taquito/signer'
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 InMemorySigner.fromSecretKey(
   'p2esk28hoUE2J88QNFj2aDX2pjzL7wcVh2g8tkEwtWWguby9M3FHUgSbzvF2Sd7wQ4Kd8crFwvto6gF3otcBuo4T',
diff --git a/docs/ledger_signer.md b/docs/ledger_signer.md
index 5be84f0c9..bc760907e 100644
--- a/docs/ledger_signer.md
+++ b/docs/ledger_signer.md
@@ -189,7 +189,7 @@ _Note that this example is not intended to be a complete example of paths scanni
 //import { LedgerSigner, DerivationType, HDPathTemplate } from '@taquito/ledger-signer';
 //import { TezosToolkit } from '@taquito/taquito';
 //import TransportU2F from "@ledgerhq/hw-transport-u2f";
-//const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+//const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 TransportU2F.create().then((transport) => {
   for (let index = 0, p = Promise.resolve(); index < 10; index++) {
diff --git a/docs/making_transfers.md b/docs/making_transfers.md
index c035159b9..649688522 100644
--- a/docs/making_transfers.md
+++ b/docs/making_transfers.md
@@ -23,7 +23,7 @@ In the following example, we transfer 0.5ꜩ from a `tz1aaYoabvj2DQtpHz74Z83fSNj
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 render(`Fetching a private key...`);
 fetch('https://api.tez.ie/keys/granadanet/', {
diff --git a/docs/maps_bigmaps.md b/docs/maps_bigmaps.md
index af83c7f76..8f380e191 100644
--- a/docs/maps_bigmaps.md
+++ b/docs/maps_bigmaps.md
@@ -445,7 +445,7 @@ In the following example, we will fetch 4 big map values at once. The Michelson
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.contract
   .at('KT1VznL7HErrymLxc6EoXsatQ9mEiRE8WL6N')
diff --git a/docs/originate.md b/docs/originate.md
index c089180ea..ac420098a 100644
--- a/docs/originate.md
+++ b/docs/originate.md
@@ -35,7 +35,7 @@ This requires a signer to be configured, ie:
 ```
 import { importKey } from '@taquito/signer';
 import { TezosToolkit } from '@taquito/taquito';
-const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 importKey(Tezos, "p2sk2obfVMEuPUnadAConLWk7Tf4Dt3n4svSgJwrgpamRqJXvaYcg1")
 ```
 
@@ -45,7 +45,7 @@ importKey(Tezos, "p2sk2obfVMEuPUnadAConLWk7Tf4Dt3n4svSgJwrgpamRqJXvaYcg1")
 ```
 import {  BeaconWallet } from '@taquito/beacon-wallet';
 import { TezosToolkit } from '@taquito/taquito';
-const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 const option = { name: "nameOfWallet" }
 const wallet = new BeaconWallet(option)
 const network = { type: "florencenet" }
@@ -86,7 +86,7 @@ values={[
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 // const genericMultisigJSONfile = require('./generic.json')
 // generic.json is referring to Michelson source code in JSON representation
@@ -115,7 +115,7 @@ Tezos.contract
 
 ```js live noInline wallet
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 // const genericMultisigJSONfile = require('./generic.json')
 // generic.json is referring to Michelson source code in JSON representation
@@ -157,7 +157,7 @@ values={[
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 // const genericMultisigJSONfile = require('./generic.json')
 // generic.json is referring to Michelson source code in JSON representation
@@ -182,7 +182,7 @@ Tezos.contract
 
 ```js live noInline wallet
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 // const genericMultisigJSONfile = require('./generic.json')
 // generic.json is referring to Michelson source code in JSON representation
@@ -218,7 +218,7 @@ values={[
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 // const genericMultisigJSONfile = require('./generic.json')
 // generic.json is referring to Michelson source code in JSON representation
@@ -255,7 +255,7 @@ Tezos.contract
 
 ```js live noInline wallet
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 // const genericMultisigJSONfile = require('./generic.json')
 // generic.json is referring to Michelson source code in JSON representation
diff --git a/docs/quick_start.md b/docs/quick_start.md
index e712420fe..4d8f8f915 100644
--- a/docs/quick_start.md
+++ b/docs/quick_start.md
@@ -49,7 +49,7 @@ tezos.setProvider({ signer: new TezBridgeSigner() });
 
 ```js live noInline
 // import { TezosToolkit } from '@taquito/taquito';
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.tz
   .getBalance('tz1h3rQ8wBxFd8L9B3d7Jhaawu6Z568XU3xY')
diff --git a/docs/smartcontracts.md b/docs/smartcontracts.md
index c25b8cdd5..8d0d1aa07 100644
--- a/docs/smartcontracts.md
+++ b/docs/smartcontracts.md
@@ -92,7 +92,7 @@ We can inspect the contract methods and data types using the `c.parameterSchema.
 The following example shows how to load the contract and view the methods on that contract.
 
 ```js live noInline
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.contract
   .at('KT1WSAFm8PzQPhj5wBFRfneTL8smSaJ45BLt')
@@ -115,7 +115,7 @@ In Tezos, to call an entrypoint on a contract, one must send a transfer operatio
 We can inspect the transfer params produced by Taquito using the `toTransferParams()` method:
 
 ```js live noInline
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.contract
   .at('KT1WSAFm8PzQPhj5wBFRfneTL8smSaJ45BLt')
@@ -135,7 +135,7 @@ We call the `send()` method on the `increment()` method. Taquito then forges thi
 Then we wait for the confirmation(3)` to complete. The `3` number tells Taquito how many confirmations to wait for before resolving the promise. `3` is a good value for this type of demonstration, but we recommend a higher value if you are dealing with mainnet transactions.
 
 ```js live noInline
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.contract
   .at('KT1WSAFm8PzQPhj5wBFRfneTL8smSaJ45BLt')
diff --git a/docs/storage_annotations.md b/docs/storage_annotations.md
index e27f41f99..54dcf3236 100644
--- a/docs/storage_annotations.md
+++ b/docs/storage_annotations.md
@@ -26,7 +26,7 @@ To do so, let's look at three examples of contract origination showing initial v
 We need to write the storage as a Javascript object and include the annotated names in it.
 
 ```js live noInline
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.contract
   .originate({
@@ -64,7 +64,7 @@ Tezos.contract
 All properties in storage are accessible by the index corresponding to the order that the storage is defined.
 
 ```js live noInline
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.contract
   .originate({
@@ -104,7 +104,7 @@ In the following example, only the elements in positions 2 and 3 have an annotat
 Note that when proprieties have annotations, we cannot access them by index. For example, if you replace "theNat" by 2 and "theNumber" by 3 in this code example, it will fail.
 
 ```js live noInline
-// const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+// const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
 
 Tezos.contract
   .originate({
diff --git a/example/contract-schema.ts b/example/contract-schema.ts
index 40b5d36f6..50d4dbc05 100644
--- a/example/contract-schema.ts
+++ b/example/contract-schema.ts
@@ -3,7 +3,7 @@ import { InMemorySigner } from '@taquito/signer';
 
 
 async function example() {
-    const provider = 'https://api.tez.ie/rpc/granadanet';
+    const provider = 'https://granadanet.api.tez.ie';
     const signer: any = new InMemorySigner('edskRtmEwZxRzwd1obV9pJzAoLoxXFWTSHbgqpDBRHx1Ktzo5yVuJ37e2R4nzjLnNbxFU4UiBU1iHzAy52pK5YBRpaFwLbByca');
     const tezos = new TezosToolkit(provider);
     tezos.setSignerProvider( signer );
diff --git a/example/deploy-lambda-contract.ts b/example/deploy-lambda-contract.ts
index 89c7d026d..eb2513e90 100644
--- a/example/deploy-lambda-contract.ts
+++ b/example/deploy-lambda-contract.ts
@@ -2,7 +2,7 @@ import { TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 import { VIEW_LAMBDA } from '../packages/taquito/src/contract/view_lambda';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider);
diff --git a/example/example-MapValuesMultipleBigMaps.ts b/example/example-MapValuesMultipleBigMaps.ts
index 402a0958b..58e20aa81 100644
--- a/example/example-MapValuesMultipleBigMaps.ts
+++ b/example/example-MapValuesMultipleBigMaps.ts
@@ -2,7 +2,7 @@ import { MichelsonMap, TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 import { tokenCode } from '../integration-tests/data/tokens';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-Tzip12BigMapOffChain.ts b/example/example-Tzip12BigMapOffChain.ts
index f128b4584..dd66d3b65 100644
--- a/example/example-Tzip12BigMapOffChain.ts
+++ b/example/example-Tzip12BigMapOffChain.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { fa2ForTokenMetadataView } from '../integration-tests/data/fa2-for-token-metadata-view';
 import { b58cencode, char2Bytes, Prefix, prefix } from '@taquito/utils';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 const nodeCrypto = require('crypto');
 
diff --git a/example/example-Tzip12BigMapTokenMetadata.ts b/example/example-Tzip12BigMapTokenMetadata.ts
index 02b458747..2a9fe8679 100644
--- a/example/example-Tzip12BigMapTokenMetadata.ts
+++ b/example/example-Tzip12BigMapTokenMetadata.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { b58cencode, char2Bytes, Prefix, prefix } from '@taquito/utils';
 import { fa2TokenFactory } from '../integration-tests/data/fa2-token-factory';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 const nodeCrypto = require('crypto');
 
diff --git a/example/example-Tzip16Https.ts b/example/example-Tzip16Https.ts
index dd55d24e4..38e5b56a0 100644
--- a/example/example-Tzip16Https.ts
+++ b/example/example-Tzip16Https.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { tacoContractTzip16 } from "../integration-tests/data/modified-taco-contract"
 import { char2Bytes } from '@taquito/utils';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-Tzip16IPFS.ts b/example/example-Tzip16IPFS.ts
index a674a71c3..b03f1beba 100644
--- a/example/example-Tzip16IPFS.ts
+++ b/example/example-Tzip16IPFS.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { tacoContractTzip16 } from "../integration-tests/data/modified-taco-contract"
 import { char2Bytes } from '@taquito/utils';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-Tzip16OnChainOne.ts b/example/example-Tzip16OnChainOne.ts
index d01271b7e..28cf3ae47 100644
--- a/example/example-Tzip16OnChainOne.ts
+++ b/example/example-Tzip16OnChainOne.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { contractCode, metadataViewsExample1 } from '../integration-tests/data/metadataViews';
 import { char2Bytes } from '@taquito/utils';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-Tzip16OnChainTwo.ts b/example/example-Tzip16OnChainTwo.ts
index d52635333..ff952cbac 100644
--- a/example/example-Tzip16OnChainTwo.ts
+++ b/example/example-Tzip16OnChainTwo.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { contractCode, metadataViewsExample2 } from '../integration-tests/data/metadataViews';
 import { char2Bytes } from '@taquito/utils';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-Tzip16SHA256.ts b/example/example-Tzip16SHA256.ts
index 8369fa058..23680f76b 100644
--- a/example/example-Tzip16SHA256.ts
+++ b/example/example-Tzip16SHA256.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { tacoContractTzip16 } from "../integration-tests/data/modified-taco-contract"
 import { char2Bytes } from '@taquito/utils';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-Tzip16Storage.ts b/example/example-Tzip16Storage.ts
index 084bde8db..a1a7947fc 100644
--- a/example/example-Tzip16Storage.ts
+++ b/example/example-Tzip16Storage.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { tacoContractTzip16 } from "../integration-tests/data/modified-taco-contract"
 import { char2Bytes } from '@taquito/utils';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-activate.ts b/example/example-activate.ts
index 290e38c4c..f2432c4f1 100644
--- a/example/example-activate.ts
+++ b/example/example-activate.ts
@@ -2,7 +2,7 @@ import { TezosToolkit } from '@taquito/taquito'
 import { InMemorySigner } from '@taquito/signer';
 
 async function example() {
-    const provider = 'https://api.tez.ie/rpc/granadanet';
+    const provider = 'https://granadanet.api.tez.ie';
     const signer: any = new InMemorySigner('edskRtmEwZxRzwd1obV9pJzAoLoxXFWTSHbgqpDBRHx1Ktzo5yVuJ37e2R4nzjLnNbxFU4UiBU1iHzAy52pK5YBRpaFwLbByca');
     const tezos = new TezosToolkit(provider);
     tezos.setSignerProvider( signer );
diff --git a/example/example-contract-originate-Ligo-Simple.ts b/example/example-contract-originate-Ligo-Simple.ts
index ae22c76aa..734e023a6 100644
--- a/example/example-contract-originate-Ligo-Simple.ts
+++ b/example/example-contract-originate-Ligo-Simple.ts
@@ -3,7 +3,7 @@ import { ligoSample } from '../integration-tests/data/ligo-simple-contract';
 
 import { importKey } from '@taquito/signer';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-contract-originate-Ligo-vote.ts b/example/example-contract-originate-Ligo-vote.ts
index ac1675531..8cf97f537 100644
--- a/example/example-contract-originate-Ligo-vote.ts
+++ b/example/example-contract-originate-Ligo-vote.ts
@@ -2,7 +2,7 @@ import { TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 import { voteInitSample, voteSample } from '../integration-tests/data/vote-contract';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider);
diff --git a/example/example-contract-originate-hello-world.ts b/example/example-contract-originate-hello-world.ts
index 08a3945ce..22c53159d 100644
--- a/example/example-contract-originate-hello-world.ts
+++ b/example/example-contract-originate-hello-world.ts
@@ -1,7 +1,7 @@
 import { TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 
-const provider = 'https://api.tez.ie/rpc/florencenet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider);
diff --git a/example/example-lambda-origination-one.ts b/example/example-lambda-origination-one.ts
index d44fe1736..004da6ceb 100644
--- a/example/example-lambda-origination-one.ts
+++ b/example/example-lambda-origination-one.ts
@@ -2,7 +2,7 @@ import { MichelsonMap, TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 import { tzip7Contract } from '../integration-tests/data/tzip_7_contract';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-lambda-origination-two.ts b/example/example-lambda-origination-two.ts
index b94fd31d3..e8ee41cf5 100644
--- a/example/example-lambda-origination-two.ts
+++ b/example/example-lambda-origination-two.ts
@@ -2,7 +2,7 @@ import { MichelsonMap, TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 import { fa2Contract } from '../integration-tests/data/fa2_contract';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider)
diff --git a/example/example-node.ts b/example/example-node.ts
index 0ffd8197c..46cf59320 100644
--- a/example/example-node.ts
+++ b/example/example-node.ts
@@ -2,7 +2,7 @@ import { TezosToolkit } from '../packages/taquito/src/taquito';
 import { RpcClient } from '../packages/taquito-rpc/src/taquito-rpc';
 import { castToString } from '../packages/taquito-rpc/src/utils/utils';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 const client = new RpcClient(provider);
 
 async function example() {
diff --git a/example/example-parallel-bigmap-local-vs-rpc-pack.ts b/example/example-parallel-bigmap-local-vs-rpc-pack.ts
index 9a1aa7267..91bfda428 100644
--- a/example/example-parallel-bigmap-local-vs-rpc-pack.ts
+++ b/example/example-parallel-bigmap-local-vs-rpc-pack.ts
@@ -1,7 +1,7 @@
 import { BigMapAbstraction, TezosToolkit, MichelCodecPacker } from '@taquito/taquito';
 import BigNumber from 'bignumber.js';
 
-const rpc = 'https://api.tez.ie/rpc/granadanet';
+const rpc = 'https://granadanet.api.tez.ie';
 const numberOfValueToFetch = 810; // max 810
 const repeat = 1; // How many time we want to fetch all the keys
 
diff --git a/example/example-permits.ts b/example/example-permits.ts
index 1ad4daf1c..d1d68c428 100644
--- a/example/example-permits.ts
+++ b/example/example-permits.ts
@@ -10,7 +10,7 @@
  
  const blake = require('blakejs');
  const bob_address = 'tz1Xk7HkSwHv6dTEgR7E2WC2yFj4cyyuj2Gh';
- const Tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+ const Tezos = new TezosToolkit('https://granadanet.api.tez.ie');
  
  const FAUCET_KEY = {
    mnemonic: [
diff --git a/example/example-sequential-bigmap-local-vs-rpc-pack.ts b/example/example-sequential-bigmap-local-vs-rpc-pack.ts
index 2f4e19385..22b713725 100644
--- a/example/example-sequential-bigmap-local-vs-rpc-pack.ts
+++ b/example/example-sequential-bigmap-local-vs-rpc-pack.ts
@@ -1,7 +1,7 @@
 import { BigMapAbstraction, TezosToolkit, MichelCodecPacker } from '@taquito/taquito';
 import BigNumber from 'bignumber.js';
 
-const rpc = 'https://api.tez.ie/rpc/granadanet';
+const rpc = 'https://granadanet.api.tez.ie';
 const numberOfValueToFetch = 810; // max 810
 const repeat = 1; // How many time we want to fetch all the keys
 
diff --git a/example/example-smart-contract-origination.ts b/example/example-smart-contract-origination.ts
index 42f8355d0..c99d86edf 100644
--- a/example/example-smart-contract-origination.ts
+++ b/example/example-smart-contract-origination.ts
@@ -1,7 +1,7 @@
 import { TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider);
diff --git a/example/example-streamer.ts b/example/example-streamer.ts
index 177c3133e..28e8bc8bc 100644
--- a/example/example-streamer.ts
+++ b/example/example-streamer.ts
@@ -1,7 +1,7 @@
 import { TezosToolkit } from '@taquito/taquito';
 
 async function example() {
-  const provider = 'https://api.tez.ie/rpc/mainnet';
+  const provider = 'https://mainnet.api.tez.ie/';
   const tezos = new TezosToolkit(provider)
   tezos.setProvider({ config: { shouldObservableSubscriptionRetry: true, streamerPollingIntervalMilliseconds: 15000 } });
   try {
diff --git a/example/example-tzip16.ts b/example/example-tzip16.ts
index ef97302f0..8df29dd04 100644
--- a/example/example-tzip16.ts
+++ b/example/example-tzip16.ts
@@ -4,7 +4,7 @@ import { tzip16, Tzip16Module } from '@taquito/tzip16';
 async function example() {
   try {
 
-    const tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet');
+    const tezos = new TezosToolkit('https://granadanet.api.tez.ie');
     tezos.addExtension(new Tzip16Module());
     const contract = await tezos.contract.at("KT1LhUqpUGfxZaJFMrxAZ6WNAuM8FPjDLBcE", tzip16)
     const metadata = await contract.tzip16().getMetadata();
diff --git a/example/pretty-print-contract.ts b/example/pretty-print-contract.ts
index d91ffb18e..6093bb569 100644
--- a/example/pretty-print-contract.ts
+++ b/example/pretty-print-contract.ts
@@ -1,7 +1,7 @@
 import { Parser, emitMicheline } from '@taquito/michel-codec'
 import { TezosToolkit } from '@taquito/taquito';
 
-const provider = 'https://api.tez.ie/rpc/mainnet';
+const provider = 'https://mainnet.api.tez.ie/';
 
 const example = async () => {
 
diff --git a/example/scan-path-ledger.ts b/example/scan-path-ledger.ts
index ea7e4d0da..9a331c520 100644
--- a/example/scan-path-ledger.ts
+++ b/example/scan-path-ledger.ts
@@ -7,7 +7,7 @@ async function example() {
 
     const transport = await TransportNodeHid.create();
     let index = 0;
-    const tezos = new TezosToolkit('https://api.tez.ie/rpc/granadanet')
+    const tezos = new TezosToolkit('https://granadanet.api.tez.ie')
     while (index < 10) {
         const ledgerSigner = new LedgerSigner(transport, `44'/1729'/${index}'/0'`, false, DerivationType.ED25519);
         tezos.setProvider({ signer: ledgerSigner });
diff --git a/example/wallet-originate-areyouthere.ts b/example/wallet-originate-areyouthere.ts
index 123330918..e7861e037 100644
--- a/example/wallet-originate-areyouthere.ts
+++ b/example/wallet-originate-areyouthere.ts
@@ -1,7 +1,7 @@
 import { TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider);
diff --git a/example/wallet-originate-contract-transfer.ts b/example/wallet-originate-contract-transfer.ts
index 54d8370fb..e84465815 100644
--- a/example/wallet-originate-contract-transfer.ts
+++ b/example/wallet-originate-contract-transfer.ts
@@ -1,7 +1,7 @@
 import { TezosToolkit } from '@taquito/taquito';
 import { importKey } from '@taquito/signer';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider);
diff --git a/packages/taquito-rpc/src/taquito-rpc.ts b/packages/taquito-rpc/src/taquito-rpc.ts
index d45e6256a..b949114f6 100644
--- a/packages/taquito-rpc/src/taquito-rpc.ts
+++ b/packages/taquito-rpc/src/taquito-rpc.ts
@@ -71,7 +71,7 @@ export class RpcClient {
    * @param httpBackend Http backend that issue http request.
    * You can override it by providing your own if you which to hook in the request/response
    *
-   * @example new RpcClient('https://api.tez.ie/rpc/mainnet', 'main') this will use https://api.tez.ie/rpc/mainnet/chains/main
+   * @example new RpcClient('https://mainnet.api.tez.ie/', 'main') this will use https://mainnet.api.tez.ie//chains/main
    */
   constructor(
     protected url: string,
diff --git a/packages/taquito/src/taquito.ts b/packages/taquito/src/taquito.ts
index 0d21e4320..0a53afe16 100644
--- a/packages/taquito/src/taquito.ts
+++ b/packages/taquito/src/taquito.ts
@@ -101,7 +101,7 @@ export class TezosToolkit {
    *
    * @param options rpc url or rpcClient to use to interact with the Tezos network
    *
-   * @example Tezos.setProvider({rpc: 'https://api.tez.ie/rpc/mainnet', signer: new InMemorySigner.fromSecretKey(“edsk...”)})
+   * @example Tezos.setProvider({rpc: 'https://mainnet.api.tez.ie/', signer: new InMemorySigner.fromSecretKey(“edsk...”)})
    * @example Tezos.setProvider({ config: { confirmationPollingTimeoutSecond: 300 }})
    *
    */
@@ -150,7 +150,7 @@ export class TezosToolkit {
    *
    * @param options rpc url or rpcClient to use to interact with the Tezos network
    *
-   * @example Tezos.setRpcProvider('https://api.tez.ie/rpc/mainnet')
+   * @example Tezos.setRpcProvider('https://mainnet.api.tez.ie/')
    *
    */
   setRpcProvider(rpc?: SetProviderOptions['rpc']) {
diff --git a/website/src/theme/CodeBlock/index.js b/website/src/theme/CodeBlock/index.js
index 3dca3213a..79cd4ca9a 100755
--- a/website/src/theme/CodeBlock/index.js
+++ b/website/src/theme/CodeBlock/index.js
@@ -80,7 +80,7 @@ export default ({
   }, [button.current, target.current]);
 
   if (live) {
-    const customRpcClient = new CancellableRpcClient('https://api.tez.ie/rpc/granadanet') 
+    const customRpcClient = new CancellableRpcClient('https://granadanet.api.tez.ie') 
     const Tezos = new TezosToolkit(customRpcClient);
     const wallet = new BeaconWallet({name:"exampleWallet"});
 


Test patch:
diff --git a/example/deploy-integration-tests-contracts.ts b/example/deploy-integration-tests-contracts.ts
index 9450996c4..4287f00e8 100644
--- a/example/deploy-integration-tests-contracts.ts
+++ b/example/deploy-integration-tests-contracts.ts
@@ -3,7 +3,7 @@ import { importKey } from '@taquito/signer';
 import { knownContract } from './data/knownContract';
 import { knownBigMapContract } from './data/knownBigMapContract';
 
-const provider = 'https://api.tez.ie/rpc/granadanet';
+const provider = 'https://granadanet.api.tez.ie';
 
 async function example() {
   const tezos = new TezosToolkit(provider);
diff --git a/integration-tests/config.ts b/integration-tests/config.ts
index 4d321e55e..358e604a2 100644
--- a/integration-tests/config.ts
+++ b/integration-tests/config.ts
@@ -55,7 +55,7 @@ interface FaucetConfig {
 }
 
 const granadanetEphemeral = {
-  rpc: process.env['TEZOS_RPC_GRANADANET'] || 'https://api.tez.ie/rpc/granadanet',
+  rpc: process.env['TEZOS_RPC_GRANADANET'] || 'https://granadanet.api.tez.ie',
   knownBaker: 'tz1cjyja1TU6fiyiFav3mFAdnDsCReJ12hPD',
   knownContract: 'KT1JMwgeC7MwYiMiZd74gXK6wrY7QNf1NwLX',
   knownBigMapContract: 'KT1VniFqNCPEq4MXvnjYGvUqdWDhooJM5Nae',
@@ -68,7 +68,7 @@ const granadanetEphemeral = {
 }
 
 const florencenetEphemeral = {
-  rpc: process.env['TEZOS_RPC_FLORENCENET'] || 'https://api.tez.ie/rpc/florencenet',
+  rpc: process.env['TEZOS_RPC_FLORENCENET'] || 'https://florencenet.api.tez.ie',
   knownBaker: 'tz1cjyja1TU6fiyiFav3mFAdnDsCReJ12hPD',
   knownContract: 'KT1BRwtrBfiC2paqoSw4nakJ2EGLCGuoprLQ',
   knownBigMapContract: 'KT1W1jh5C5NbcVVvpnBLQT9ekMbR5a8fg6mc',
@@ -118,7 +118,7 @@ const key = {
 }
 
 const granadanetFaucet = {
-  rpc: 'https://api.tez.ie/rpc/granadanet',
+  rpc: 'https://granadanet.api.tez.ie',
   knownBaker: 'tz1cjyja1TU6fiyiFav3mFAdnDsCReJ12hPD',
   knownContract: 'KT1JMwgeC7MwYiMiZd74gXK6wrY7QNf1NwLX',
   knownBigMapContract: 'KT1VniFqNCPEq4MXvnjYGvUqdWDhooJM5Nae',
@@ -130,7 +130,7 @@ const granadanetFaucet = {
 }
 
 const florencenetFaucet = {
-  rpc: 'https://api.tez.ie/rpc/florencenet',
+  rpc: 'https://florencenet.api.tez.ie/',
   knownBaker: 'tz1cjyja1TU6fiyiFav3mFAdnDsCReJ12hPD',
   knownContract: 'KT1BRwtrBfiC2paqoSw4nakJ2EGLCGuoprLQ',
   knownBigMapContract: 'KT1W1jh5C5NbcVVvpnBLQT9ekMbR5a8fg6mc',
diff --git a/integration-tests/rpc-get-protocol-constants.spec.ts b/integration-tests/rpc-get-protocol-constants.spec.ts
index cf0312b16..5bca4f83e 100644
--- a/integration-tests/rpc-get-protocol-constants.spec.ts
+++ b/integration-tests/rpc-get-protocol-constants.spec.ts
@@ -10,7 +10,7 @@ CONFIGS().forEach(({ lib, protocol, rpc }) => {
 
     describe('Fetch constants for all protocols on Mainnet', () => {
 
-        const rpcUrl = 'https://api.tez.ie/rpc/mainnet';
+        const rpcUrl = 'https://mainnet.api.tez.ie/';
         Tezos.setRpcProvider(rpcUrl)
         it('succesfully fails at fetching constants for level 0', async (done) => {
             try {
diff --git a/packages/taquito-rpc/test/taquito-rpc.spec.ts b/packages/taquito-rpc/test/taquito-rpc.spec.ts
index 66edf7f7a..d4709b8f8 100644
--- a/packages/taquito-rpc/test/taquito-rpc.spec.ts
+++ b/packages/taquito-rpc/test/taquito-rpc.spec.ts
@@ -2349,9 +2349,9 @@ describe('RpcClient test', () => {
 
   describe('getRpcUrl', () => {
     it('return the RPC Url', () => {
-      const url: string = 'https://api.tez.ie/rpc/mainnet';
+      const url: string = 'https://mainnet.api.tez.ie/';
       const rpcUrlMainnet = (new RpcClient(url)).getRpcUrl();
-      expect(rpcUrlMainnet).toEqual('https://api.tez.ie/rpc/mainnet');
+      expect(rpcUrlMainnet).toEqual('https://mainnet.api.tez.ie/');
       const rpcUrlCarthagenet = (new RpcClient('https://api.tez.ie/rpc/carthagenet')).getRpcUrl();
       expect(rpcUrlCarthagenet).toEqual('https://api.tez.ie/rpc/carthagenet');
     });