Commit Graph

39 Commits

Author SHA1 Message Date
Kevin Peters 26ee5e8e10 clients/js: Update wormhole-sdk to 0.9.8 2023-01-11 13:00:02 -05:00
kev1n-peters 8d23de5fe3
clients/js: parseCodeAddress should handle CosmWasm chains (#1862) 2022-11-08 08:31:01 -06:00
Bruce Riley a974bf762e client/js: algorand submit fix 2022-11-01 14:42:09 -04:00
Bruce Riley 43f2ecfeab client/js: Fix emitter lookup for cosmwasm
Change-Id: Ib066b21f3c73e3165015d5eddf6b224c26d76cf1
2022-10-27 16:12:33 -04:00
Evan Gray 41fb6ba756 clients/js: sdk version bump 2022-10-24 19:00:15 -04:00
Csongor Kiss eaa5107b33
sdk/js: aptos (#1736)
* sdk/js: aptos

* sdk/aptos: change api interface to be more flexible

sdk/aptos: add attestToken

sdk/aptos: added createdWrapped

sdk/aptos: add getForeignAsset

sdk/aptos: stricter sanity check for fully qualified type

sdk/aptos: ensure addresses are left padded

sdk/aptos: check if asset exists in getForeignAsset

sdk/aptos: stricter sanity check - hex prefix can't be capital

sdk/aptos: add updatewrapped

sdk/aptos: update readme with token attestation example

sdk/aptos: added transfer

sdk/aptos: add getIsTransferCompleted

sdk/aptos: add isWrappedAsset and getOriginalAsset

sdk/aptos: add redeem

sdk/aptos: make init tokenbridge entry func

* sdk/aptos: separated signing/submitting txs from creating raw txs

* clients/js: hash aptos fully qualified type to get address

* sdk/aptos: return payload from api instead of rawtx

* sdk/aptos: derive token info from vaa

* sdk/aptos: fix getAssetFullyQualifiedType for native asset

* sdk/aptos: add min gas price

* sdk/aptos: bump aptos version

* sdk/aptos: dont require 0x in front of addresses

* sdk/aptos: progress on e2e tests

* sdk/aptos: upgrade resource address derivation

This was changed recently
25696fd266/aptos-move/framework/aptos-framework/sources/account.move (L90-L95)

* sdk/js: fix getForeignAssetAptos

* sdk/js: update testnet aptos address

* sdk/js: update aptos entry functions

* sdk/aptos: fix parsesequencefromlog

* sdk/aptos: throw errors instead of string literal

* sdk/aptos: update testnet/mainnet addresses

* sdk/aptos: fix  completeTransfer and getOriginalAsset

* sdk/aptos: update transferTokens to take in type and remove wormholeFee param

* sdk/aptos: add typeToExternalAddress utility

* sdk/js: update parseSequenceFromLogAptos

* sdk/js: test version bump again

* sdk/aptos: make transfer param type consistent

* sdk/aptos: test transfer to another chain test done

* sdk/aptos: use completeTransferAndRegister

* sdk/aptos: allow tryNativeToHexString to take in account addresses

* sdk/aptos: finish e2e tests

* sdk/aptos: test all apis

* sdk/aptos: add registerCoin utility

* sdk/js: utility to submit script bytecode to chain

* sdk/aptos: update test to be idempotent

* sdk/aptos: stricter check on aptos type

* clients/js: remove unused imports from rebase

* sdk/aptos: change node and faucet urls in ci

Co-authored-by: aki <akshath@live.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-10-24 18:12:02 -04:00
Conor Patrick 91bd9a5c36 rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
Csongor Kiss b58c75de8f worm: speed up startup by loading deps on demand
goes from ~3s to ~300ms, so 10x improvement
2022-10-21 19:56:23 +01:00
Josh Siegel 9020ca6985 near/tooling: Fix up deployment tool 2022-10-19 06:33:14 -05:00
Csongor Kiss c289bd9f57 worm: add command to derive aptos wrapped address 2022-10-18 01:19:13 -04:00
Csongor Kiss ee8e4b61ed aptos: unify deployment script for all networks 2022-10-17 16:39:34 +01:00
Csongor Kiss cb9915a75f aptos: testnet redeploy 2022-10-17 16:39:34 +01:00
Csongor Kiss 85a1dcd6fd worm: add aptos commands 2022-10-14 12:42:44 -05:00
Csongor Kiss de6c04f996 clients/js: Add command to update the client
Also add support for a json-based config file

commit-id:c734f935
2022-10-14 16:17:33 +01:00
Csongor Kiss a9c3abf436 clients/js: make arg parser strict
Now it shows help when passing incorrect arguments

why is this not the default?

commit-id:f86cdbd5
2022-10-14 16:17:33 +01:00
Csongor Kiss 68dedf34e4 clients/js: fix eccrypto insanity 2022-10-14 16:16:54 +01:00
Paul Noel c34022ee6a
clients/js: xpla client code (#1698)
* clients/js: xpla client code

* Tweak parameters

Change-Id: I693249ed0bf152a4414d2e0cabea842802110a89

* Testnet RPC is wrong in the client

Change-Id: I6c8a43e4fde301a94e6ec3b2199ef9f6cabf0b45

Co-authored-by: Bruce Riley <briley@jumptrading.com>
2022-10-11 14:30:09 -05:00
Paul Noel 66700359f7
clients/js - initial injective commit (#1447)
* clients/js - initial injective commit

* clients/js - upgrading the ethers package

* clients/js: fix packages
2022-10-06 14:39:34 -05:00
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
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
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
Bruce Riley d010f0d430 Deploy read only moonbeam 2022-07-21 16:23:08 -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 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 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 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
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
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