neo-express
neo-express copied to clipboard
Documentation still has errors and needs improvement
Documentation still has errors and needs improvement
- [x]
contract download: Need to add - [x] There are 10+ methods that need to be added to "Usage", e.g. neoxp show balance
- [x]
neoxp contract run: <Arguments> is options not required - [x]
neoxp export: Additional clarification of the location and filename of the exported file is required - [x]
neoxp wallet delete: You must specify force to delete a privatenet wallet. - [x]
neoxp show: It should be split into multiple commands, e.g. neoxp show balance, neoxp show block... - [x]
neoxp transfer: Cannot send all gas, need to explain why in the documentation - [x] Some link is 404 like invocation file
- [x] The introduction of the
invocation fileneeds to be supplemented with a description of@#file://. - [x] New "Installation guide" after https://github.com/neo-project/neo-express/issues/362
- [x]
transfernftshow nftNeed to add after https://github.com/neo-project/neo-express/pull/391 - [x]
candidatecommands need to add after https://github.com/neo-project/neo-express/pull/402 - [x]
executecommand need to add after https://github.com/neo-project/neo-express/pull/392 - [x]
contract validatecommand need to add https://github.com/neo-project/neo-express/pull/317 - [x]
neoxp batchNeeds to be supplemented, such astransfernft, refer - [x] We also need a new README.md https://github.com/neo-project/neo-express/issues/310
Hi @chenzhitong , Before we update the documentation, let's try to think if the features make sense themselves. We had a similar issue in the past. In fact, we already started rewriting all the Neo Express docs. The problem is that we need to change the behavior of the tool. Documenting it as it is may lead to confusion in the future.
Example: https://linkd.academy/en-us/library/neo-blockchain-tools/neo-express/intalling-neo-express/
It was only when we started testing it that we realized something very important: We shouldn't distribute it using 'dotnet tools'. I wish to avoid having the same issue here. Let's try to map this stuff but leave this for later, once the app is 'fine tuned'
Dear all, how are you running the neoxp contract invoke command, as the documentation does not provide a valid invocation file at all. View source? That way new developers can't use it at all.
I found that parameters starting with @ are converted to wallet name and parameters starting with # are converted to UInt160, so if the parameter type is a string and starts with # or @, won't it do an incorrect conversion.
{
"contract": "0x0fe292acdc820abc4bd106abf03a0fab058d7bf ",
"operation": "sendMessage",
"args": [ "@Alice How are you!" ]
}
See https://github.com/neo-project/neo-express/issues/285#issuecomment-1793502790
I found that parameters starting with
@are converted towallet nameand parameters starting with#are converted toUInt160, so if the parameter type is a string and starts with#or@, won't it do an incorrect conversion.{ "contract": "0x0fe292acdc820abc4bd106abf03a0fab058d7bf ", "operation": "sendMessage", "args": [ "@Alice How are you!" ] }
Test passed, no problems here. If it cannot be converted, it will be treated as a string.
You can also use file:// as an argument for contract, that get converted to base64 string.
Any update to chis checklist?
Any update to chis checklist?
I've just updated some of them.
Resolved