区块链技术(二):以太坊编程语言Solidity安装
文章摘要图:
如果你想测试一段简单的Solidity合约,你不需要安装任何东西,只要访问基于浏览器的Solidity就可以: https://chriseth.github.io/browser-solidity/
如果需要在本地执行Solidity,可以通过以下三种方式安装。
通过NPM / node.js命令在线安装
|
|
二进制安装包
包括Mix IDE的二进制Solidity安装包在Ethereum网站C++ bundle中下载: https://github.com/ethereum/webthree-umbrella/releases从源码构建
在MacOS X、Ubuntu和其它类Unix系统中编译安装Solidity非常相似。这个指南开始讲解如何在每个平台下安装相关的依赖软件,然后构建Solidity。MacOS X
系统需求:
- Homebrew
- Xcode
|
|
Ubuntu系统
Ubuntu系统下面是在最新版Ubuntu系统上编译安装Solidity的指南。最佳的支持平台是2014年11月发布的64位Ubuntu 14.04
安装依赖软件:在你从源码编译之前,你需要准备一些工具和依赖软件。 首先,升级你的代码库。Ubuntu主代码库不提供所有的包,你需要从Ethereum PPA和LLVM获取。 注意
Ubuntu 14.04的用户需要使用:
|
现在加入其它的包:
|
|
|
|
编译
如果你只准备安装solidity,忽略末尾Alethzero和Mix的错误。
|
|
提示:代码格式显示有问题的话,请访问原文:http://wangxiaoming.com/blog/2016/05/01/blockchain-tech-installing-solidity/ 代码格式如下:
本文链接:
https://www.8btc.com/article/90379
转载请注明文章出处
Cardano Expands Global Presence With New Integrations and Academic Partnership
Cardano expands globally with new staking, tokenization, and exchange integrations, plus a major res...
Monero Price Prediction: Will XMR Hit $1,172 by 2030 as Qubetics Presale Crosses $16.7M?
Monero eyes $1,172 by 2030 as privacy demand surges—meanwhile, Qubetics presale tops $16.7M, offerin...
The worlds First Fixed Fee Blockchain Appoints Former CFO of CitiGroup Finance
London, United Kingdom, 9th May 2025, Chainwire...