狼愛上貍

          我胡漢三又回來了

          #

          solc編譯問題

          1.安裝solc
          npm install -g solc
          用IDEA編譯sol時出現錯誤
          solcjs.cmd --abi --bin CloudNoteService.sol -o C:\Users\Administrator\IdeaProjects\test
          CloudNoteService.sol:1:1: ParserError: Source file requires different compiler version (current compiler is 0.5.10+commit.5a6ea5b1.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
          pragma solidity ^0.4.22;
          2.solcjs.cmd  --version//查看solc版本
          0.5.10+commit.5a6ea5b1.Emscripten.clang
          3.npm uninstall solc//卸載
          4.npm install -g solc@0.4.24//安裝solc0.4.24版本
          5.C:\nodejs\node_modules\npm>solcjs.cmd --version//查看solc版本
          0.4.24+commit.e67f0147.Emscripten.clang
          6.solc跟web3一樣,有版本的區別。

          posted @ 2019-07-08 16:11 狼愛上貍 閱讀(1927) | 評論 (0)編輯 收藏

          solidity官方開發文檔

          https://solidity-cn.readthedocs.io/zh/develop/

          posted @ 2019-07-08 15:18 狼愛上貍 閱讀(140) | 評論 (0)編輯 收藏

          以太坊智能合約 —— 最佳安全開發指南

          https://www.cnblogs.com/wanghui-garcia/p/9580573.html

          posted @ 2019-07-07 15:57 狼愛上貍 閱讀(113) | 評論 (0)編輯 收藏

          Ropsten申請測試幣

          http://faucet.ropsten.be:3001/上申請,只需要輸入你在Ropsten網絡上的賬戶地址就行,轉幣操作非常迅速,目前一次可申請1ETH,24小時后可再次申請;

          posted @ 2019-07-05 21:59 狼愛上貍 閱讀(865) | 評論 (0)編輯 收藏

          web3.eth.abi

          1.web3的1.0以下版本不支持web3.eth.abi
          2.var ethabi = require('web3-eth-abi');這種引用也有問題。
          3.升級web3到1.0以上版本后測試通過:
          var Web3 = require('web3');
          var web3 = new Web3();

          console.log(web3.eth.abi.encodeFunctionSignature('myMethod(uint256,string)'))

          posted @ 2019-06-29 19:07 狼愛上貍 閱讀(375) | 評論 (0)編輯 收藏

          刪除無用的系統服務項

          方法: 在注冊表中刪除

          運行regedit, 找到
          HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services 中想要刪除的服務。

           

          重啟電腦可以看到你所選定的服務項在服務列表中不存在了

          posted @ 2019-06-29 11:41 狼愛上貍 閱讀(123) | 評論 (0)編輯 收藏

          infura的使用

          https://chaindesk.cn/witbook/1/12

          posted @ 2019-06-27 22:45 狼愛上貍 閱讀(248) | 評論 (0)編輯 收藏

          sol在線測試

          https://ethereum.github.io/browser-solidity/

          posted @ 2019-06-27 21:00 狼愛上貍 閱讀(207) | 評論 (0)編輯 收藏

          ipfs和eth結合的例子

          https://github.com/tooploox/ipfs-eth-database

          posted @ 2019-06-26 08:21 狼愛上貍 閱讀(146) | 評論 (0)編輯 收藏

          第十一課 從寵物商店案例看DAPP架構和WEB3.JS交互接口

          https://www.jianshu.com/p/47174718960b

          posted @ 2019-06-25 11:05 狼愛上貍 閱讀(146) | 評論 (0)編輯 收藏

          僅列出標題
          共38頁: First 上一頁 4 5 6 7 8 9 10 11 12 下一頁 Last 
          主站蜘蛛池模板: 库尔勒市| 峡江县| 融水| 财经| 彭阳县| 万盛区| 家居| 根河市| 荣昌县| 施甸县| 商水县| 奇台县| 察隅县| 五台县| 保康县| 广丰县| 乳山市| 胶州市| 鹤峰县| 南阳市| 三明市| 时尚| 临潭县| 会宁县| 红原县| 青阳县| 荃湾区| 皮山县| 汉川市| 图片| 漳平市| 曲麻莱县| 界首市| 罗平县| 红桥区| 灌云县| 浮梁县| 南岸区| 韶山市| 宁明县| 湟中县|