Mirroring https://github.com/pyth-network/pyth-crosschain
|
|
5 년 전 | |
|---|---|---|
| bridge | 2747839bd4 bridge: use hash instead of big for signingMsg | 5 년 전 |
| devnet | c65d221ab3 Run devnet_setup.sh as solana-devnet sidecar | 5 년 전 |
| docs | 4ba7885c62 solana: add retry/poking mechanism | 5 년 전 |
| ethereum | b4b0c61dfc bridge: require single step guardian set index changes | 5 년 전 |
| proto | f6750a3762 all: consider decimals on wrapped assets, fix VAA posting, fix solana account parsing | 5 년 전 |
| solana | 4ba7885c62 solana: add retry/poking mechanism | 5 년 전 |
| third_party | f6750a3762 all: consider decimals on wrapped assets, fix VAA posting, fix solana account parsing | 5 년 전 |
| tools | 59d6ece608 bridge: grpc codegen | 5 년 전 |
| web | 4ba7885c62 solana: add retry/poking mechanism | 5 년 전 |
| .gitignore | 7993a72dea Add VAA serialization logic | 5 년 전 |
| DEVELOP.md | c370a94911 Remove instructions for running devnet_setup.sh | 5 년 전 |
| Dockerfile.agent | d8c9b41a01 Add builds for protos and the Solana agent | 5 년 전 |
| LICENSE | 2c2a3c6c8e Add Apache2 license | 5 년 전 |
| README.md | 990106c01b Update README.md | 5 년 전 |
| Tiltfile | e9fa171da8 Remove devnet_setup.sh live sync | 5 년 전 |
| buf.yml | d8c9b41a01 Add builds for protos and the Solana agent | 5 년 전 |
| dev-install.sh | 857a2fac07 dev-install.sh: fix idempotency, add instructions to source env | 5 년 전 |
| generate-abi.sh | 12873e5819 Add tooling to regenerate the Go ABI | 5 년 전 |
| generate-protos.sh | 59d6ece608 bridge: grpc codegen | 5 년 전 |
⚠️ WORK IN PROGRESS — UNAUDITED, DO NOT USE. ⚠️
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.
ethereum/ — Ethereum wormhole contract, tests and fixtures.
solana/ — Solana sidecar agent, contract and CLI.
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.
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.