Chirantan Ekbote
7f4b0d1a09
Wormhole chain integration
...
This is a squashed commit of all the changes needed to integrate
wormhole chain into the main repo.
2022-10-03 17:34:42 +09:00
Evan Gray
860f91b2b8
clients/js: fix terra fee
2022-09-30 09:08:33 -04:00
Bruce Riley
87d146a261
Deploy contracts to testnet
2022-09-29 22:38:27 -04:00
kev1n-peters
c5d2f9d54d
sdk/js: Near refactor, added integration tests ( #1648 )
...
* near-sdk-refactor: Fix attest
: Fix missing function calls
: make near on near
: renamed tryHexToNativeStringNear
* near-sdk-refactor: bumped near-sdk-js version
Co-authored-by: Josh Siegel <jsiegel@jumptrading.com>
2022-09-28 08:53:15 -05:00
Evan Gray
239b22e3a8
sdk/js: add injective
2022-09-20 17:14:05 +00:00
Josh Siegel
5d71e619c1
algo/builds: algorand mainnet builds
2022-09-20 10:37:59 -05:00
Evan Gray
64952c8d85
clients/js: update evm query
2022-09-15 16:53:16 -04:00
Kevin Peters
9d477e0585
ethereum: EVM fork protection
...
Added a `uint256 evmChainId` state variable to the Core, Token and NFT Bridge
contracts. `evmChainId` is compared to `block.chainid` in the `chainId`
function. When they don't match, a "bad fork" Chain ID is returned,
otherwise the Wormhole Chain ID is returned.
2022-09-09 13:16:27 -05:00
Bruce Riley
22b298da8e
Address in client is also wrong
...
Change-Id: I05a4450f56139894e737550b1ab14133e7f0ff67
2022-09-07 10:42:43 -05:00
bruce-riley
b357ad7061
Script to generate change registration governance ( #1508 )
...
* Script to generate change registration governance
Change-Id: If99e78b031dcd4049a9ee40b09914eeb93e7518a
* Rework from code review
Change-Id: I93cf3166c1ab961add2c524084de1981a44b194e
* Change chain_id to chain-id
Change-Id: Iae6f9854a64d8559d03c56949d03043a94dbf7f6
2022-09-06 08:20:51 -05:00
bruce-riley
4a42c29c0f
Near mainnet deploy ( #1467 )
...
* Initial commit
* Updated mainnet_tokens with Near token
* Near CLI changes
* More CLI tweaks
* Revert ethers in cli
* Fix lint error
* Testnet emitter is wrong
Co-authored-by: Christine Eun <ceun@jumptrading.com>
2022-08-26 12:46:37 -04:00
Josh Siegel
4fe9841810
near: initial commit
2022-08-24 15:11:05 -04:00
Paul Noel
639bd3c682
clients/js - initial algorand commit ( #1445 )
...
* clients/js - initial algorand commit
* clients/js: fix merge issue
2022-08-22 09:39:39 -05:00
Paul Noel
bf45b02c0b
clients/js - initial near commit ( #1442 )
2022-08-19 10:29:57 -05:00
Paul Noel
338e6f2648
clients/js: formatting only change (prettier)
...
Change-Id: I0b8805e0a577f0ef8757a5468c43fcb1083c0825
2022-08-18 16:50:06 +00:00
Paul Noel
a6f75f1aef
clients/js: don't do npm install in Makefile
...
Change-Id: If0374d98a753753ce6559cb7392201b69e056099
2022-08-18 16:50:06 +00:00
Bruce Riley
d010f0d430
Deploy read only moonbeam
2022-07-21 16:23:08 -04:00
Bruce Riley
d40f969d47
Deploy read only chains
2022-07-21 09:17:29 -04:00
bruce-riley
53efeb8c87
Add read only chain IDs ( #1370 )
...
* Add read only chain IDs
* Should be treated as EVMs
2022-07-19 14:05:40 -04:00
Josh Siegel
caeea358d8
Stub out injective, osmosis, sui, and aptos
2022-07-15 10:45:30 -04:00
Csongor Kiss
e8620ccea9
clients/js: Dump payload in case of parse failure
2022-07-05 19:24:58 +01:00
Csongor Kiss
3b6292af29
clients/js: touch up README a little
...
commit-id:429c7d93
2022-07-05 19:24:58 +01:00
Csongor Kiss
b5997a10f0
scripts/devnet-consts: use native format for addresses
...
commit-id:c8c78ae8
2022-07-05 19:24:58 +01:00
Csongor Kiss
3a182ec6f6
CI: test CLI parser
...
commit-id:5f865212
2022-07-05 19:24:58 +01:00
Csongor Kiss
fa3cec16f6
clients/js: Add support for NFT bridge transfers
...
commit-id:6b11415c
2022-07-05 19:24:58 +01:00
Csongor Kiss
465916c3f8
clients/js: Add support for AttestMeta
...
commit-id:67ad91cc
2022-07-05 19:24:58 +01:00
Csongor Kiss
1b4c97cd67
clients/js: Add support for parsing payload3 + test parser
...
commit-id:d9fb5d95
2022-07-05 19:24:58 +01:00
Csongor Kiss
33fce26f35
clients/js: Add support for parsing token bridge transfers
...
commit-id:00a4fb9e
2022-07-05 19:24:58 +01:00
Csongor Kiss
96560a98f8
clients/js: Make address handling nicer
...
commit-id:1d3ce65d
2022-07-05 19:24:58 +01:00
Csongor Kiss
9a42aacf0f
clients/js: add command to return all evm chains
...
Also add an option to 'evm info' to return the implementation only. This
is an optimisation to make this query faster when we don't care about
the rest
2022-06-30 13:57:02 +01:00
Csongor Kiss
4471712b0e
clients/js: fix acala and karura RPC
2022-06-30 13:57:02 +01:00
Csongor Kiss
c453f4cf6d
evm: Make finality a state variable
2022-06-28 21:31:23 +01:00
Csongor Kiss
3c6e1b07d6
clients/js: Add command to hijack a mainnet fork + misc utilities
...
* Add command to update evm storage slot
* Add command to ecrecover
* Add command to print contract addresses
* Add command to print RPC urls
* Add command to query on-chain state of EVM contracts
* Print digest in parse VAA command
2022-06-27 19:19:16 +01:00
Csongor Kiss
e65176d492
clients/js: Use ankr RPC instead of infura
2022-06-27 19:19:16 +01:00
Csongor Kiss
fe198be748
Fix truffle-config and 1conf patch
2022-06-22 16:56:17 -04:00
Evan Gray
e6bbf58743
bridge_ui: terra2 mainnet beta
2022-06-22 12:13:17 -04:00
Evan Gray
2144d68a09
clients/js: add terra2 support
2022-06-21 17:30:56 -04:00
Evan Gray
db0fc219aa
cosmwasm: terra2 support
...
Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-06-21 10:03:57 -04:00
bruce-riley
24c5b17267
Neon to testnet ( #1262 )
...
* WIP: neon
* Watcher support
* Use eth_getLogs for Neon
* bridge_ui: update sdk version
* Setting WETH address for Neon
* Portal bridge support for WNEON
* relayer: update sdk
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-06-14 10:22:49 -04:00
Evan Gray
c47aa300b7
bridge_ui: add acala
2022-06-06 10:47:41 -04:00
Bruce Riley
dcce155f43
Acala mainnet deploy
2022-06-03 14:44:22 -04:00
Bruce Riley
f9697f7c58
Minor cli tweaks
2022-05-18 13:55:05 -04:00
bruce-riley
018908a420
Klaytn mainnet deploy ( #1185 )
...
* Klaytn mainnet deploy
2022-05-16 10:06:17 -04:00
Bruce Riley
d266438654
Celo mainnet deploy changes
2022-05-13 13:11:28 -04:00
bruce-riley
87e2e4cf64
CLI changes for klatyn, celo and moonbeam ( #1159 )
...
* CLI changes for klatyn, celo and moonbeam
* Replacing SDK dependency
* Same for the lock file
* More package file stuff
* Pick up new SDK version
2022-05-10 13:05:43 -04:00
Csongor Kiss
1c006f9bed
cli: Refactor js cli to support all contracts + add improvements ( #1100 )
...
* cli: Refactor js cli to support all contracts + add improvements
* Fix path in Makefile
* Don't be strict
* Fix registration VAA deserialisation
* Add karura gas calculation logic
* cli: fix after sdk rebase
* cli: improve makefile
* cli: depend on @certusone/wormhole-sdk locally instead of importing relative paths
* cli: add polygon overrides
* client: update for devnet
* fix tx signing in solana cli
* client: alias network
Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-05-05 20:51:24 -04:00
justinschuldt
2e1ee8ec20
terra-devnet init with multiple guardians
2022-04-12 20:37:52 -05:00
justinschuldt
0063f6ab69
clients/nft_bridge - minor usability improvements
2022-04-12 20:37:52 -05:00
justinschuldt
c6d2d6983c
clients/token_bridge - minor usage improvements
2022-04-12 20:37:52 -05:00
justinschuldt
5893e0c870
clients/token_bridge - allow multiple guardians when generating governance VAAs
2022-04-12 20:37:52 -05:00
Csongor Kiss
5a316207dd
clients/solana: allow submitting VAAs to mainnet
2022-04-11 17:36:20 -04:00
bruce-riley
879670c0e5
Klaytn testnet support ( #1038 )
...
* Klaytn support for testnet
Change-Id: Id0647fd6c603ab298f860c2cae20481555467315
* token_bridge client changes
Change-Id: If49ba994a67041044bdec054f19e69b4cfc2785b
* Get rid of special handling
* More cleanup
* Need to add Klaytn to structs tests
* Update SDK version
* Add SDK version
* fix klaytn bridge chain id
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-04-04 18:11:03 -04:00
bruce-riley
014b3686fe
Don't require padding on addrs in bridge clients ( #1041 )
...
Change-Id: Id32bfb90ee20d1bccc6b860de028c0bdecfd8786
2022-03-31 09:03:26 -05:00
justinschuldt
8391c280dd
add dev tooling for clients/eth
...
commit-id:f31250ef
2022-03-18 10:49:34 -05:00
bruce-riley
b718225e45
Testnet support for Aurora ( #947 )
...
* Testnet support
* Upgrade contract for 1conf
* Formatting changes
Change-Id: Id06481d77d770a04eb200aadb82574e23cddcd36
2022-03-15 10:41:10 -04:00
Csongor Kiss
918a968703
clients: allow passing solana private key
...
Currently the typescript clients generate a fresh wallet and request
airdrop into them. This obviously only works on tiltnet and testnet.
Here we add an option to allow specifying a private key, which makes the
command work in mainnet.
2022-03-09 20:36:26 -05:00
Jonathan Claudius
6686d6aec8
Add stronger nonce/confidence parsing ( #865 )
...
* Add negative guards for nonce and confirmation number/level
* Fix copy pasta on nonce vs consistencyLevel
* Add more direct int parsing of args
* Remove redundant checks for upper/lower bounds on int parsing
Co-authored-by: claudijd <jclaudius@jumptrading.com>
2022-02-18 08:43:09 -05:00
Evan Gray
fce0708e11
feat: use sdk in js client
2022-02-14 07:56:38 -05:00
Csongor Kiss
3fc065846e
Add terra migrate instructions
2022-02-10 15:37:19 -05:00
Csongor Kiss
df0a4c088b
clients/token_bridge: add option to specify guardian secret in generate_governance_vaa ( #833 )
...
Useful for generating testnet registration VAAs
Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-02-09 12:17:17 +01:00
Csongor Kiss
60d313b23c
ethereum: Add contract verification instructions ( #792 )
2022-01-28 14:52:54 +01:00
Evan Gray
7a9a5e6487
testing: weth-switch
2022-01-24 12:40:43 -05:00
Csongor Kiss
7e212fa739
terra/nft_bridge: Implement nft-bridge for terra ( #698 )
...
commit-id:0b547fa5
2022-01-07 16:47:33 +01:00
Hendrik Hofstadt
6ff21f8d01
add ethereum NFT bridge
...
Change-Id: I5cc8cfe431f5f9b043adc7baf662760ffe9e7a35
2021-09-10 23:43:14 +00:00
Hendrik Hofstadt
3c3182040f
randomize sequence in governance VAAs
...
Solana does replay protection via the sequence so multiple sequential chain registrations were failing
Change-Id: I95045c5d8ccd6ce8d2129ccf9141e3bc6a500bac
2021-09-01 15:32:00 +02:00
Leo
4f22a44969
Bump Go to 1.17
...
Change-Id: Ideb635db1a553c5de4a0b700a080f935249990fb
2021-08-31 08:58:17 +00:00
Reisen
7945662d8a
clients/token_bridge: terra flags for testnet
...
Change-Id: I71bcc671efe3b9f95b04ad20a731f514260fb67d
2021-08-26 14:40:11 +00:00
Hendrik Hofstadt
568210edd4
Fix node path in eth client
...
Change-Id: I4e5bcd9c2ee3b51764c77ca81857109f9104378e
2021-08-26 13:16:59 +00:00
Leo
e98463cfe3
node: rename bridge/ to node/
...
Calling guardiand a bridge dates back to v1 and no longer makes sense.
Change-Id: I27d24a5d7a64c3e37d6a5ce9c402c6248ad9c59e
2021-08-26 11:36:36 +02:00
Reisen
2846b29810
clients/token_bridge: add basic terra governance
...
Change-Id: I10fca1e939b0485812e26b42e3dcb5f9b435a64f
2021-08-19 17:13:53 +00:00
Evan Gray
d09abac78f
devnet: fix eth addresses
...
Change-Id: I83bd59f35b65e87b14183410e49dd9aca6c62c85
2021-08-19 17:06:18 +00:00
Hendrik Hofstadt
add04e8755
Create different accounts for message posting and VAA posting
...
Change-Id: I88a3f74301aeecc16bb51ba693ea9523dc16b612
2021-08-09 13:51:25 +02:00
Hendrik Hofstadt
597aae7cd7
Automatically register eth and solana token bridges
...
Change-Id: I35efef8d53f999f85ca2e8c4f58cc6cbf8193b2d
2021-08-06 15:21:27 +00:00
Hendrik Hofstadt
bedc96d887
Add token bridge client for eth and solana
...
Change-Id: I0f9af0ffc606aed58579f167fadf80d1964360c8
2021-08-06 15:21:27 +00:00
Hendrik Hofstadt
2a6f7eaa0e
Add solana bridge CLI
...
Change-Id: I79f7abdb7472c63b3a03f4e3c2ede70953a5037a
2021-07-29 17:37:26 +02:00
Hendrik Hofstadt
393b522f76
Add Terra and Ethereum Wormhole CLI
...
Change-Id: I35aa7a801abf77a2e35faa192e685ce738869624
2021-07-23 11:40:36 +00:00