Giter Club home page Giter Club logo

Comments (13)

monstrobishi avatar monstrobishi commented on July 29, 2024 1

@bvbfan it might need wrapping the JSON object in single quotes: defi-cli updatetoken "DGT" '{ "mintable":false }'

from ain.

monstrobishi avatar monstrobishi commented on July 29, 2024 1

I think you are very close with the first attempt, try again but move the single quote next to the double quote like so:

defi-cli updatetoken '"DGT#133"' "{\"mintable\":false}"

from ain.

bvbfan avatar bvbfan commented on July 29, 2024

Try this one
defi-cli updatetoken "DGT" { "mintable":false }

from ain.

DanielZirkel avatar DanielZirkel commented on July 29, 2024

I tried several expressions, but always the same result:
image

from ain.

monstrobishi avatar monstrobishi commented on July 29, 2024

Try this

defi-cli updatetoken ' "DGT#133" ' '{ "mintable":false }'

Note because your token is a custom token not a pegged asset, you need to add your token id 133, you can find this by running listtokens:

Screenshot 2020-11-06 at 8 39 21 PM

from ain.

DanielZirkel avatar DanielZirkel commented on July 29, 2024

Thanks monstrobishi, I am one step further.
With just using the ID the error is longer regarding the Token, now the problem is interpreting the second argument
image

The starting seems to be correct: defi-cli updatetoken 133

from ain.

ShengguangXiao avatar ShengguangXiao commented on July 29, 2024

Try this

defi-cli updatetoken '"DGT#133"' "{\"mintable\":false}"

There is some problem with the first parameter conversion, i will fix it.

from ain.

DanielZirkel avatar DanielZirkel commented on July 29, 2024

Sorry, but I still can not execute the updatetoken command. I tried several things again, always an error and I am not familiar with the json-argument at the end
image

from ain.

DanielZirkel avatar DanielZirkel commented on July 29, 2024

This was the second attempt in the screenshot above.
The Token-description is not accepted

from ain.

bvbfan avatar bvbfan commented on July 29, 2024

defi-cli updatetoken '"DGT#133"' "[{\"mintable\":false}]"

from ain.

DanielZirkel avatar DanielZirkel commented on July 29, 2024

Sorry, Token is not correct
image

from ain.

monstrobishi avatar monstrobishi commented on July 29, 2024

That's quite surprising,

defi-cli updatetoken ' "DGT#133" ' '{"mintable":false}' should really work. It must be a Windows related issue, as most of us devs are on Linux/Mac. Please give us some time to investigate this issue on Windows

from ain.

stale avatar stale commented on July 29, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from ain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.