Skip to main content
22 events
when toggle format what by license comment
Mar 29, 2022 at 23:25 history edited MC_Brisbane - JUST Pool CC BY-SA 4.0
added 78 characters in body
Mar 29, 2022 at 23:25 comment added MC_Brisbane - JUST Pool That's great, glad to help
Mar 29, 2022 at 17:36 comment added Koki Yes you are right! I recreated the policy ID and the policy script and together with the filepath change earlier it now works. Thanks a lot man! 🙂
Mar 23, 2022 at 23:25 comment added MC_Brisbane - JUST Pool Ok good, that has progressed to the next issue. It looks like the policy.json and/or policyID need checking. Back up a few steps and look closely at how these are created and if there is something missing or incorrect.
Mar 23, 2022 at 19:01 comment added Koki When I change from variable to path as suggested, I get this error instead: About to run the first build-raw command Command failed: transaction build-raw Error: The "--mint" flag specifies an asset with a policy Id, but no corresponding monetary policy script has been provided as a witness (via the "--minting-script-file" flag). The policy Id in question is: 3d700373099c2b932990d812c02909223bc6587f2ef25b587e8d03e7 After the first build-raw
Mar 22, 2022 at 21:56 history edited MC_Brisbane - JUST Pool CC BY-SA 4.0
added 104 characters in body
Mar 22, 2022 at 21:48 comment added MC_Brisbane - JUST Pool Ok good, that's moving along. One thing I noticed is that '--minting-script-file' accepts a file path. In your case it should be: '--minting-script-file $HOME/nft/policy/policy.json'
Mar 22, 2022 at 18:39 comment added Koki Error at step #3. See above comment.
Mar 22, 2022 at 18:33 comment added Koki Seems something wrong with my policy script? I follow these guides: 1. developers.cardano.org/docs/native-tokens/… 2. developers.cardano.org/docs/native-tokens/minting 3. devslug.com/…
Mar 22, 2022 at 18:29 comment added Koki About to run the first build-raw Command failed: transaction build-raw Error: { "type": "all", "scripts": [ { "type": "before", "slot": 53612937 }, { "type": "sig", "keyHash": "13589c57f20c76a46b508cca1f4434d0a1e3f568c3f359c02d2a8327" } ] }: { "type": "all", "scripts": [ { "type": "before", "slot": 53612937 }, { "type": "sig", "keyHash": "13589c57f20c76a46b508cca1f4434d0a1e3f568c3f359c02d2a8327" } ] }: openBinaryFile: does not exist (No such file or directory) After the first build-raw
Mar 22, 2022 at 9:09 comment added MC_Brisbane - JUST Pool Can you link in the document guide that you are following.
Mar 22, 2022 at 8:42 history edited MC_Brisbane - JUST Pool CC BY-SA 4.0
added 30 characters in body
Mar 22, 2022 at 8:36 history edited MC_Brisbane - JUST Pool CC BY-SA 4.0
added 963 characters in body
Mar 22, 2022 at 8:20 comment added MC_Brisbane - JUST Pool Can you try these steps in my updated answer.
Mar 22, 2022 at 5:36 comment added Koki Builds-raw and calc fee commands are now separated as suggested and slot number is set before first build-raw command (right after/under addressIn). Same error code created.
Mar 22, 2022 at 2:40 comment added MC_Brisbane - JUST Pool slotnumber needs to be set before you use it eg BEFORE the line beginning: fee=$(cardano-cli transaction build-raw...... Set it at the TOP right after the line: addressIn=$(cat....
Mar 21, 2022 at 18:34 comment added Koki Okey. Tried moving the slotnumber higher above the first build-raw attempt, but still exact same error code.
Mar 21, 2022 at 4:05 history edited MC_Brisbane - JUST Pool CC BY-SA 4.0
added 75 characters in body
Mar 21, 2022 at 0:48 comment added MC_Brisbane - JUST Pool Thanks for the update. I just noticed that slotnumber does not appear to be set before the first 'build-raw' attempt. --invalid-hereafter ${slotnumber} Can you set it at the top before running 'cardano-cli transaction build-raw...' eg slotnumber=53264773
Mar 20, 2022 at 14:07 comment added Koki Thank you for your quick response. I tried your suggestion as mentioned and got the exact same error. And yes everything is on same line or "\" is used when multiple lines. The "\" don't seems to show when posting here. However they are there 🙂.
Mar 19, 2022 at 1:01 comment added MC_Brisbane - JUST Pool Also, keep in mind that each command should be on one line, or use the line continuation character \ if split over multiple lines.
Mar 19, 2022 at 0:51 history answered MC_Brisbane - JUST Pool CC BY-SA 4.0