基于区块链的毕业设计Ethereum Explorer – 以太坊资源管理器

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Ethereum Explorer – 以太坊资源管理器 是一篇很好的国外资料

Ethereum Explorer - <a href=以太坊eth资源管理器”>

Ethereum Explorer

The application allows users to search an Ethereum block for all the transactions associated with a block or an address and return the results of the transaction.

Try out the app deployed in Heroku at https://stackpond-ethereum-explorer.herokuapp.com/

Development

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Usage

The following screen shows the dashboard. Ethereum Explorer - <a href=以太坊eth资源管理器”>

The following screen shows the transactions for a given block number.

Ethereum Explorer - <a href=以太坊eth资源管理器”>

Important notes

For local testing of the app, run the local version of API (refer Ethereum API at https://github.com/stackpond/ethereum-api for setup details).

The transaction results are paged for better user experience.

The app uses back end api (refer my another project Ethereum API at https://github.com/stackpond/ethereum-api which in turn uses Infura API (refer https://infura.io/docs/ethereum)

Infura API has rate limit imposed (refer https://infura.io/pricing) which may also slow down the processing.

The search by address is especially slow because Infura API does not provide any API for this use. Hence every transactions of every block needs to be processed and it can take a very long time before the results are fetched. I have few ideas to speed this up by creating an indexer service separate from core API which can then be consumed for faster processing. This is TBD.

Merge branch ‘main’ of github.com:stackpond/ethereum-explorer into main


Ethereum Explorer - <a href=以太坊eth资源管理器”>

以太坊eth资源管理器

应用程序允许用户在以太坊eth块中搜索与块或地址关联的所有事务,并返回事务结果。

在Heroku中试用部署的应用程序https://stackpond-ethereum-explorer.herokuapp.com/

开发

开发服务器

为开发人员服务器运行ng serve。导航到http://localhost:4200/. 如果您更改任何源文件,应用程序将自动重新加载。

构建

运行ng build以生成项目。构建工件将存储在dist/目录中。对生产构建使用–prod标志。

运行单元测试

运行ng test,通过Karma执行单元测试。

运行端到端测试

运行ng e2e通过量角器执行端到端测试。

代码支架

运行ng generate component component name以生成新组件。您还可以使用ng generate directive | pipe | service | class | guard | interface | enum | module。

使用

以下屏幕显示仪表板。Ethereum Explorer - <a href=以太坊eth资源管理器”>

以下屏幕显示给定块号的事务。

Ethereum Explorer - <a href=以太坊eth资源管理器”>

重要注意事项

要对应用程序进行本地测试,请运行本地版本的API(请参阅https://github.com/stackpond/ethereum-api设置详细信息)。

为获得更好的用户体验,将对事务结果进行分页。

该应用程序使用后端api(请参阅我在https://github.com/stackpond/ethereum-api进而使用Infura API(参见https://infura.io/docs/ethereum)

Infura API规定了费率限制(请参阅https://infura.io/pricing)这也会减慢处理速度。

按地址搜索特别慢,因为Infura API不提供任何用于此用途的API。因此,每个块的每个事务都需要处理,并且在获取结果之前可能需要很长时间。我几乎没有办法通过创建一个独立于核心API的索引器服务来加速这一进程,然后使用它来加快处理速度。这是待定。

Merge branch ‘main’ of github.com:stackpond/ethereum-explorer into main

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/19858.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计Ethereum Explorer – 以太坊资源管理器

提供最优质的资源集合

立即查看 了解详情