/wormhole_example

An example of transferring ERC-20 tokens with Wormhole Bridge

Primary LanguageSolidityMIT LicenseMIT

Wormhole example

Treasury contract deployed on Goerli at 0x565fbE605A161e1bb52f454caFe5E0E2EfC600dA Token contract deployed on Goerli at 0x94CB6E2F783b9F5274ccd19c7e316bd5badADa98 Attested token VAA bytes: AQAAAAABAIWe1LOHC303jNXoYLblxQJO6uzL8OJmEMnpVnvCqQwGcLVAxGj4GfNC+5+bvXLX65i6de0++nTkXIqkTDhm1dgBY5ChrHVZAAAAAgAAAAAAAAAAAAAAAPiQmC+TEN9X0A9lnPT9h+Za3tjXAAAAAAAAC0ABAgAAAAAAAAAAAAAAAJTLbi94O59SdMzRnH4xa9W62tqYAAISRFZUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEZXZUb2tlbgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==

Treasury contract deployed on Mumbai at 0xB05ceA963fFfa5110E412Bac6188DcaACe09E186 Wrapped token deployed on Matic at 0xb541C0f67476087323B226C8dF94f03CeA4D4a6c

Bridged token VAA bytes: AQAAAAABAOV9Tp6mceoN4kBN+dCpMwNk5EB7SWL8E0gqLmkq8DDhCjnRPIO58HAgBjx+LUfnpzSOO7GvZiwmVDavQGR1ecIBY5mobAAAAAMAAgAAAAAAAAAAAAAAAPiQmC+TEN9X0A9lnPT9h+Za3tjXAAAAAAAAC6QBAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF9eEAAAAAAAAAAAAAAAAAlMtuL3g7n1J0zNGcfjFr1bra2pgAAgAAAAAAAAAAAAAAALBc6pY//6URDkErrGGI3KrOCeGGAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==

Bridged back VAA bytes: AQAAAAABAMl5WcDmrx/e+mNBGRVtrPsOlIisvC9q74zyHylanlwxAN4LuebKhVVefyVPnhsqxtO1CR7m49Tio/fB6HYsSKIAY5mt2AAAAAIABQAAAAAAAAAAAAAAADd9Va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