0.15.1 • Published 7 months ago

@lukso/lsp2-contracts v0.15.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
7 months ago

LSP2 ERC725Y JSON Schema · npm version

Package for the LSP2 ERC725Y JSON Schema standard.

Installation

npm install @lukso/lsp2-contracts

Available Constants & Types

The @lukso/lsp2-contracts npm package contains useful constants such as ERC725Y Data Keys related to the LSP2 Standard. You can import and access them as follows.

In Javascript.

import { LSP2ArrayKey, Verification } from "@lukso/lsp2-contracts";

In Solidity.

import {
    _KECCAK256_UTF8,
    _KECCAK256_BYTES,
    _KECCAK256_ECDSA
} from "@lukso/lsp2-contracts/contracts/LSP2Constants.sol";