1. 程式人生 > >【以太坊】本地搭建Ethereum私有網路

【以太坊】本地搭建Ethereum私有網路

[email protected]:~$ sudo apt-get install software-properties-common 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 software-properties-common 已經是最新版 (0.96.24.13)。 升級了 0 個軟體包,新安裝了 0 個軟體包,要解除安裝 0 個軟體包,有 241 個軟體包未被升級。 [email protected]:~$ sudo add-apt-repository -y ppa:ethereum/ethereum gpg: keybox '/tmp/tmprb0i8esx/pubring.gpg'
created gpg: /tmp/tmprb0i8esx/trustdb.gpg:建立了信任度資料庫 gpg: 金鑰 1C52189C923F6CA9:公鑰“Launchpad PPA for Ethereum”已匯入 gpg: 合計被處理的數量:1 gpg: 已匯入:1 OK [email protected]:~$ sudo apt-get update 命中:1 http://cn.archive.ubuntu.com/ubuntu zesty InRelease 命中:2 http://cn.archive.ubuntu.com/ubuntu zesty-updates InRelease 命中:3
http://cn.archive.ubuntu.com/ubuntu zesty-backports InRelease 獲取:4 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty InRelease [15.4 kB] 獲取:5 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 Packages [3,068 B] 獲取:6 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB] 獲取:7
http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main i386 Packages [3,084 B] 獲取:8 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main Translation-en [888 B] 已下載 112 kB,耗時 3秒 (33.3 kB/s) 正在讀取軟體包列表... 完成 [email protected]:~$ sudo apt-get install ethereum 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 將會同時安裝下列軟體: abigen bootnode evm geth puppeth rlpdump swarm wnode 下列【新】軟體包將被安裝: abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode 升級了 0 個軟體包,新安裝了 9 個軟體包,要解除安裝 0 個軟體包,有 241 個軟體包未被升級。 需要下載 18.7 MB 的歸檔。 解壓縮後會消耗 69.8 MB 的額外空間。 您希望繼續執行嗎? [Y/n] y 獲取:1 http://cn.archive.ubuntu.com/ubuntu zesty/universe amd64 swarm amd64 2.1.12+dfsg-1 [73.4 kB] 獲取:5 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 geth amd64 1.6.7+build10273+zesty [4,820 kB] 錯誤:2 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 abigen amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 錯誤:3 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 bootnode amd64 1.6.7+build10273+zesty 不能連線到 101.96.8.165:http: 錯誤:4 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 evm amd64 1.6.7+build10273+zesty 不能連線到 101.96.8.165:http: 錯誤:7 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 rlpdump amd64 1.6.7+build10273+zesty 不能連線到 101.96.8.165:http: 獲取:8 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 wnode amd64 1.6.7+build10273+zesty [3,308 kB] 獲取:9 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 ethereum amd64 1.6.7+build10273+zesty [1,540 B] 錯誤:6 http://101.96.8.164/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 puppeth amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.164:80 (101.96.8.164),連線超時 已下載 8,203 kB,耗時 540秒 (24.1 kB/s) E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/abigen_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/bootnode_1.6.7+build10273+zesty_amd64.deb 不能連線到 101.96.8.165:http: E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/evm_1.6.7+build10273+zesty_amd64.deb 不能連線到 101.96.8.165:http: E: 無法下載 http://101.96.8.164/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/puppeth_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.164:80 (101.96.8.164),連線超時 E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/rlpdump_1.6.7+build10273+zesty_amd64.deb 不能連線到 101.96.8.165:http: E: 有幾個軟體包無法下載,要不執行 apt-get update 或者加上 --fix-missing 的選項再試試? [email protected]:~$ sudo apt-get install ethereum 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 將會同時安裝下列軟體: abigen bootnode evm geth puppeth rlpdump swarm wnode 下列【新】軟體包將被安裝: abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode 升級了 0 個軟體包,新安裝了 9 個軟體包,要解除安裝 0 個軟體包,有 241 個軟體包未被升級。 需要下載 10.5 MB/18.7 MB 的歸檔。 解壓縮後會消耗 69.8 MB 的額外空間。 您希望繼續執行嗎? [Y/n] Y 錯誤:1 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 abigen amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 錯誤:2 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 bootnode amd64 1.6.7+build10273+zesty 不能連線到 101.96.8.165:http: 錯誤:3 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 evm amd64 1.6.7+build10273+zesty 不能連線到 101.96.8.165:http: 錯誤:5 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 rlpdump amd64 1.6.7+build10273+zesty 不能連線到 101.96.8.165:http: 錯誤:4 http://101.96.8.164/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 puppeth amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.164:80 (101.96.8.164),連線超時 E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/abigen_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/bootnode_1.6.7+build10273+zesty_amd64.deb 不能連線到 101.96.8.165:http: E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/evm_1.6.7+build10273+zesty_amd64.deb 不能連線到 101.96.8.165:http: E: 無法下載 http://101.96.8.164/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/puppeth_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.164:80 (101.96.8.164),連線超時 E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/rlpdump_1.6.7+build10273+zesty_amd64.deb 不能連線到 101.96.8.165:http: E: 有幾個軟體包無法下載,要不執行 apt-get update 或者加上 --fix-missing 的選項再試試? [email protected]:~$ sudo apt-get install ethereum 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 將會同時安裝下列軟體: abigen bootnode evm geth puppeth rlpdump swarm wnode 下列【新】軟體包將被安裝: abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode 升級了 0 個軟體包,新安裝了 9 個軟體包,要解除安裝 0 個軟體包,有 241 個軟體包未被升級。 需要下載 10.5 MB/18.7 MB 的歸檔。 解壓縮後會消耗 69.8 MB 的額外空間。 您希望繼續執行嗎? [Y/n] y 獲取:2 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 bootnode amd64 1.6.7+build10273+zesty [3,062 kB] 獲取:3 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 evm amd64 1.6.7+build10273+zesty [2,993 kB] 錯誤:1 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 abigen amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 錯誤:5 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 rlpdump amd64 1.6.7+build10273+zesty 不能連線到 101.96.8.165:http: 錯誤:4 http://101.96.8.164/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 puppeth amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.164:80 (101.96.8.164),連線超時 已下載 6,054 kB,耗時 550秒 (17.3 kB/s) E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/abigen_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 E: 無法下載 http://101.96.8.164/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/puppeth_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.164:80 (101.96.8.164),連線超時 E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/rlpdump_1.6.7+build10273+zesty_amd64.deb 不能連線到 101.96.8.165:http: E: 有幾個軟體包無法下載,要不執行 apt-get update 或者加上 --fix-missing 的選項再試試? [email protected]:~$ sudo apt-get install ethereum 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 將會同時安裝下列軟體: abigen bootnode evm geth puppeth rlpdump swarm wnode 下列【新】軟體包將被安裝: abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode 升級了 0 個軟體包,新安裝了 9 個軟體包,要解除安裝 0 個軟體包,有 241 個軟體包未被升級。 需要下載 4,490 kB/18.7 MB 的歸檔。 解壓縮後會消耗 69.8 MB 的額外空間。 您希望繼續執行嗎? [Y/n] y 中止。 [email protected]:~$ sudo apt-get install ethereum 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 將會同時安裝下列軟體: abigen bootnode evm geth puppeth rlpdump swarm wnode 下列【新】軟體包將被安裝: abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode 升級了 0 個軟體包,新安裝了 9 個軟體包,要解除安裝 0 個軟體包,有 241 個軟體包未被升級。 需要下載 4,490 kB/18.7 MB 的歸檔。 解壓縮後會消耗 69.8 MB 的額外空間。 您希望繼續執行嗎? [Y/n] y 獲取:1 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 abigen amd64 1.6.7+build10273+zesty [1,507 kB] 錯誤:2 http://101.96.8.164/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 puppeth amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.164:80 (101.96.8.164),連線超時 錯誤:3 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 rlpdump amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 已下載 1,507 kB,耗時 324秒 (7,375 B/s) E: 無法下載 http://101.96.8.164/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/puppeth_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.164:80 (101.96.8.164),連線超時 E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/rlpdump_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 E: 有幾個軟體包無法下載,要不執行 apt-get update 或者加上 --fix-missing 的選項再試試? [email protected]:~$ sudo apt-get install ethereum 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 將會同時安裝下列軟體: abigen bootnode evm geth puppeth rlpdump swarm wnode 下列【新】軟體包將被安裝: abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode 升級了 0 個軟體包,新安裝了 9 個軟體包,要解除安裝 0 個軟體包,有 241 個軟體包未被升級。 需要下載 2,983 kB/18.7 MB 的歸檔。 解壓縮後會消耗 69.8 MB 的額外空間。 您希望繼續執行嗎? [Y/n] y 獲取:1 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 puppeth amd64 1.6.7+build10273+zesty [2,449 kB] 錯誤:2 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 rlpdump amd64 1.6.7+build10273+zesty 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 已下載 2,449 kB,耗時 349秒 (10.7 kB/s) E: 無法下載 http://101.96.8.165/ppa.launchpad.net/ethereum/ethereum/ubuntu/pool/main/e/ethereum/rlpdump_1.6.7+build10273+zesty_amd64.deb 無法連線上 101.96.8.165:80 (101.96.8.165),連線超時 E: 有幾個軟體包無法下載,要不執行 apt-get update 或者加上 --fix-missing 的選項再試試? [email protected]:~$ sudo apt-get install ethereum 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 將會同時安裝下列軟體: abigen bootnode evm geth puppeth rlpdump swarm wnode 下列【新】軟體包將被安裝: abigen bootnode ethereum evm geth puppeth rlpdump swarm wnode 升級了 0 個軟體包,新安裝了 9 個軟體包,要解除安裝 0 個軟體包,有 241 個軟體包未被升級。 需要下載 534 kB/18.7 MB 的歸檔。 解壓縮後會消耗 69.8 MB 的額外空間。 您希望繼續執行嗎? [Y/n] y 獲取:1 http://ppa.launchpad.net/ethereum/ethereum/ubuntu zesty/main amd64 rlpdump amd64 1.6.7+build10273+zesty [534 kB] 已下載 534 kB,耗時 32秒 (16.4 kB/s) 正在選中未選擇的軟體包 swarm。 (正在讀取資料庫 ... 系統當前共安裝有 173899 個檔案和目錄。) 正準備解包 .../0-swarm_2.1.12+dfsg-1_amd64.deb ... 正在解包 swarm (2.1.12+dfsg-1) ... 正在選中未選擇的軟體包 abigen。 正準備解包 .../1-abigen_1.6.7+build10273+zesty_amd64.deb ... 正在解包 abigen (1.6.7+build10273+zesty) ... 正在選中未選擇的軟體包 bootnode。 正準備解包 .../2-bootnode_1.6.7+build10273+zesty_amd64.deb ... 正在解包 bootnode (1.6.7+build10273+zesty) ... 正在選中未選擇的軟體包 evm。 正準備解包 .../3-evm_1.6.7+build10273+zesty_amd64.deb ... 正在解包 evm (1.6.7+build10273+zesty) ... 正在選中未選擇的軟體包 geth。 正準備解包 .../4-geth_1.6.7+build10273+zesty_amd64.deb ... 正在解包 geth (1.6.7+build10273+zesty) ... 正在選中未選擇的軟體包 puppeth。 正準備解包 .../5-puppeth_1.6.7+build10273+zesty_amd64.deb ... 正在解包 puppeth (1.6.7+build10273+zesty) ... 正在選中未選擇的軟體包 rlpdump。 正準備解包 .../6-rlpdump_1.6.7+build10273+zesty_amd64.deb ... 正在解包 rlpdump (1.6.7+build10273+zesty) ... 正在選中未選擇的軟體包 wnode。 正準備解包 .../7-wnode_1.6.7+build10273+zesty_amd64.deb ... 正在解包 wnode (1.6.7+build10273+zesty) ... 正在選中未選擇的軟體包 ethereum。 正準備解包 .../8-ethereum_1.6.7+build10273+zesty_amd64.deb ... 正在解包 ethereum (1.6.7+build10273+zesty) ... 正在設定 bootnode (1.6.7+build10273+zesty) ... 正在設定 puppeth (1.6.7+build10273+zesty) ... 正在設定 evm (1.6.7+build10273+zesty) ... 正在設定 abigen (1.6.7+build10273+zesty) ... 正在處理用於 man-db (2.7.6.1-2) 的觸發器 ... 正在設定 rlpdump (1.6.7+build10273+zesty) ... 正在設定 wnode (1.6.7+build10273+zesty) ... 正在設定 geth (1.6.7+build10273+zesty) ... 正在設定 swarm (2.1.12+dfsg-1) ... 正在設定 ethereum (1.6.7+build10273+zesty) ...

相關推薦

本地搭建Ethereum私有網路

[email protected]:~$ sudo apt-get install software-properties-common 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 software-properties-co

開發環境搭建 testrpc測試環境

[testrpc 以太坊 區塊鏈 開發環境] 一、安裝truffle+testrpc開發和測試環境。truffle是開發環境,testrpc是測試環境。 1、安裝環境時需要git     add-apt-repository ppa:git-core/ppa     a

Ethereum交易過程及ethereumjs-tx的應用

關於Ethereum交易是如何從生成並在網路中廣播的,如下總結七個步驟: 一、 構建原始交易物件 如下為原始交易物件欄位,並對各欄位進行展開說明 var rawTx = { nonce: '0x00', gasPrice: '0x09184e72a000',

Go學習之go-ethereum原始碼分析(一)

關於Go語言環境的安裝與配置,我在《入門篇》進行了詳細講解,有需要的朋友可以前往閱讀,本文進入當下比較火熱的區塊鏈專案 - 以太坊(go-ethereum)進行原始碼解讀。本文內容純屬個人見解,有錯誤理解或者不足之處還請見諒,歡迎一起交流學習。    - 環境準備    -

geth常用操作

修改錢包密碼 其中–datadir引數是你的geth目錄,這個目錄裡面包含geth和keystore目錄 $ geth account update "aad71aaaef7ce2ca356b9b80d0c385eecd8ed1ae" --datadir ".

私有鏈和測試網的區別

一、概述 我們想要學習一門新技術,那麼一般都是先網上查查相關概念,然後下載下來demo進行測試,本地跑通之後就可以嘗試在專案中使用。那麼學習以太坊該如何學習呢? 博主也是一位初學者,這裡和大家一起學習下。 二、以太坊測試網路 TestNet 以太坊的

深入理解智慧合約(合約調合約)

一、前言       關於智慧合約的描述,大家在網上百度能查到一大堆。看來看去也能看個似懂非懂,但是稍微具體點呢,智慧合約到底都能幹什麼,可以轉賬提現嗎?可以合約呼叫合約嗎?可以釋出多個合約嗎? 關於智慧合約的疑問真的很多,只能一邊開發一邊總結了。以下是我最

系列-009ethereum private chain上進行oraclize的呼叫操作

說明:      本人使用的是 ubuntu1804-server版本(不要使用live-server,存在缺少部分包。)      在私鏈中容易遇到問題,本人第一次成功是通過truffle+ethereumjs-testrpc。

系列-006ethereum solidity智慧合約在geth控制檯上的操作(mapping實踐)

   說明,本文基於已經部署好的etherum環境,在geth控制檯上操作以下命令。文中用到的命令,可以參考該系列的其他文件。 1、解鎖賬號 > personal.unlockAccount(eth.accounts[0], "lyh001", 300) # 3

系列-004從原始碼搭建etherum,solidity編譯環境

使用ubuntu1804(由ubuntu-18.04.1-server-amd64.iso安裝)環境 說明:  本文主要介紹基於ubuntu1804的環境,由原始碼構建etherum,以及solidity的編譯環境。 1, 安裝go mkdir -p /home/001_

系列-001基於私有鏈環境搭建-以及搭建過程的問題記錄

本文是基於virtalbox的ubuntu1804(ubuntu-18.04.1-server-amd64,不要使用live-server安裝)的虛擬機器環境,配置是1核2GB記憶體(建議記憶體越多越好)。 本文基於網上的文件,加上自己安裝部署過程遇到的問題,進行了整理。

開發發幣指南--進階篇

參考:https://www.ethereum.org/token pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value,

開發如何開發一個編譯智能合約並且發布的平臺(二)

vid new 有一個 tran slim ole https parse 交易 接上一章的內容,這篇介紹 deploy相關和結果演示。 deploy一個合約的過程中,需要計算發布的消耗和nonce值。 當進行每筆交易時,發送人設定Gas Limit 和Gas Pric

開發利用Oraclize開發一個投注合約(一):原理介紹

智慧合約的作用很多,但是很多資料還是要基於網際網路,那麼如何在合約中獲取網際網路中的資料?Oraclize就是為了這個目的而誕生的。 本篇介紹如何利用Oraclize開發一個投注智慧合約,開始coding之前,這一節講述一下理論。 工作原理: 智慧合約通過對Oraclize釋出一個合約之間的呼叫請求來獲

開發利用Oraclize開發一個投註合約(一):原理介紹

tween 協議 簡單方法 type callback 使用 抓取 獲取 num 智能合約的作用很多,但是很多數據還是要基於互聯網,那麽如何在合約中獲取互聯網中的數據?Oraclize就是為了這個目的而誕生的。 本篇介紹如何利用Oraclize開發一個投註智能合約,開始co

錢包開發 二MyEtherWallet 錢包介紹

以太坊常見錢包包括:Ethereum Wallet、MyEtherWallet、MetaMask、Parity。咱們的錢包開發專案主要圍繞MyEtherWallet錢包的相關功能進行開發,因此下面主要介紹MyEtherWallet的常用功能。 MyEtherWallet 是一個輕錢包,使用起來最簡單,無需下

系列-005使用solc編譯solidity智慧合約,並生產web3deploy格式的程式碼

說明 本文主要介紹,只通過solc來進行智慧合約的部署,更簡單的方式是通過remix直接生成。 該場景是用於使用者自己修改了solc編譯器,remix無法使用的情況。 1、 程式碼結構 # cat counter.sol pragma solidity ^0.4.20

系列-008oraclize介紹

Introduction Oracle service builds the bridge between blockchain and the real world, and we are going to introduce an oracle service called Ora

系列-007solidity一些函式修飾說明

solidity一些函式修飾說明 一、函式可見性分析 public - 任意訪問 private - 僅當前合約內 internal - 僅當前合約及所繼承的合約 external - 僅外部訪問(在內部也只能用外部訪問方式訪問) 二、函式的限制訪問 在Solidity中cons

系列-003智慧合約 —— 最佳安全開發指南

1基本理念 以太坊和其他複雜的區塊鏈專案都處於早期階段並且有很強的實驗性質。因此,隨著新的bug和安全漏洞被發現,新的功能不斷被開發出來,其面臨的安全威脅也是不斷變化的。這篇文章對於開發人員編寫安全的智慧合約來說只是個開始。 開發智慧合約需要一個全新的工程思維,它不同於我們以往專案的開發。因