DevOps Flow
SmartContract Development
Vision smart contract support Solidity language in (Ethereum). Currently recommend Solidity language version is 0.5.12. Write a smart contract, then build the smart contract and deploy it to Vision Network.
- Vision suggest using Vision-IDE to write contract, also support other developtools for solidity.(eg. Remix, Nodepad++, Vscode, IntergIDEA, Sublimetxt)
- compile your source files after finish writing. ensure thar there is no error show after compiled. and try your best to clear warning. Check the abi/bytecode/opcode
useage contract
- HTTP API, query a const TriggerConstantContract ; trigger a transcations TriggerSmartContract
- VisionWeb, query aconst triggerConstantContract ; trigger a transcations triggerSmartContract
get result
result data is show on hex. you would better to know what will be returned. You need change txt form hex to string; change number hex to number
Updated about 3 years ago