Skip to content

Add Wormhole NTT integration#1

Open
JuanMarchetto wants to merge 1 commit into
masterfrom
feat/wormhole-ntt-integration
Open

Add Wormhole NTT integration#1
JuanMarchetto wants to merge 1 commit into
masterfrom
feat/wormhole-ntt-integration

Conversation

@JuanMarchetto

Copy link
Copy Markdown
Owner

Summary

  • Adds Wormhole Native Token Transfer (NTT) support alongside existing LayerZero V2 OFT bridge testing
  • 3 new modules: NTT wire format parsing + VAA signing, delivery pipeline, account watcher
  • Optional wormhole_ntt config section — no breaking changes to existing configs
  • Includes bug fixes for forge --broadcast, EVM contract path resolution, and keypair naming
  • Security analysis document for Wormhole NTT attack vectors

Test plan

  • All 91 existing tests pass (38 unit + 53 integration)
  • 8 new Wormhole-specific unit tests pass (VAA encoding, signing, PDA derivation, wire format)
  • LayerZero OFT tests unaffected — no regressions
  • Manual: run puente with [wormhole_ntt] config section against local validators

Extend Puente to support Wormhole Native Token Transfer (NTT) bridges
alongside existing LayerZero V2 OFT support. Adds NTT message parsing,
mock guardian VAA signing, delivery pipeline, and account watcher.
All existing LayerZero tests continue to pass (91/91).

- wormhole.rs: NTT wire format parsing, VAA construction, guardian signing
- wormhole_delivery.rs: Solana transaction building for NTT relay
- wormhole_watcher.rs: Account subscription for outbox items
- Optional WormholeNttConfig in PuenteConfig (no breaking changes)
- Bug fixes: forge --broadcast flag, EVM contract path, keypair naming
- Security analysis: docs/security/wormhole-ntt-attack-vectors.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant