Skip to content

nihilium/solidity-ipfs-utils

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

IPFS Utils

Simple smart contract library for IPFS hashing utils to be used on-chain.

Status

Currently in development as needed by the Nihilium project, will expand further when needed.

Install

npm install @nihilium/solidity-ipfs-utils
import '@nihilium/solidity-ipfs-utils/contracts/IpfsFunctions.sol'
bytes32 ipfshash = IpfsFunctions.calculate_ipfs_sha256_32_single_chunk(content);

See tests for further usuage in javascript.

About

Smart contracts to handle on-chain multi-hash for content validation

Resources

License

Stars

Watchers

Forks

Packages

No packages published