JSPM

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

Package for Universal Profile, an implementation of LSP0 ERC725 Account & LSP3 Profile Metadata standards combined together.

Package Exports

  • @lukso/universalprofile-contracts
  • @lukso/universalprofile-contracts/abi
  • @lukso/universalprofile-contracts/artifacts/UniversalProfile.json
  • @lukso/universalprofile-contracts/artifacts/UniversalProfileInit.json
  • @lukso/universalprofile-contracts/constants
  • @lukso/universalprofile-contracts/dist/abi.cjs
  • @lukso/universalprofile-contracts/dist/abi.d.cts
  • @lukso/universalprofile-contracts/dist/abi.d.mts
  • @lukso/universalprofile-contracts/dist/abi.d.ts
  • @lukso/universalprofile-contracts/dist/abi.mjs
  • @lukso/universalprofile-contracts/package.json

Readme

Universal Profile · npm version

Smart Contract implementation for Universal Profile, a combination of LSP0 ERC725 Account and LSP3 Profile Metadata.

Installation

npm i @lukso/universalprofile-contracts

Solidity constants

The constants related to LSP3 Profile Metadata can be directly imported from the Solidity Constants.sol file.

import {
  _LSP3_SUPPORTED_STANDARDS_KEY,
  _LSP3_SUPPORTED_STANDARDS_VALUE,
  _LSP3_PROFILE_KEY
} from "@lukso/universalprofile-contracts/contracts/Constants.sol";

Typescript types

You can also import the type-safe ABI of each LSP smart contracts from the /abi path.

import {
  universalProfileAbi,
  universalProfileInitAbi,
} from "@lukso/universalprofile-contracts/abi";