0.3.0 • Published 4 years ago
artree-nft-converter v0.3.0
Artree NFT Converter
This allows us to convert off-chain images to Ethereum NFT easily.
Installation
$ npm i --save artree-nft-converter
Interface
interface StegParams {
verification: Verification
signature: Signature
}
interface Verification {
owner: string
creationHash: string
tokenId: number
commons: string
}
interface Signature {
sha: string
sig: string
}
Steg Params
The params embedded in image.
Field Name | Content |
---|---|
owner | Ethereum address of image owner |
creationHash | Transaction hash of this NFT created |
tokenId | NFT ID on Ethereum |
commons | Creative commons rule set |
sha | Sha hash for string verification |
sig | Owner signature |