JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 163
  • Score
    100M100P100Q90645F
  • License Apache-2.0

Package for the LSP17 extensions

Package Exports

  • @lukso/lsp17-contracts
  • @lukso/lsp17-contracts/artifacts/Extension4337.json
  • @lukso/lsp17-contracts/artifacts/OnERC721ReceivedExtension.json
  • @lukso/lsp17-contracts/package.json

Readme

LSP17 Extensions Package · npm version

Package for the LSP17 Extensions, that includes the following extensions:

  • the Extension4337 extension, which contains the validateUserOp function from the ERC4337 standard.
  • the OnERC721ReceivedExtension extension that contains the onERC721Received function from the ERC721 standard.

Installation

npm install @lukso/lsp17-contracts

Available Constants & Types

The @lukso/lsp17-contracts npm package contains useful constants such as InterfaceIds related to the LSP17 Extensions. You can import and access them as follow:

import { INTERFACE_ID_LSP17Extension } from "@lukso/lsp17-contracts";