From 96c3e63d0207f6e75f6781f717cc187477d3f54f Mon Sep 17 00:00:00 2001 From: biancabuzea200 Date: Tue, 26 Sep 2023 11:21:10 +0200 Subject: [PATCH] replace l16 with testnet in tools --- docs/tools/erc725js/providers.md | 4 ++-- docs/tools/lsp-factoryjs/getting-started.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tools/erc725js/providers.md b/docs/tools/erc725js/providers.md index b9b29d1dd0..ec0b69e29c 100644 --- a/docs/tools/erc725js/providers.md +++ b/docs/tools/erc725js/providers.md @@ -15,7 +15,7 @@ An RPC URL can be passed when instantiating the `ERC725` class. ```javascript import ERC725 from '@erc725/erc725.js'; -const RPC_URL = 'https://rpc.l16.lukso.network'; +const RPC_URL = 'https://rpc.testnet.lukso.network'; const erc725 = new ERC725([], '0x...', RPC_URL); ``` @@ -47,7 +47,7 @@ import Web3 from 'web3'; import ERC725 from '@erc725/erc725.js'; const web3provider = new Web3( - new Web3.providers.HttpProvider('https://rpc.l16.lukso.network'), + new Web3.providers.HttpProvider('https://rpc.testnet.lukso.network'), ); const erc725 = new ERC725([], '0x...', web3provider); diff --git a/docs/tools/lsp-factoryjs/getting-started.md b/docs/tools/lsp-factoryjs/getting-started.md index d31edf02fd..9b19536f53 100644 --- a/docs/tools/lsp-factoryjs/getting-started.md +++ b/docs/tools/lsp-factoryjs/getting-started.md @@ -20,7 +20,7 @@ npm install @lukso/lsp-factory.js ```javascript import { LSPFactory } from '@lukso/lsp-factory.js'; -const provider = 'https://rpc.l16.lukso.network'; +const provider = 'https://rpc.testnet.lukso.network'; const lspFactory = new LSPFactory(provider, { deployKey: '0x...', // Private key of the account which will deploy smart contracts @@ -116,7 +116,7 @@ const myUPAddress = myContracts.LSP0ERC725Account.address; When instantiating LSPFactory options can be passed to specify parameters such as `chainId` and `ipfsGateway`. ```javascript title="Instantiating LSPFactory with custom options set" -const lspFactory = new LSPFactory('https://rpc.l16.lukso.network', { +const lspFactory = new LSPFactory('https://rpc.testnet.lukso.network', { deployKey: '0x...', chainId: 2828, ipfsGateway: 'https://ipfs.infura.io:5001', @@ -138,7 +138,7 @@ If no value is set here, LSPFactory will attempt to sign transactions via a brow `ipfsGateway` is used to specify the IPFS node which should be interacted with for uploading and retrieving metadata. `ipfsGateway` can be either a URL string or an object as defined by the [IPFS-HTTP Client](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-http-client#createoptions) library which is used internally to interact with the IPFS node. ```javascript title="Instantiating LSPFactory with custom ipfsGateway options set" -const lspFactory = new LSPFactory('https://rpc.l16.lukso.network', { +const lspFactory = new LSPFactory('https://rpc.testnet.lukso.network', { deployKey: '0x...', chainId: 2828, ipfsGateway: {