0.15.5 • Published 1 year ago
@lukso/universalprofile-contracts
Licence
Apache-2.0
Version
0.15.5
Deps
4
Size
300 kB
Vulns
0
Weekly
0
Universal Profile · 
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";