@unique-nft/unique-royalties
v0.0.1
Published
Typescript library and smart contracts to work with Unique NFTs royalties
Downloads
3
Keywords
Readme
Disclaimer
This repo will be archived after v2 schemas release in @unique-nft/unique_schemas and @unique-nft/solidity-interfaces respectively.
Contracts
- 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
To check everything is working
yarn
yarn test
To deploy
yarn
echo "PRIVATE_KEY=<your_private_key>" > .env
yarn check:balances
yarn deploy:everywhere
ToDo
- add to @unique-nft/schemas
- add to @unique-nft/solidity-interfaces