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

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

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.