Package for the LSP12 Issued Assets standard.
npm install @lukso/lsp12-contracts
The @lukso/lsp12-contracts
npm package contains useful constants such as ERC725Y Data Keys related to the LSP12 Standard. You can import and access them as follows.
In Javascript.
import { LSP12DataKeys } from "@lukso/lsp12-contracts";
In Solidity.
import {
_LSP12_ISSUED_ASSETS_ARRAY_KEY,
_LSP12_ISSUED_ASSETS_MAP_KEY_PREFIX
} from "@lukso/lsp12-contracts/contracts/LSP12Constants.sol";