Mirroring https://github.com/pyth-network/pyth-crosschain

Hendrik Hofstadt 227445cd76 Fix tests and add double hashing 4 tahun lalu
.run d99977a8ae Commit .run IntelliJ shortcuts to repo 5 tahun lalu
bridge af4e29978d Add commitment level to VAAs 4 tahun lalu
dashboards 7c16981443 Add example Grafana dashboard 4 tahun lalu
design 8f4ed821ab Correct decimal data type 4 tahun lalu
devnet af4e29978d Add commitment level to VAAs 4 tahun lalu
docs 9fce2e9ded take an axe to the docs 4 tahun lalu
ethereum 227445cd76 Fix tests and add double hashing 4 tahun lalu
explorer 0e602ed91d Add explorer web app and web proto codegen 4 tahun lalu
nix a341c2a5b5 nix/: Exile remote nix scripts into nix/scripts.nix, update deps 4 tahun lalu
proto af4e29978d Add commitment level to VAAs 4 tahun lalu
scripts c5d90f779c Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159) 4 tahun lalu
solana 1cc90e54db Deserialize only the discriminant in the entrypoint. 4 tahun lalu
terra 1fc6842917 Double hashing on terra 4 tahun lalu
third_party cc3482a607 Replace third_party/solana by solana-test-validator (#197) 4 tahun lalu
tilt_modules c5d90f779c Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159) 4 tahun lalu
tools 3c5deee7ee Fix devnet for new contracts 4 tahun lalu
.dockerignore d677311d70 Fix build caching and initial devnet setup steps 4 tahun lalu
.envrc e0b193b390 anchor-client with new() 4 tahun lalu
.gitignore 0004dd6c2a Reimplement terra bridge in guardian software 4 tahun lalu
CONTRIBUTING.md f1de6086f1 CONTRIBUTING.md: fix typo 4 tahun lalu
DEVELOP.md de31d0d381 README.md: bump Tilt and Minikube 4 tahun lalu
Dockerfile.agent d9fde6d7cc Implement optional persistence in Solana wormhole 4 tahun lalu
LICENSE 2c2a3c6c8e Add Apache2 license 5 tahun lalu
Makefile 6d555789d6 Add version stamp to binary and include in heartbeat 4 tahun lalu
README.md fa75e3266a Clean up README.md 4 tahun lalu
Tiltfile aa417344c1 web: remove v1 web interface 4 tahun lalu
buf.yml d8c9b41a01 Add builds for protos and the Solana agent 5 tahun lalu
codereview.cfg da8182c3cc codereview.cfg: dev.v2 branch 4 tahun lalu
dev-install.sh c5d90f779c Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159) 4 tahun lalu
generate-abi.sh c5d90f779c Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159) 4 tahun lalu
generate-protos.sh f3a96faeae tools: reintroduce ts-proto build 4 tahun lalu
shell.nix a341c2a5b5 nix/: Exile remote nix scripts into nix/scripts.nix, update deps 4 tahun lalu

README.md

Wormhole v2

See DEVELOP.md for instructions on how to set up a local devnet, and CONTRIBUTING.md for instructions on how to contribute to this project.

See docs/operations.md for node operator instructions.

Wormhole v2 is in active development - see "main" branch for the v1 mainnet version

Audit / Feature Status

This software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Or plainly spoken - this is a very complex piece of software which targets a bleeding-edge, experimental smart contract runtime. Mistakes happen, and no matter how hard you try and whether you pay someone to audit it, it may eat your tokens, set your printer on fire or startle your cat. Cryptocurrencies are a high-risk investment, no matter how fancy.

READ FIRST BEFORE USING WORMHOLE

  • Much of the Solana ecosystem uses wrapped assets issued by a centralized bridge operated by FTX (the "Sollet bridge"). Markets on Serum or Raydium are using those centralized assets rather than Wormhole wrapped assets. These have names like "Wrapped BTC" or "Wrapped ETH". Wormhole is going to replace the FTX bridge eventually, but this will take some time - meanwhile, Wormhole wrapped assets aren't terribly useful yet since there're no market for them.

  • Other tokens on Solana like USDC and USDT are centralized native tokens issued on multiple chains. If you transfer USDT from Ethereum to Solana, you will get "Wormhole Wrapped USDT" (wwUSDT), rather than native USDT.

  • Solana's SPL tokens have no on-chain metadata. Wormhole can't know the name of the token when you transfer assets to Ethereum. All tokens are therefore named "WWT" plus the address of the SPL token. The reverse is also true - Wormhole knows the name of the ERC20 token, but there's no way to store it on Solana. There's an off-chain name registry that some block explorers use, but if you transfer an uncommon token to Solana, it may not show with a name on block explorers.