How to install solc on windows and then build smart contract ?
I use following command :
npm install -g solc
Is it enough to use it ?
Finally, I want to deploy my smart contract
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
Yup, as long as you installed solc, you can use it to compile solidity code into bytecode, the command to use is something like
solc <contract>.sol --bin --abi --optimize -o <output-dir>/ However it cannot deploy it to the Ethereum network as it's just a compiler.
For simple smart contract testing and deployment, you cna simply use the Mist/Ethereum Wallet. You can download the latest version here https://github.com/ethereum/mist/releases Start the wallet application, go to Contracts tab, select Deploy New Contract, and you can simply paste solidity source code into it and the wallet will compile it and you can select contract to deploy. You can also paste the compiled bytecode into the right place of the wallet UI and deploy it to the Ethereum network.
For more complex and serious smart contract development and deployment, I suggest you use an IDE like Remix IDE https://remix.ethereum.org/ and a more professional development and deployment framework like Truffle http://truffleframework.com/