Skip to content

Conversation

farhanW3
Copy link
Contributor

@farhanW3 farhanW3 commented Jun 7, 2023

Linear Ticket: PLAT-941

  • Added ERC20 Signature & Mint
  • Added ERC721 Signature & Mint
  • Added ERC1155 Signature & Mint

@zeet-co
Copy link

zeet-co bot commented Jun 7, 2023

We're building your pull request over on Zeet.
Click me for more info about your build and deployment.
Once built, this branch can be tested at: https://web3-api-akbv-farhan-plat-941.chainsaw-dev.zeet.app before merging 😉

@zeet-co
Copy link

zeet-co bot commented Jun 7, 2023

We're building your pull request over on Zeet.
Click me for more info about your build and deployment.
Once built, this branch can be tested at: https://web3-api-7qzi-farhan-plat-941.zeet-nftlabs.zeet.app before merging 😉

to,
currencyAddress,
metadata,
mintEndTime,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe all these date types support only javascript date object (which wouldn't work well over HTTP) or unix timestamps, which is useable but not the most intuitive. Might be good to consider supporting date timestamps here if they don't work (worth looking into)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the expected input data-type for mintEndTime & mintStartTime is Number as I am expecting a date-timestamp in milliseconds.

I will take a look

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adam-maj I did update the datatype to be date-time which expects ISO 8601 date-time string, which devs can get using new Date().toISOString(). I think this what you were asking to do. plz let me know if this isn't what you meant

}

// givig 10 seconds of buffer
return new Date(value).getTime() >= Date.now() - 10 * 1000;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need this as per feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants