Comments (13)
@bvbfan it might need wrapping the JSON object in single quotes: defi-cli updatetoken "DGT" '{ "mintable":false }'
from ain.
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.
Try this one
defi-cli updatetoken "DGT" { "mintable":false }
from ain.
I tried several expressions, but always the same result:
from ain.
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
:
from ain.
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
The starting seems to be correct: defi-cli updatetoken 133
from ain.
Try this
defi-cli updatetoken '"DGT#133"' "{\"mintable\":false}"
There is some problem with the first parameter conversion, i will fix it.
from ain.
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
from ain.
This was the second attempt in the screenshot above.
The Token-description is not accepted
from ain.
defi-cli updatetoken '"DGT#133"' "[{\"mintable\":false}]"
from ain.
from ain.
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.
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)
- getLogs broken in 4.0.7 "Bincode error" HOT 5
- Ocean: Transaction indexing HOT 2
- History for Vault Withdraw not correct on tiny amounts HOT 1
- eth_estimateGas fails on empty address HOT 12
- node crashes and corrupts DB on heavy usage HOT 17
- getaccount regression
- Tracer tracker HOT 1
- Zertificate of the webpage https://api.defichain.io/v1/stats is no more valid HOT 2
- "refreshing UTXOs" never finishes in ver. 4.0.9 HOT 1
- Mixed vaults may not convert their vault to DUSD-only collateral with active loans. HOT 1
- Defichain desktop wallet for windows only gets to splash screen, then stops HOT 1
- EVM token split: intrinsic.migrateToken does not create tokentransfers HOT 2
- Non-upgradeable proxy contract HOT 1
- EVM: Deploy smart contract with salt and bytecode not possible! HOT 3
- 4.0.9 crashes after "[ain_evm::services] Starting tokio waiter" on x86_64-apple-darwin HOT 8
- EVM: token transfers on stock split (upgradeToken) misses inflow HOT 1
- 4.1.0 defid.exe crashes on Windows HOT 7
- Testnet Seeds in Code out of date HOT 1
- 4.1.0 fails by using non existing default path HOT 1
- block.timestamp is not strictly ascending HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ain.