5.3 制定合约
优质
小牛编辑
143浏览
2023-12-01
制定合约
合同以Ethereum特有的二进制格式(Ethereum Virtual Machine(= EVM)字节码)生成在块上。然而,合同通常用更高级的语言写成,如solidity,然后编译成将被上传到blockchain上的字节码。
请注意还有其他高级语言的存在,如serpent和LLL。Legacy Mutan(早期的类C语言)不在被官方支持。
语言资源
Solidity
文档和教程
- Ethereum wiki tutorial
- Solidity FAQ - Ethereum forum
- The Solidity Programming Language · ethereum/wiki
- Ethereum ÐΞVcon-0: Solidity, Vision and Roadmap - YouTube Video
- Dapps for beginners
- Tutorial 1
- Tutorial 2
- Tutorial 3 (JavaScript API for Ethereum(Outdated)
- Solidity tutorial 1 by Eris Industries
- Dapp tutorials by Andreas Olofsson (Eris Industries)
- Eris Solidity resources
示例
- a dapp listing
- Solidity Contracts on Ethereum - Ether.Fund
- Ethereum dapp bin
- Solidity Standard Library
- Whisper chat Dapp written in meteor
- order statistic tree by Conrad Bars
编译器
Serpent
智能合约/Dapp开发环境和框架
- Mix standalone IDE by ETHDEV
- in-browser Cosmo that connects to
geth
via RPC. By Nick Dodson - embark framework by Iuri Mathias
- truffle by Tim Coulter