- 博客(15)
- 资源 (5)
- 收藏
- 关注
转载 Create and deploy a Smart Contract (6/6)
This tutorial is part of a series of articles introduced here.In part 5, we finalized the configuration of the private blockchain. We sent ethers between our nodes and verified that the database is ...
2018-11-29 14:39:05 703
转载 Synchronize the Raspberry PI with the Private Blockchain (5/6)
This tutorial is part of a series of articles introduced here.In part 4, we paired the miners and ensured that the private blockchain is properly synchronised.NB: It is important that what we mean...
2018-11-29 14:36:00 755
转载 Pair the miners (4/6)
This tutorial is part of a series of articles introduced here.In part 3, we configured the miners of our private blockchain.NB: It is important that what we mean by “private Ethereum blockchain” i...
2018-11-29 14:29:17 263
转载 Set up the private chain – miners (3/6)
This tutorial is part of a series of articles introduced here.Part 2 described how to install Ethereum on your computer.Our development environment requires the setup of a private Ethereum chain....
2018-11-29 14:08:51 1232
转载 以太坊最靠谱搭建私有链方法(翻译setup-the-private-chain-miners)
原文:https://chainskills.com/2017/03/10/part-3-setup-the-private-chain-miners/第1步 - 创建datadir文件夹 运行专用区块链时,强烈建议使用特定文件夹来存储专用区块链的数据(数据库和钱包),而不会影响用于存储来自公共区块链的数据的文件夹。在您的计算机上,创建将托管您的第一个矿工的文件夹:命令:mkd...
2018-11-19 20:57:08 380
转载 运行geth attach报错:Unable to attach to remote geth: no known transport for URL scheme "c"
在window10上运行get attach命令启动交互式JavaScript环境连接到节点的时候,报错Unable to attach to remote geth: no known transport for URL scheme "c"。但是在windows7或者geth1.8以前的版本中都不会出现这个报错。解决方案:运行geth attach ipc:\\.\pipe\geth.i...
2018-11-19 20:49:50 1089
转载 以太坊解决miner.start() 返回null
下面我列举了三种解决方案,前面两张是某两位大佬试出来的,第三种是我蒙出来的。 第一种解决方案转载自 http://mp.weixin.qq.com/s/AB9vj1EzOgWT7JyryfQhDg 问题场景最近技术群中的朋友经常问到这样的问题,环境搭建已经搭建好,geth节点也成功启动,可为什么当执行miner.start()方法时却没有挖矿,返回null。其实,不仅仅这些朋...
2018-11-16 15:55:16 2260
转载 以太坊Geth命令详细
以太坊启动私有链还有一种参数较为复杂的启动方式,这种的作用是启动rpc通信,后续会讲解rpc的使用场景。geth --identity "secbro etherum" --rpc --rpccorsdomain "*" --datadir "./blockData" --port "30303" --rpcapi "db,eth,net,web3" --networkid 95518 co...
2018-11-16 14:54:42 900
转载 搭建以太坊联盟链教程windows平台
1、下载Geth.exe 运行文件,并安装https://github.com/ethereum/go-ethereum/releases/访问不了可以访问国内镜像地址下载下载geth-windows-amd64-1.8.2后安装2、cmd进入安装目录运行:geth -help看看是否可用geth命令3、在Geth安装目录下放置初始化创世块文件genesis.json{ "non...
2018-11-15 14:17:42 1997 1
转载 idea 对web3没有智能提示
开发工具要对源码产生提示,现在比较流行的是使用 *.d.ts 文件 来编写提示消息以下的解决办法不是根本之道,估计是开发工具有什么地方可以设置 自动下载 *.d.ts 文件,知道的读者还请留言赐教~使用 web3 来部署以太坊合约时,如果发现idea没有提示,可能是因为下载 web3 时没有把 index.d.ts 文件一起下载下来 解决方案:通过npm指定安装 ts 文件npm ...
2018-11-13 20:49:17 735
转载 JAVA设计模式之观察者模式
转自:https://www.cnblogs.com/luohanguo/p/7825656.html1、初步认识观察者模式的定义: 在对象之间定义了一对多的依赖,这样一来,当一个对象改变状态,依赖它的对象会收到通知并自动更新。大白话: 其实就是发布订阅模式,发布者发布信息,订阅者获取信息,订阅了就能收到信息,没订阅就收不到信息。2、这个模式的结构图3、可以看到...
2018-11-12 10:32:34 128
转载 java以太坊开发使用web3j和spring boot构建区块链应用
区块链最近IT世界的流行语之一。这项有关数字加密货币的技术,并与比特币一起构成了这个热门的流行趋势。它是去中心化的,不可变的分块数据结构,这是可以安全连接和使用的密码算法。在这种结构中的每一区块通常包含前一个区块的加密哈希,一个时间戳,和交易数据。区块链是点对点管理网络的,并在加入每一个新的块之前进行节点间通信的验证。这是关于区块链的部分理论。简而言之,这是一种技术,它允许我们使用一个去中心化的方...
2018-11-08 20:30:41 1049
原创 使用mocha测试报错Cannot find module './build/Release/scrypt'
我在学习mocha测试框架和ganache-cli测试环境时,遇到一个小问题在测试代码中安装视频写如下规则const assert = require('assert');const ganache = require('ganache-cli');//如果变量以大写字母开头,则它就是一个构造函数const Web3 = require('web3');//把ganache测试网...
2018-11-03 21:10:57 1754
原创 npm install web3
npm install web3 bug特别多刚开始,看教程说如果遇到问题则npm install -global --production windows-build-tools可是我在运行过程中卡在visual studio tools的过程中,结果手贱点击了一下下载好的vs_BuildTools.exe,然后就报错了然后就上网搜如何安装web3,主要根据下述博客https...
2018-11-03 15:37:46 4718
转载 nodeJS设置淘宝镜像
node.js安装下载node.js安装包:https://nodejs.org/en/download/,下载相应版本的node.js.需注意,在window中,node的安装目录中,最好不要有空格或中文字符。nodeJS的资源仓库在国内使用过程中,偶尔会遇到各种资源问题,通常设置为淘宝的镜像,网上很多说法是安装淘宝镜像,即 $ npm install -g cnpm --registr...
2018-11-02 19:11:04 17116 1
android support library
2017-12-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人