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

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

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.