Commit Graph

22 Commits

Author SHA1 Message Date
Josh Siegel 4e53392819 1) Add payload3 support into typescript
2) Add tests for payload3
3) Change the contract API for payload3 so that the destination is the appId instead of the app address
   and no longer part of the data
4) add a testApp into devnet
2022-05-11 07:29:56 -05:00
Csongor Kiss 7f427133cc
sdk: improve type safety + add documentation (#1102)
* sdk/js: improve type safety + add documentation

* sdk/js: add support for chain names

* sdk/js: fix boolean conditional bug in transferFromSolana

* sdk/js: remove unsafe ChainId coercions in sdk

* sdk/js: Chain id 0

This is a legit chain id that some governance VAAs target

* sdk/js: Add mainnet and testnet contract addresses

* sdk/js: bump version to 0.3.0

* sdk/js: limit minor version changes

* sdk/js: update contracts and add devnet

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-05-05 12:35:11 -04:00
Evan Gray 5806059af9 sdk/js: algo 2022-04-29 20:57:02 -04:00
Evan Gray e7c61f5789 karura and acala sdk support 2022-03-03 15:49:52 -05:00
Kevin Peters ea67521d11 sdk/js: Added relayerFee parameters to transfer functions 2022-03-03 11:04:08 -05:00
Evan Gray c824a99636 sdk/js: attempt jest tests
Change-Id: I139153994604f0048f690b011048daec4d760a55
2021-11-05 19:53:00 +00:00
Joseph Lee fe2b0d4d07 Update js sdk transfer from solana
Change-Id: I1e81e5c068e00a2c02fea74df6c21603d44b9d74
2021-10-16 21:43:30 +00:00
Reisen 3277458e8e sdk: mirror terra bridge/fee changes
Change-Id: I0413d1202e379cf0ddea224283331e9448026b33
2021-10-12 17:06:09 +00:00
Evan Gray eb0cab8cd4 bridge_ui: remove terra tax calculations
Change-Id: Iab04fe996abe06c3490a808985727c94dd922797
2021-10-05 09:27:27 -04:00
Reisen d2c976b04c terra/token_bridge: subtract tax from deposited tokens
Change-Id: Ib1647a4b3757054fc91fe4dd51317a5095a526a2
2021-10-04 16:41:31 +00:00
Reisen 56c1b43280 bridge_ui: deposit tokens in terra flow
Change-Id: If64963644e638dbb24c1334eebbc207b415e5a3a
2021-10-04 16:41:31 +00:00
Evan Gray 77bf3620c6 bridge_ui, sdk/js: support native terra
Change-Id: I1125030b0f09b29567c19ca9adec7866695e2262
2021-10-04 16:41:31 +00:00
Reisen a9e98247bc terra/token_bridge: transfer native
Change-Id: I53fb27b467c96474f2980d495232ac955187775a
2021-10-04 16:41:31 +00:00
Chase Moran 7b1a0bf3ad bridge_ui: transfer & unwrap SOL
fixes https://github.com/certusone/wormhole/issues/486

Change-Id: I81b97ff0e1358bf0b88567ba9872ee615344a27c
2021-09-27 15:56:00 +00:00
Chase Moran b39d72e32f bridge_ui: weth functionality
Change-Id: I1c6dc5f502232c32f4219a9a3be61f203c7be22a
2021-09-19 22:43:52 -04:00
Evan Gray 06984351b8 sdk/js: fix number overflow
Change-Id: Iba73f620ee8e99737e38eee0246599ca28af7bba
2021-09-15 20:22:38 +00:00
Chase Moran 0dc9f28bfd approve unlimited functionality in eth
Change-Id: Id268205f540cad6b3936570c650e209fe0220339
2021-09-14 13:33:35 -04:00
Evan Gray 3e4b673bb5 sdk/js: eth wait for token approval
Change-Id: I9e2c0908c75983105420168c8e181581a99cd8b8
2021-08-31 18:10:52 +00:00
Evan Gray 7589d33665 sdk/js: fix terra transfer, getOriginalAsset
Change-Id: I8c7609d133c32cea9a773e05fa6c115c4a8e8666
2021-08-31 16:06:07 +00:00
Reisen 0ef1bf4374 bridge_ui: transfer components
Change-Id: I3a8d03687d2ebff5d7654eb52bbc5678c7e96bb8
2021-08-30 17:49:53 -04:00
Reisen 2a317ab923 sdk: move terra functions to sdk
Change-Id: Idb255bc0c63189f69f5e79efce4a801e2aeedf46
2021-08-20 19:14:42 +00:00
Evan Gray 1175eb1315 sdk/js: move solana and eth transactions
Change-Id: I04cdb6591c21507a23b3bd809d9a8b557b860a90
2021-08-18 13:42:51 +00:00