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 · 
Smart Contract implementation for Universal Profile, a combination of LSP0 ERC725 Account and LSP3 Profile Metadata.
Installation
npm i @lukso/universalprofile-contractsSolidity 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";