Skip to content

Commit

Permalink
Merge pull request #684 from lukso-network/update-ipfs
Browse files Browse the repository at this point in the history
Update IPFS endpoints
  • Loading branch information
fhildeb authored Oct 18, 2023
2 parents 5bed5d4 + f135425 commit 5994620
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/guides/digital-assets/read-asset-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/universal-profile/edit-profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/dapp-developer/readData.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5994620

Please sign in to comment.