SmaugPool / pool.pm

Cardano blockchain realtime visualization
https://pool.pm
Other
18 stars 8 forks source link

hi, can't register timelock nft. Tested on pool.pm "Not Found" #22

Closed qichalerm closed 2 years ago

qichalerm commented 2 years ago

Hi, try to create nft, now can go up blockchain is now available, but can't register timelock nft. Tested on pool.pm "Not Found", I don't know What more needs to be done? Thank. https://github.com/Emurgo/cardano-serialization-lib/issues/298

SmaugPool commented 2 years ago

Hi, I'm not sure how this is related to pool.pm.

Did you manage to mint the NFT? If so do you have the pool.pm link? What are the policy id and policy script?

On 2021-12-20 14:33, Qi.Chalerm wrote:

Hi, try to create nft, now can go up blockchain is now available, but can't register timelock nft. Tested on pool.pm "Not Found", I don't know What more needs to be done? Thank. Emurgo/cardano-serialization-lib#298 [1]

-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. Triage notifications on the go with GitHub Mobile for iOS [4] or Android [5]. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Links:

[1] https://github.com/Emurgo/cardano-serialization-lib/issues/298 [2] https://github.com/SmaugPool/pool.pm/issues/22 [3] https://github.com/notifications/unsubscribe-auth/AP6AKAK67ANJY7UBNQQP5LDUR4WBJANCNFSM5KNWZ5AQ [4] https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 [5] https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

qichalerm commented 2 years ago

@SmaugPool Hi, sorry to bother you

Did you manage to mint the NFT =yes trying mint nft If so do you have the pool.pm link? =https://pool.pm/stake1uxs65qkjpqt97zwnpwajyn5dmdvfn5c5e57uwn839sv8l2qqwpyxp What are the policy id and policy script? ={ "type": "all", "scripts":[ { "type": "before", "slot": 48454301 }, { "type": "sig", "keyHash": "51b3f3f61d7adfd82551656972e1fdddf90ac892d38b62e2eee7c9fa" } ] }

Thank. 🙏🏻

SmaugPool commented 2 years ago

The link you posted is a wallet, I don't know what I'm supposed to look at into it.

The policy script you posted has for policy id "a63fc6117551048623e1752a74d7ed14d677208c91fb3647ce9edcd4" and no NFT has been minted with it, so I'm not sure what is your problem exactly and how it is related to pool.pm.

If you want to register this policy, just go to:

https://pool.pm/policy/a63fc6117551048623e1752a74d7ed14d677208c91fb3647ce9edcd4

Then copy/paste the script and click REGISTER.

Please reopen if something is still wrong.

qichalerm commented 2 years ago

@SmaugPool Please advise, how should I modify the code?

Emurgo/cardano-serialization-lib#298

Thank.

SmaugPool commented 2 years ago

You don't explain what's exactly your problem in this bug.

What have you tried? What did you expected? What is failing? With what error?

I don't understand your issue for now sorry.

qichalerm commented 2 years ago

@SmaugPool sorryๆ I'm learning to create nft. by using cardano serialization lib and nami wallet but the nft I created, register script policy with pool.pm was not approved. I don't know if it's caused by a signed key or not? please advise, how do I modify it ?

Thank you.

SmaugPool commented 2 years ago

You likely just don't submit the expected format, what is the policy id you try to register?

qichalerm commented 2 years ago

@SmaugPool

nft policy Id = be2a799629275107315f47ea71e924dad17a6645ea5072fda7740424

https://pool.pm/policy/be2a799629275107315f47ea71e924dad17a6645ea5072fda7740424

policy script = { "type": "all", "scripts":[ { "type": "before", "slot": 48454301 }, { "type": "sig", "keyHash": "51b3f3f61d7adfd82551656972e1fdddf90ac892d38b62e2eee7c9fa" } ] }

SmaugPool commented 2 years ago

You script does not match the policy id. The one matching the policy id be2a799629275107315f47ea71e924dad17a6645ea5072fda7740424 is:

{
  "scripts": [
    {
      "keyHash": "51b3f3f61d7adfd82551656972e1fdddf90ac892d38b62e2eee7c9fa",
      "type": "sig"
    },
    {
      "slot": 58811720,
      "type": "before"
    }
  ],
  "type": "all"
}

I copied/pasted it then clicked REGISTER and it was registered fine:

https://pool.pm/policy/be2a799629275107315f47ea71e924dad17a6645ea5072fda7740424