UNPKG

ipfs-cid-in-bytes32

Version:

Convenient minimal library to convert IPFS CIDs from/to Bytes32 using pure Solidity

20 lines (12 loc) 314 B
# IPFS-CID-in-Bytes32 Convenient minimal library to convert IPFS CIDs from/to Bytes32 using pure Solidity ## Installation ```bash npm install ipfs-cid-in-bytes32 ``` ## Use ```solidity import "ipfs-cid-in-bytes32/contracts/Bytes32IpfsCid.sol"; ``` ## License This project is released under the MIT License.