
以太坊
文章平均质量分 69
koastal
这个作者很懒,什么都没留下…
展开
-
Solidity的CURD
相关工具Solidity:https://github.com/ethereum/solidity Web3.js:https://github.com/ethereum/web3.js Geth:https://github.com/ethereum/go-ethereum Mist:https://github.com/ethereum/mist Remix:https://remix.原创 2017-12-10 15:35:08 · 1893 阅读 · 0 评论 -
基于js-ipfs-api实现ipfs的文件上传与下载
配置本地的ipfs节点ipfs官网:https://ipfs.io/ 下载地址:https://dist.ipfs.io/#go-ipfs# 初始化ipfs节点ipfs init# 运行ipfs节点ipfs daemon更多配置可参考: https://ipfs.io/docs/getting-started/ https://hacpai.com/article/15110150973原创 2017-12-11 13:52:19 · 14248 阅读 · 6 评论 -
加密上传ipfs
在基于js-ipfs-api实现ipfs的文件上传与下载中已经实现了内容和文件上传ipfs,然后下载到本地。ipfs具有分布式存储和不可篡改性等优点,但隐私性较差,一旦上传到ipfs之后,用户就可以从任一ipfs节点的网关获取数据原创 2017-12-13 12:25:55 · 4642 阅读 · 2 评论 -
采用web3.js将数据写入到区块链中
let Web3 = require("web3");let fs = require("fs");let web3 = new Web3();web3.setProvider(new Web3.providers.HttpProvider("http://192.168.1.10:8545"));let log = { time:(new Date).getTime(), t原创 2017-12-13 17:22:13 · 7239 阅读 · 2 评论 -
Geth搭建以太坊私链环境
实验机器Ubuntu 16.04.3 LTS 1G内存 虚拟机环境搭建环境安装Geth https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Ubuntusudo apt-get install software-properties-commonsudo add-apt-repository -原创 2017-12-07 20:56:51 · 11941 阅读 · 1 评论 -
搭建以太坊私有链多节点环境
搭建节点00参照:http://blog.youkuaiyun.com/koastal/article/details/78737543搭建节点01实验环境中,00节点和01节点运行在同一台服务器,如果节点在不同的服务器,需要使用同样的gensis.json初始化区块,不同服务器的端口并不影响,都可以使用默认的8545和30303端口。初始化创世区块geth --datadir /home/blockChain原创 2017-12-08 10:51:32 · 11110 阅读 · 2 评论