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

Update IPFS endpoints #684

Merged
merged 1 commit into from
Oct 18, 2023
Merged
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
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