@lukso/lsp11-contracts 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,8 +10,20 @@ npm install @lukso/lsp11-contracts
10
10
 
11
11
  ## Available Constants & Types
12
12
 
13
- The `@lukso/lsp11-contracts` npm package contains useful constants such as interface ID related to the LSP11 standard. You can import and access them as follows:
13
+ The `@lukso/lsp11-contracts` npm package contains useful constants such as interface ID related to the LSP11 standard. You can import and access them as follows.
14
+
15
+ In Javascript.
14
16
 
15
17
  ```js
16
18
  import { INTERFACE_ID_LSP11 } from "@lukso/lsp11-contracts";
17
19
  ```
20
+
21
+ In Solidity.
22
+
23
+ <!-- prettier-ignore -->
24
+ ```solidity
25
+ import {
26
+ _INTERFACEID_LSP11,
27
+ LSP11_VERSION
28
+ } from "@lukso/lsp11-contracts/contracts/LSP11Constants.sol";
29
+ ```