基于区块链的毕业设计Wormhole – 虫洞

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Wormhole – 虫洞 是一篇很好的国外资料

Wormhole

⚠️ WORK IN PROGRESS — CURRENTLY UNDERGOING AUDIT, DO NOT USE. ⚠️

Read our introduction blog article for more details on Wormhole and its major design decisions.

See DEVELOP.md for instructions on how to set up a local devnet.

Repo overview:

  • bridge/ — The guardian node which connects to both chains, observes lockups and submits VAAs. Written in pure Go.

    • cmd/ – CLI entry point, deals with the mechanics of parsing command line flags and loading keys.
    • pkg/processor — Most of the business logic for cross-chain communication lives here. Talks to multiple loosely coupled services communicating via Go channels.
    • pkg/p2p — libp2p-based gossip network.
    • pkg/devnet — Constants and helper functions for the deterministic local devnet.
    • pkg/ethereum — Ethereum chain interface with auto-generated contract ABI. Uses go-ethereum to directly connect to an Eth node.
    • pkg/solana — Solana chain interface. Light gRPC wrapper around a Rust agent (see below) which actually talks to Solana.
    • pkg/supervisor — Erlang-inspired process supervision tree imported from Certus One’s internal code base. We use this everywhere in the bridge code for fault tolerance and fast convergence.
    • pkg/vaa — Go implementation of our VAA structure, including serialization code.
  • ethereum/ — Ethereum wormhole contract, tests and fixtures.

    • contracts/ — Wormhole itself, the wrapped token and helper libraries.
    • migrations/ — Ganache migration that deploys the contracts to a local devnet. This is the starting point for both the tests and the devnet. Note that devnet and tests result in different devnet states.
    • src/send-lockups.js — Sends ETH lockups in a loop. See DEVELOP.md for usage.
  • solana/ — Solana sidecar agent, contract and CLI.

    • agent/ — Rust agent sidecar deployed alongside each Guardian node. It serves a local gRPC API to interface with the Solana blockchain. This is far easier to maintain than a pure-Go Solana client.
    • bridge/ — Solana Wormhole smart contract code.
    • cli/ — Wormhole user CLI tool for interaction with the smart contract.
    • devnet_setup.sh — Devnet initialization and lockup generator (the Solana equivalent to the Ganache migration + send-lockups.js). Runs as a sidecar alongside the Solana devnet.
  • proto/ — Protocol Buffer definitions for the P2P network and the local Solana agent RPC. These are heavily commented and a good intro.

  • third_party/ — Build machinery and tooling for third party applications we use.

    • abigen/ — Reproducible build for the go-ethereum ABI code generator we use.
    • solana/ — Build for the full Solana project plus a floating patchset we maintain while waiting for features to be implemented in the upstream project.
  • docs/ — Operator documentation and project specs.

  • web/ — User interface for cross-chain transfers. Not yet wired into the local devnet. Uses Metamask and Web3.js to initiate transfers from a browser. Watch this video as an introduction.

  • tools/ — Reproducible builds for local development tooling like buf and protoc-gen-go.

  • Tiltfile, devnet/ and various Dockerfiles — deployment code and fixtures for local development. Deploys a determimistic devnet with an Ethereum devnet, Solana devnet, and a variably sized guardian set that can be used to simulate full cross-chain transfers. The Dockerfiles are carefully designed for fast incremental builds with local caching, and require a recent Docker version with Buildkit support. See DEVELOP.md for usage.

  • generate-abi.sh and generate-protos.sh — Helper scripts to (re-)build generated code. The Eth ABI is committed to the repo, so you only need to run this script if the Wormhole.sol interface changes. The protobuf libraries are not committed and will be regenerated automatically by the Tiltfile.

We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. Learn more.


虫洞

在⚠️ 正在进行的工作-正在进行审核,请勿使用。⚠️

请阅读我们的简介博客文章,了解有关虫洞及其主要设计决策的更多详细信息。

参见开发.md有关如何设置本地devnet的说明。

回购概述:

  • bridge/-连接两个链、观察锁定和提交vaa的守护节点。用纯Go写的。cmd/-CLI入口点,处理解析命令行标志和加载键的机制。pkg/处理器-跨链通信的大部分业务逻辑都存在于此。通过Go通道与多个松散耦合的服务通信。基于pkg/p2p-libp2p的八卦网络。pkg/devnet-确定性局部devnet的常量和辅助函数。包/以太坊eth以太坊eth链接口,自动生成合同ABI。使用go ethereum直接连接到Eth节点。pkg/solana-solana链接口。轻的gRPC包装物包裹着一种防锈剂(见下文),这实际上是在和索拉纳交谈。pkg/supervisor-从Certus One的内部代码库导入的Erlang启发的进程监督树。为了容错和快速收敛,我们在桥代码中到处使用这种方法。我们的vaa结构的pkg/vaa-Go实现,包括序列化代码。
  • src/发送-锁定.js-在循环中发送ETH锁定。看到了吗开发.md供使用。
  • cli/-用于与智能合约交互的虫洞用户cli工具。
  • 文件/操作员文件和项目规范。
  • web/-跨链传输的用户界面。尚未连接到本地devnet。使用Metamask和Web3.js从浏览器启动传输。请观看此视频作为介绍。为本地开发工具构建可复制的工具。
  • web/-跨链传输的用户界面。尚未连接到本地devnet。使用Metamask和Web3.js从浏览器启动传输。请观看此视频作为介绍。

  • tools/-本地开发工具(如buf和protoc gen go)的可复制构建。

  • Tiltfile、devnet/和各种Dockerfiles-用于本地开发的部署代码和fixture。部署一个具有以太坊ethdevnet、Solana devnet和可用于模拟全跨链传输的可变大小的guardian集。Dockerfiles是为使用本地缓存的快速增量构建而精心设计的,并且需要具有Buildkit支持的最新Docker版本。看到了吗开发.md供使用。

  • 我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。

  • 我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。
    您可以随时通过单击页面底部的Cookie首选项来更新您的选择。有关更多信息,请参阅我们的隐私声明。

我们使用基本Cookie来执行基本的网站功能,例如,它们用于让您登录。了解更多

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情