vea

所属分类:区块链开发
开发工具:Solidity
文件大小:1956KB
下载次数:0
上传日期:2023-04-29 19:26:49
上 传 者sh-1993
说明:  维雅,维雅大桥
(vea,Vea bridge)

文件列表:
vea-dev (0, 2023-05-29)
vea-dev\.codeclimate.yml (139, 2023-05-29)
vea-dev\.depcheckrc (135, 2023-05-29)
vea-dev\.editorconfig (227, 2023-05-29)
vea-dev\.eslintignore (46, 2023-05-29)
vea-dev\.eslintrc.json (670, 2023-05-29)
vea-dev\.husky (0, 2023-05-29)
vea-dev\.husky\commit-msg (68, 2023-05-29)
vea-dev\.husky\pre-commit (60, 2023-05-29)
vea-dev\.lintstagedrc.json (150, 2023-05-29)
vea-dev\.nvmrc (3, 2023-05-29)
vea-dev\.prettierrc.json (227, 2023-05-29)
vea-dev\.solhint.json (398, 2023-05-29)
vea-dev\.vscode (0, 2023-05-29)
vea-dev\.vscode\settings.json (299, 2023-05-29)
vea-dev\.whitesource (542, 2023-05-29)
vea-dev\.yarn (0, 2023-05-29)
vea-dev\.yarn\plugins (0, 2023-05-29)
vea-dev\.yarn\plugins\@yarnpkg (0, 2023-05-29)
vea-dev\.yarn\plugins\@yarnpkg\plugin-interactive-tools.cjs (1077010, 2023-05-29)
vea-dev\.yarn\plugins\@yarnpkg\plugin-stage.cjs (8437, 2023-05-29)
vea-dev\.yarn\plugins\@yarnpkg\plugin-version.cjs (1073515, 2023-05-29)
vea-dev\.yarn\releases (0, 2023-05-29)
vea-dev\.yarn\releases\yarn-3.3.1.cjs (2205218, 2023-05-29)
vea-dev\.yarnrc.yml (356, 2023-05-29)
vea-dev\CONTRIBUTING.md (2840, 2023-05-29)
vea-dev\LICENSE (1063, 2023-05-29)
... ...

Vea

VEA

OpenSSF Scorecard
Contracts Testing Security Rating Quality Gate Status Bugs Reliability Rating Maintainability Rating
Contracts Testing Security Rating Quality Gate Status Bugs Reliability Rating Maintainability Rating

--- # Vea Vea is a cross-chain message bridge which enables fast and secure interoperability specifically designed with optimistic rollups in mind. ## About Vea ### What type of bridge is this? A trust-minimized optimistically-verified bridge, open to any participant to fulfill the roles of Oracle, Challenger or Relayer. The [trust model](https://vitalik.eth.limo/general/2020/08/20/trust.html) requires only 1 live honest verifier, similar to optimistic rollups. ### How is this secure? As an optimistic bridge, it is cheap and fast to use in the happy case, where an Oracle makes an unchallenged claim. While in the unhappy case, it is no different than using the canonical bridges operated by a particular rollup or side-chain. There is no need for any additional trust assumption on say a 3rd-party oracle or some slow governance mechanism or trusted DAO multisig to ensure that the message is relayed correctly. As long as there is one honest participant running a working implementation of the light client specifications at any time, and anybody can take on this role. ### Learn more... ##### [Website](https://vea.ninja) ##### “– [Documentation](https://docs.vea.ninja) ##### [Security disclosures](/SECURITY.md) ## Deployments ##### “ [Contracts addresses](contracts/README.md#deployed-addresses) ##### – [VeaScan explorer](https://veascan.io) ##### — Subgraph endpoints - [Inbox for VeaScan](veascan-subgraph-inbox/README.md#deployments) - [Outbox for VeaScan](veascan-subgraph-outbox/README.md#deployments) - [Inbox for the Relayer CLI](relayer-subgraph-inbox/README.md#deployments) ## Content | Package | Description | | ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | | **[contracts](/contracts)** | Smart contracts of the Vea bridge protocol. | | **[relayer-cli](/relayer-cli)** | Convenience utility capable of automating the relaying of messages for verified state roots. | | **[relayer-subgraph-inbox](/relayer-subgraph-inbox)** | Indexing of the bridge inbox for relaying purposes, in particular for the computation of the proof of inclusion of a message in a state root. | | **[services](/services)** | Supporting services such as a graph-node container. | | **[validator-cli](/validator-cli)** | Validator implementation in TypeScript capable of fulfilling the roles of Oracle and Challenger. | | **[veascan-subgraph-inbox](/veascan-subgraph-inbox)** | Indexing of the bridge inbox for retrieval by the Veascan frontend. | | **[veascan-subgraph-outbox](/veascan-subgraph-outbox)** | Indexing of the bridge outbox for retrieval by the Veascan frontend. | | **[veascan-web](/veascan-web)** | Explorer of snapshot and messages crossing the bridge. | | | | ## Toolchain: - Solidity v0.8 - Hardhat - Ethers v5 - Chai + Mocha - Node v16 - Typescript - Yarn v3 without [PlugnPlay](https://yarnpkg.com/getting-started/migration/#switching-to-plugnplay) ## Contributing ### Prerequisites - Install NodeJS 16: - on Red Hat Linux: `sudo dnf module install nodejs:16` - on Ubuntu Linux: `sudo snap install node --classic` - on MacOS via [brew](https://brew.sh/): `brew install node` - Install Yarn v1 (Classic): `npm install -g yarn` - Then [upgrade](https://yarnpkg.com/getting-started/install#updating-to-the-latest-versions) Yarn to v3: `yarn set version berry` - Install Volta.sh: `curl https://get.volta.sh | sh` - Install [Docker Desktop](https://www.docker.com/products/docker-desktop/) to run the local graph node. - Shell utilities: [jq](https://stedolan.github.io/jq/), [yq](https://mikefarah.gitbook.io/yq/) - on Red Hat Linux: `sudo dnf install jq yq` - on Ubuntu Linux: `sudo snap install jq yq` - on MacOS via [brew](https://brew.sh/): `brew install jq yq` ### Install the dependencies ```bash $ yarn install ``` ### [Hardhat CLI auto-completion](https://hardhat.org/guides/shorthand.html) (optional) ```bash $ npm i -g hardhat-shorthand $ hardhat-completion install ” Which Shell do you use ? · bash ” We will install completion to ~/.bashrc, is it ok ? (y/N) · true $ exec bash ```

近期下载者

相关文件


收藏者