Signature Generation
signatureMessageWitSalt
This function is used to generate a signature message for the following functions:
- mintWithURI
- mintWithURIWhitelist
signatureMessageWitSalt(
verifier: string,
entityId: string,
templateId: string,
collectionId: string,
uri: string,
salt: string
)
signatureMessageUpdateUri
This function is used to generate a signature message for the following function:
- updateURISlot
signatureMessageUpdateUri(entityWallet: string, entityId: string, contractAddress: string, tokenId: string, uri: string)
sellOrderSign
Generates a signature for the sell order.
sellOrderSign(sellOrder: SellOrder)
type SellOrder = {
seller: string,
fromContractAddress: string,
fromTokenId: string,
entityId: string,
slotUri: string,
sellPrice: string,
salt: string,
}
buyOrderSign
Generates a signature for the buy order.
buyOrderSign(buyOrder: BuyOrder)
type BuyOrder = {
buyer: string,
seller: string,
fromContractAddress: string,
fromTokenId: string,
toContractAddress: string,
toTokenId: string,
entityId: string,
slotUri: string,
buyPrice: string,
salt: string
}