以太坊区块链浏览器(一)拿来就用主义

资讯 2024-06-19 阅读:133 评论:0
以太坊区块链浏览器ethereum explorer开源部署过程,以及问题解决。Ethereum explorer open source deployment xff0c; and...
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

以太坊区块链浏览器ethereum explorer开源部署过程,以及问题解决。

Ethereum explorer open source deployment xff0c; and problem resolution .

更多区块链技术与应用分类:

More block chain technology and application classification #xff1a;

区块链应用? ? 区块链开发

?

以太坊 | Fabric | BCOS | 密码技术 | 共识算法 | 比特币 |?其他链

relckchain-develin >"blackof" http://www.info/gla/bla/blafn/dn/n/gn/bla_wwwwww.int/bla/bla/n/bla_wwwwww.int/bla/n/bla_wwwwww.int/bla_wwwwww.int/bla

通证经济 |? 传统金融场景 | 去中心化金融 | 防伪溯源 | 数据共享 | 可信存证

? http://a.comghaoyi.com/blockchay="https://www.wanghaoyi.com/blackchain-apptality/"rel/rel= "nollow" financialization"

?

以太坊区块链浏览器(一)拿来就用主义

1.开源ethereum - explorer下载

 

?

以太坊区块链浏览器(一)拿来就用主义

2.编辑工程

修改app.js中:GETH_HOSTNAME———>本地IP地址

Modify & #xff1a in app.js; GETH_HOSTNAME—& > local IP address

?

以太坊区块链浏览器(一)拿来就用主义

3.启动geth

 

?

以太坊区块链浏览器(一)拿来就用主义

4.启动explorer

(1)进入工程项目文件

(1) Access to Project Project Documents

(2)npm install

(3)npm start

?

以太坊区块链浏览器(一)拿来就用主义

(4)在浏览器输入:“http://localhost:8000/”,进入浏览器。(必须开启geth)

(4) Enter xff1a on the browser; "http://localhost:8,000/ & #xff0c; enter the browser.

?

以太坊区块链浏览器(一)拿来就用主义

1.http_outgoing JS的错误

错误描述

Error Description

The header content contains invalid characters

?

以太坊区块链浏览器(一)拿来就用主义

错误原因

Reason for error

低版本的http-server一个bug

Low version http-server a bug

解决方法1

Option 1

将package.json里的"http-server": "^0.6.1",改为"http-server": "^0.9.0",

For & #34 in package.json; http-server" & #34; #0.6.1" & #34; http-server" & #34; & 0.9.0"

在命令行输入: npm start(或npm update http-server后再npm start)

Enter at command line: npm start (or npm update http-server)

问题解决。

Problem solved.

解决方法2

Option 2

若还是不行,解决方案

#xff0c; Solution #xff0c;

输入 ”npm install karma --save“

Enter "npm install karma --save"

“npm install http-server -D”

2.浏览器不能正常显示

错误描述

Error Description

 

错误原因

Reason for error

url无效(需要翻墙)

url invalid (requires to flip the wall)

解决方法

Solutions

修改index.html--><lib>标签下

Modify index.html --><lib> under tab

https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js

Will be

替换为 https://cdn.bootcss.com/angular.js/1.4.5/angular.min.js

Replaced with

https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js

Will be

替换为https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js

Replaced with

若是要跨域请求,如访问公网,修改json

If you want to cross domain requests & #xff0c; e.g. access to the public network & #xff0c; modify json

?

以太坊区块链浏览器(一)拿来就用主义

当需跨域访问时,geth启动:

xff0c when cross-domain access is required; xff1a; xff1a;

 

提示:

Hint & #xff1a;

两个访问域名,对应localhost端口也要加上:

Two access domain names xff0c; add xff1a to the corresponding localhost port;

 

注意

Attention.

  1. 服务器部署时需用到 https://blog.csdn.net/hexiaodouaipiqiu/article/details/51733176
  2. npm install 在centos部署的时候要换成 npm install --unsafe-perm

原文链接:以太坊区块链浏览器(一)拿来就用主义?

The original link xff1a; ?

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • usdt钱包开发,比特币协议 Omni 层协议 USDT

    usdt钱包开发,比特币协议 Omni 层协议 USDT
    usdt钱包开发Usdt Wallet Development 比特币协议 -> Omni 层协议 -> USDTBitcoin -> Omni Layer -> USDT USDT是基于比特币omni协议的一种代币: https://omniexplorer.info/asset/31 ID是31USDT is a token based on the Bitcomni agreement:   ˂a href="ht...
  • ?基于区块链的数字货币,下一代货币等价物

    ?基于区块链的数字货币,下一代货币等价物
    文 | 诗与星空Psalms and stars. 10月25日晚间,一则关于区块链的消息引爆了市场,虽然A股已经关门歇业,但是大洋彼岸的美股却喧嚣起来,号称使用了区块链技术的迅雷股价暴涨107%。On the evening of 25 October, a news about the block chain detonated the market. Although the A share was closed, the United States shares...
  • LikeCoin 2022 年度回顧

    LikeCoin 2022 年度回顧
    2022 即將過去,今年是風高浪急的一年,LikeCoin 社群繼續於驚濤中為實踐分散式出版而前進,感謝各位的同行。讓我們趁機回顧一下今年發生過的大小事。 2022 Towards the end of the year, this year is a year of great turmoil, and the community of ˂a href=https://like.co/"target="_blank" data-type="link" data-i...
  • 一个“币”卖出6930多万美元,它是何来头

    一个“币”卖出6930多万美元,它是何来头
    这是一个新的投机性市场,有许多未知的风险——包括100%损失的风险於兴中当我们看到有人花了近百万美元在网络上的虚拟空间里买了一块地,可能会觉得不可思议。但是,比这更不可思议的是,在上个月的佳士得拍卖会上,一个不可替换代币(NFT)卖出了令人瞠目结舌的6930多万美元。这个代币所代表的便是目前人们热议的数字艺术家毕朋(Beeple)的作品《日复一日:最初的5000天(2021)》。不仅如此,不可替换代币市场正在被大张旗鼓地建构。篮球视频集锦的不可替换代币在美国职业...
  • 以太坊质押挖矿收益率

    以太坊质押挖矿收益率
    展开全部 52%左右。根据跟踪公司StakingRewards的数据,质押的以太坊将产生回报,预计在合并后将达到52%左右。再加上预计在升级更新后不久以太坊供应量的净减少,这应该会使该币对投资者更具吸引力。According to the tracking company StakingRewards, the pledge will yield returns that are expected to reach about 52% after the merg...
标签列表