# DevOps Flow

## Smart Contract 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](https://www.visionide.org/) 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

## Usage contract

* HTTP API, query a const [TriggerConstantContract](https://developers.v.network/reference/triggerconstantcontract) ; trigger a transcations [TriggerSmartContract](https://developers.v.network/reference/triggersmartcontract)
* VisionWeb, query aconst [triggerConstantContract](https://developers.v.network/reference/triggerconstantcontract-1) ; trigger a transcations [triggerSmartContract](https://developers.v.network/reference/triggersmartcontract-1)

## 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**

* number hex to number [toDecimal](https://developers.v.network/reference/todecimal)
* string hex to string [toUtf8](https://developers.v.network/reference/toutf8)
