This repo will be archived after v2 schemas release in @unique-nft/unique_schemas and @unique-nft/solidity-interfaces respectively.
- UniqueRoyalty.sol - core decoding/encoding logic library
- UniqueRoyaltyHelper.sol - helper contract to decode/encode royalty data, transform, calculate royalty amount etc
Typescript implementation of the library located - here
yarn
yarn test
yarn
echo "PRIVATE_KEY=<your_private_key>" > .env
yarn check:balances
yarn deploy:everywhere
- add to @unique-nft/schemas
- add to @unique-nft/solidity-interfaces