This allows us to convert off-chain images to Ethereum NFT easily.
$ npm i --save artree-nft-converter
interface StegParams {
verification: Verification
signature: Signature
}
interface Verification {
owner: string
creationHash: string
tokenId: number
commons: string
}
interface Signature {
sha: string
sig: string
}
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 |