Closed Aervue closed 1 year ago
if you have { "invalidBefore": 70998357 }
you must also define validity interval start value, which must be larger than 70998357
basically look at it as the invalidBefore or after values are compared with the TTL and validityIntervalStart value itself so the tx can be verified statically.
closing due to inactivity
So I was successful in minting a NFT with this package with just "pubKeyHash" but when I also add "all" and "invalidBefore" to try and make a time-locked policyId and submit the transaction I get the following errors:
This is the nativeScript I use to get the policyId and submit the transaction:
If I use just the following to generate policy and set the required variables I can mint no problem but it's not time-locked.
Google searches say that I should use --invalid-hereafter with the same slot or before the one used in the invalidBefore in the CLI so I added the same slot number to TTL. Am I doing something wrong?