From f13542505a32daa2d6e05069d35b01590bddf881 Mon Sep 17 00:00:00 2001 From: Felix Hildebrandt Date: Wed, 18 Oct 2023 13:33:43 +0200 Subject: [PATCH] update IPFS endpoints --- docs/guides/digital-assets/read-asset-data.md | 8 ++++---- docs/guides/getting-started.md | 2 +- docs/guides/universal-profile/edit-profile.md | 4 ++-- docs/learn/dapp-developer/readData.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/guides/digital-assets/read-asset-data.md b/docs/guides/digital-assets/read-asset-data.md index b36da4698f..a3ac808770 100644 --- a/docs/guides/digital-assets/read-asset-data.md +++ b/docs/guides/digital-assets/read-asset-data.md @@ -66,7 +66,7 @@ import Web3 from 'web3'; // Static variables const SAMPLE_PROFILE_ADDRESS = '0xa907c1904c22DFd37FF56c1f3c3d795682539196'; const RPC_ENDPOINT = 'https://rpc.l16.lukso.network'; -const IPFS_GATEWAY = 'https://2eff.lukso.dev/ipfs/'; +const IPFS_GATEWAY = 'https://api.universalprofile.cloud/ipfs'; // Parameters for the ERC725 instance const provider = new Web3.providers.HttpProvider(RPC_ENDPOINT); @@ -106,7 +106,7 @@ import Web3 from 'web3'; // Static variables const SAMPLE_PROFILE_ADDRESS = '0x0C03fBa782b07bCf810DEb3b7f0595024A444F4e'; const RPC_ENDPOINT = 'https://rpc.l14.lukso.network'; -const IPFS_GATEWAY = 'https://2eff.lukso.dev/ipfs/'; +const IPFS_GATEWAY = 'https://api.universalprofile.cloud/ipfs'; // Parameters for the ERC725 instance const provider = new Web3.providers.HttpProvider(RPC_ENDPOINT); @@ -231,7 +231,7 @@ import Web3 from 'web3'; // Static variables const SAMPLE_PROFILE_ADDRESS = '0xa907c1904c22DFd37FF56c1f3c3d795682539196'; const RPC_ENDPOINT = 'https://rpc.l16.lukso.network'; -const IPFS_GATEWAY = 'https://2eff.lukso.dev/ipfs/'; +const IPFS_GATEWAY = 'https://api.universalprofile.cloud/ipfs'; // Parameters for the ERC725 instance const provider = new Web3.providers.HttpProvider(RPC_ENDPOINT); @@ -297,7 +297,7 @@ import LSP1MinimalABI from './lsp1_legacy_minimal_abi.json'; // Static variables const SAMPLE_PROFILE_ADDRESS = '0x0C03fBa782b07bCf810DEb3b7f0595024A444F4e'; const RPC_ENDPOINT = 'https://rpc.l14.lukso.network'; -const IPFS_GATEWAY = 'https://2eff.lukso.dev/ipfs/'; +const IPFS_GATEWAY = 'https://api.universalprofile.cloud/ipfs'; // Parameters for the ERC725 instance const provider = new Web3.providers.HttpProvider(RPC_ENDPOINT); diff --git a/docs/guides/getting-started.md b/docs/guides/getting-started.md index c8f59e314a..a3c25c909d 100644 --- a/docs/guides/getting-started.md +++ b/docs/guides/getting-started.md @@ -141,7 +141,7 @@ const provider = new Web3.providers.HttpProvider( const erc725 = new ERC725(schema, myUPAddress, provider); const config = { - ipfsGateway: 'https://2eff.lukso.dev/ipfs/', + ipfsGateway: 'https://api.universalprofile.cloud/ipfs', }; const data = await erc725.fetchData(); diff --git a/docs/guides/universal-profile/edit-profile.md b/docs/guides/universal-profile/edit-profile.md index ce03eaf7e7..b4de8c7be5 100644 --- a/docs/guides/universal-profile/edit-profile.md +++ b/docs/guides/universal-profile/edit-profile.md @@ -257,7 +257,7 @@ async function editProfileInfo() { ]; const erc725 = new ERC725(schema, profileAddress, web3.currentProvider, { - ipfsGateway: 'https://2eff.lukso.dev/ipfs/', + ipfsGateway: 'https://api.universalprofile.cloud/ipfs', }); // Step 3.2 - Encode the LSP3Profile data @@ -421,7 +421,7 @@ async function editProfileInfo() { ]; const erc725 = new ERC725(schema, profileAddress, web3.currentProvider, { - ipfsGateway: 'https://2eff.lukso.dev/ipfs/', + ipfsGateway: 'https://api.universalprofile.cloud/ipfs', }); // Step 3.2 - Encode the LSP3Profile data (to be written on our UP) diff --git a/docs/learn/dapp-developer/readData.md b/docs/learn/dapp-developer/readData.md index 7a1d592b5d..2ab5d0d1ea 100644 --- a/docs/learn/dapp-developer/readData.md +++ b/docs/learn/dapp-developer/readData.md @@ -72,7 +72,7 @@ import erc725schema from '@erc725/erc725.js/schemas/LSP3UniversalProfileMetadata // Parameters for ERC725 Instance const config = { - ipfsGateway: 'https://ipfs-proxy.lukso-account.workers.dev/ipfs/', + ipfsGateway: 'https://api.universalprofile.cloud/ipfs', }; const provider = new Web3.providers.HttpProvider(RPC_ENDPOINT);