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

docs: replace l16 with testnet #313

Closed
wants to merge 1 commit into from
Closed
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
5 changes: 3 additions & 2 deletions docs/classes/ERC725.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ myErc725.checkPermissions(requiredPermissions, grantedPermissions);
```

---

## decodeData

```js
Expand Down Expand Up @@ -1459,7 +1460,7 @@ myErc725.supportsInterface('0xfd4d5c50');

ERC725.supportsInterface('0xfd4d5c50', {
address: '0xe408BDDbBAB1985006A2c481700DD473F932e5cB',
rpcUrl: 'https://rpc.l16.lukso.network',
rpcUrl: 'https://rpc.testnet.lukso.network',
});
// false
```
Expand All @@ -1470,7 +1471,7 @@ myErc725.supportsInterface('LSP0ERC725Account');

ERC725.supportsInterface('LSP0ERC725Account', {
address: '0xe408BDDbBAB1985006A2c481700DD473F932e5cB',
rpcUrl: 'https://rpc.l16.lukso.network',
rpcUrl: 'https://rpc.testnet.lukso.network',
});
// true
```
7 changes: 2 additions & 5 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const schemas = [
];

const address = '0x0c03fba782b07bcf810deb3b7f0595024a444f4e';
const RPC_URL = 'https://rpc.l16.lukso.network';
const RPC_URL = 'https://rpc.testnet.lukso.network';
const config = {
ipfsGateway: 'https://YOUR-IPFS-GATEWAY/ipfs/',
};
Expand All @@ -79,10 +79,7 @@ await erc725.getData('SupportedStandards:LSP3Profile');
}
*/

await erc725.getData([
'LSP3Profile',
'SupportedStandards:LSP3Profile',
]);
await erc725.getData(['LSP3Profile', 'SupportedStandards:LSP3Profile']);
/**
{
LSP3Profile: {
Expand Down
4 changes: 2 additions & 2 deletions docs/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```
Expand Down Expand Up @@ -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);
Expand Down
Loading