RGB-WG / rgb

RGB smart contracts: command-line tool & wallet runtime library for desktop and mobile integration
https://rgb.tech
Apache License 2.0
129 stars 34 forks source link

rgb issue error #33

Closed pupudaye closed 9 months ago

pupudaye commented 10 months ago

rgb issue 4h3xkAmiRdQs2HwQmnFVqoj5DG3NhGkJRpNZXjNrJT2N RGB20 examples/rgb20-demo.yaml
Error: schema urn:lnp-bp:sc:4h3xkA-miRdQs2H-wQmnFVqo-j5DG3NhG-kJRpNZXj-NrJT2N#vision-scuba-sample is unknown. It may happen due to RGB standard library bug, or indicate internal stash inconsistency and compromised stash data storage.

version: rgb-contracts 0.10.1 chain: default

dandao2022 commented 9 months ago

the same problem

dr-orlovsky commented 9 months ago

Have you imported the schema first?

machine-creek commented 9 months ago

I had the same problem.

MacBook-Pro rgb % rgb issue 4h3xkAmiRdQs2HwQmnFVqoj5DG3NhGkJRpNZXjNrJT2N RGB20 examples/rgb20-demo.yaml Stock file not found, creating default stock Wallet file not found, creating new wallet list Error: schema urn:lnp-bp:sc:4h3xkA-miRdQs2H-wQmnFVqo-j5DG3NhG-kJRpNZXj-NrJT2N#vision-scuba-sample is unknown. It may happen due to RGB standard library bug, or indicate internal stash inconsistency and compromised stash data storage.

First import

dr-orlovsky commented 9 months ago

Can me re-iterate: did you perform command rgb import NonInflatibleAsset.rgb and rgb import NonInflatibleAsset-RGB20.rgb?

To check, just put here output of command rgb schemata

pupudaye commented 9 months ago

I have solved the problem, thank you

machine-creek commented 9 months ago

I have solved the problem, thank you

Hello, how did you solve it?

machine-creek commented 9 months ago

Can me re-iterate: did you perform command rgb import NonInflatibleAsset.rgb and rgb import NonInflatibleAsset-RGB20.rgb?

To check, just put here output of command rgb schemata

rgb import rgb20-demo.rgb This can be successful.

rgb issue 4h3xkAmiRdQs2HwQmnFVqoj5DG3NhGkJRpNZXjNrJT2N RGB20 examples/rgb20-demo.yaml I still failed to use this command.

I need to issue a new contract and recompile it instead of importing the already compiled contract.