The markdown files in this folder are published on the LUKSO docs portal: https://docs.lukso.tech/tools/erc725js/getting-started
You can use the following example below as a template to document any new methods added the library.
myErc725.methodName(param1, param2, [optionalParams]);ERC725.methodName(param1, param2, [optionalParams]);Describe your method and how it is intended to be used, the benefits it brings, and any specific behaviour that the functions has.
| Name | Type | Description |
|---|---|---|
param1 |
string |
... |
param2 |
string or string[] or number or number[] or boolean or boolean[] |
... |
| Name | Type | Description |
|---|---|---|
string |
... |
import ERC725 from '@erc725/erc725.js';
const myErc725 = new ERC725();
myErc725.methodName('hello', 5);
// show in comment the expected output of the functionThis method is also available as a static method.
import ERC725 from '@erc725/erc725.js';
ERC725.methodName('hello', 5);
// show in comment the expected output of the function