0.15.1 • Published 7 months ago

@lukso/universalprofile-contracts v0.15.1

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

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";