Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nexus #107

Open
wants to merge 328 commits into
base: main
Choose a base branch
from
Open

Nexus #107

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
328 commits
Select commit Hold shift + click to select a range
4dadb2f
Update tip card
jmrossy Jan 9, 2024
0add7ae
Merge pull request #112 from hyperlane-xyz/rossy/trigger-nexus-deploy
jmrossy Jan 9, 2024
cc06c51
Merge branch 'main' into main-to-nexus
jmrossy Jan 16, 2024
2f9e14a
Merge pull request #118 from hyperlane-xyz/main-to-nexus
jmrossy Jan 16, 2024
101a4ae
Update cosmjs injective patch to avoid sdk dep
jmrossy Jan 22, 2024
242963c
Merge branch 'main' into main-to-nexus
jmrossy Jan 23, 2024
f8e93ef
Merge pull request #122 from hyperlane-xyz/main-to-nexus
jmrossy Jan 23, 2024
0fe0ffd
Fixes for patch and logging
jmrossy Jan 23, 2024
b3ea1cb
Merge branch 'main' into injective-testnet
jmrossy Jan 23, 2024
f9736f1
Finish minor refactoring for injective support
jmrossy Jan 24, 2024
cf94b87
Use mainnet configs
jmrossy Jan 25, 2024
6a2f6da
Merge branch 'injective-testnet' into injective-to-nexus
jmrossy Jan 26, 2024
abef2d0
Update static inj igp quote
jmrossy Jan 26, 2024
b7fff75
Merge branch 'nexus' into injective-to-nexus
jmrossy Jan 26, 2024
3f36b63
Fix Celestia chain metadata
jmrossy Jan 26, 2024
080ecfd
Define WarpCore spec
jmrossy Jan 28, 2024
f0f7c80
Handle remote router decimal fetching failures in route traversal
jmrossy Jan 29, 2024
fdfad6f
Minor spec tweaks
jmrossy Jan 29, 2024
5b8b432
Add static IGP quote for celestia
jmrossy Jan 29, 2024
4571e5e
Merge branch 'main' into injective-to-nexus
jmrossy Jan 29, 2024
44d5bde
Define token config for inEVM
jmrossy Jan 30, 2024
408ca29
Replace favicon
jmrossy Feb 1, 2024
bbbc645
Collapse route info into Token class
jmrossy Feb 5, 2024
1a9283a
Update inEVM logo
jmrossy Feb 8, 2024
8def680
Add USDC and USDT route
jmrossy Feb 7, 2024
f580679
Merge branch 'main' into warp-core
jmrossy Feb 9, 2024
0db8a6d
Implement Token and TokenAmount classes
jmrossy Feb 9, 2024
19462b2
Start WarpCore implementation
jmrossy Feb 10, 2024
c650553
Implement remaining WarpCore methods
jmrossy Feb 13, 2024
2842a8d
Start replacing internals with WarpCore
jmrossy Feb 20, 2024
b7e6ea3
More progress on WarpCore migration
jmrossy Feb 22, 2024
69a8a03
Finish WarpCore migration
jmrossy Feb 22, 2024
f8220cd
Fixes for balance checking and token selection
jmrossy Feb 22, 2024
90d885e
Use tokenIndex in form values due to circular ref
jmrossy Feb 22, 2024
7a033c7
Merge branch 'warp-core' into nexus-warp-core
jmrossy Feb 23, 2024
80c2bb2
Fixes from merge conflicts
jmrossy Feb 23, 2024
315c6b8
Clear old tokens
jmrossy Feb 23, 2024
5f4489c
Configure warp tokens
jmrossy Feb 24, 2024
ac151fd
Updates for new Token connection shape
jmrossy Feb 26, 2024
aebb353
Merge branch 'warp-core' into nexus-warp-core
jmrossy Feb 26, 2024
cbf6547
Form bug fixes
jmrossy Feb 26, 2024
c9e4a58
Finish token definitions
jmrossy Feb 26, 2024
15a7361
Form bug fixes
jmrossy Feb 26, 2024
6eeb016
Merge branch 'nexus' into injective-to-nexus
jmrossy Feb 26, 2024
7d878b4
Merge pull request #126 from hyperlane-xyz/injective-to-nexus
jmrossy Feb 27, 2024
7ee046b
Update to 3.8.0-beta0
jmrossy Feb 27, 2024
395579e
Merge branch 'warp-core' into nexus-warp-core
jmrossy Feb 27, 2024
b686a19
Run prettier
jmrossy Feb 27, 2024
3e831ec
Run prettier
jmrossy Feb 27, 2024
720bc6c
Fix jest CI failure
jmrossy Feb 27, 2024
8b800e6
Merge branch 'warp-core' into nexus-warp-core
jmrossy Feb 27, 2024
6876460
Merge branch 'nexus' into nexus-warp-core
jmrossy Feb 27, 2024
488d4d9
Add configs for injective routes
jmrossy Feb 27, 2024
86e7b30
Migrate viction routes to warp-core
jmrossy Feb 28, 2024
43a24d6
Merge branch 'main' into nexus-remove-snap
jmrossy Mar 8, 2024
632bb28
Merge pull request #143 from hyperlane-xyz/nexus-remove-snap
jmrossy Mar 8, 2024
6e9d88e
Tweak sentry filters
jmrossy Mar 9, 2024
49448e3
Merge branch 'nexus' of github.com:hyperlane-xyz/hyperlane-warp-ui-te…
jmrossy Mar 9, 2024
b61a253
Merge branch 'main' into nexus-warp-core
jmrossy Mar 13, 2024
f49657f
Merge branch 'nexus' into nexus-warp-core
jmrossy Mar 13, 2024
1b8e060
Configure celestia gas price
jmrossy Mar 13, 2024
46bad8f
Fix Eclip logo uri
jmrossy Mar 13, 2024
a7809bc
Merge pull request #136 from hyperlane-xyz/nexus-warp-core
jmrossy Mar 13, 2024
528fcf4
Disable viction routes
jmrossy Mar 13, 2024
544f2d9
Merge branch 'main' into nexus-msg-id
jmrossy Mar 15, 2024
fbf721a
Merge pull request #146 from hyperlane-xyz/nexus-msg-id
jmrossy Mar 15, 2024
5aef98a
Enable viction routes
jmrossy Mar 19, 2024
7b2e8d1
Merge branch 'main' into nexus
jmrossy Mar 26, 2024
f81dc5f
Merge branch 'main' into nexus
jmrossy Apr 1, 2024
3ec5c7a
Add usdc
tkporter Apr 12, 2024
7720dd1
change native token
tkporter Apr 15, 2024
28f5907
Hide tip box
jmrossy Apr 15, 2024
de11f85
Merge branch 'nexus' into trevor/ancient8-nexus
tkporter Apr 15, 2024
5229772
Merge pull request #154 from hyperlane-xyz/trevor/ancient8-nexus
tkporter Apr 15, 2024
2ed89bc
Reduce sentry sampling rate
jmrossy May 2, 2024
ae01b7b
twitter link from hyperlane_xyz to hyperlane
avious00 May 29, 2024
d16f8a3
Merge branch 'main' into nexus
jmrossy Jun 8, 2024
f742536
Define route whitelist
jmrossy Jun 8, 2024
966becb
Remove unneeded logo images
jmrossy Jun 8, 2024
83da5f9
Fixes for logo images
jmrossy Jun 12, 2024
634659b
Merge branch 'main' into main-to-nexus
jmrossy Jun 12, 2024
ec397e1
Lockdown image and style sources (#198)
jmrossy Jul 23, 2024
adcc11f
Resolve yarn conflicts
jmrossy Jul 23, 2024
262f440
Lockdown image and style sources (#198)
jmrossy Jun 8, 2024
791fb5b
Resolve yarn.lock conflicts
jmrossy Jul 23, 2024
2067fda
Merge pull request #199 from hyperlane-xyz/nexus-image-patch
jmrossy Jul 23, 2024
c1f87e0
Merge branch 'main' into main-to-nexus
jmrossy Aug 2, 2024
d61e37f
Create new Injective patch for CosmJs 0.32.4
jmrossy Aug 2, 2024
48bc71e
Fix missing const in celestia 2-hop route config and increase cosmos …
jmrossy Aug 2, 2024
b9050ff
Merge branch 'main' into main-to-nexus
jmrossy Aug 4, 2024
b09355a
Merge branch 'nexus' into main-to-nexus
jmrossy Aug 4, 2024
fdd2d00
Run prettier
jmrossy Aug 4, 2024
cd537bb
Increase cosmos gas prices
jmrossy Aug 5, 2024
5c1b4a0
Merge pull request #168 from hyperlane-xyz/main-to-nexus
jmrossy Aug 5, 2024
fe8c555
Merge branch 'main' of https://github.com/hyperlane-xyz/hyperlane-war…
ltyu Aug 22, 2024
33a1419
Merge pull request #220 from hyperlane-xyz/ltyu/main-to-nexus
ltyu Aug 23, 2024
1a5bcde
Merge branch 'main' into main-to-nexus
jmrossy Sep 18, 2024
e3bd86e
Merge branch 'main' into main-to-nexus
jmrossy Sep 18, 2024
77481dc
Remove non-hyperlane branding and add SVM routes
jmrossy Sep 18, 2024
4c6b3ca
Merge branch 'main' into main-to-nexus
jmrossy Sep 18, 2024
33a9f0e
Merge branch 'main' into nexus-svm-routes
jmrossy Sep 18, 2024
26b7860
Enable new svm routes
jmrossy Sep 18, 2024
0d2a300
Merge branch 'main' into main-to-nexus
jmrossy Sep 18, 2024
1794aad
Merge branch 'main' into nexus-svm-routes
jmrossy Sep 18, 2024
0153ba3
Disable SOL route
jmrossy Sep 18, 2024
a5f686b
Merge pull request #245 from hyperlane-xyz/main-to-nexus
cmcewen Sep 18, 2024
f7c30ec
Merge branch 'nexus' into nexus-svm-routes
jmrossy Sep 18, 2024
25d31d5
Merge pull request #247 from hyperlane-xyz/nexus-svm-routes
cmcewen Sep 18, 2024
34701fd
Trigger Build
cmcewen Sep 18, 2024
0393c3e
Enable SOL route
yorhodes Sep 18, 2024
9f4f701
Install beta release
yorhodes Sep 18, 2024
3f80b2f
Merge pull request #250 from hyperlane-xyz/nexus-sol
daniel-savu Sep 19, 2024
3d9ac4a
fix: temporarily disable a few routes
cmcewen Sep 19, 2024
156fb1b
fix: reenable sol route
cmcewen Sep 19, 2024
f1f76b1
Merge pull request #251 from hyperlane-xyz/cmcewen/sol-route
cmcewen Sep 19, 2024
fdc08c0
fix: update registry
cmcewen Sep 19, 2024
f7eee12
feat: update to registry v4.3.5 (#253)
paulbalaji Sep 19, 2024
6fbde56
disable USDC eclipse/solana/eth
paulbalaji Sep 19, 2024
201eb06
update to registry v4.3.6
paulbalaji Sep 19, 2024
5a6227f
enable tETH eclipse<>ethereum
paulbalaji Sep 19, 2024
b2458d0
chore: enable tETH eclipse<>ethereum
paulbalaji Sep 19, 2024
77bf07e
Merge branch 'nexus' into paulbalaji-patch-1
paulbalaji Sep 19, 2024
0524946
fix: disable USDC eclipse/solana/eth
paulbalaji Sep 19, 2024
c640fa5
chore: enable USDC eclipse/solana/eth (#257)
paulbalaji Sep 19, 2024
640483b
temporarily disable USDC sealevel
tkporter Sep 20, 2024
3dfadef
Merge pull request #258 from hyperlane-xyz/trevor/disable-solana-usdc
tkporter Sep 20, 2024
ea3dd77
feat: add back solana USDC
tkporter Sep 20, 2024
7a15c16
Merge pull request #259 from hyperlane-xyz/trevor/enable-solana-usdc
tkporter Sep 20, 2024
e333b53
Merge branch 'main' into main-to-nexus
jmrossy Sep 20, 2024
d6db09e
Merge pull request #261 from hyperlane-xyz/main-to-nexus
jmrossy Sep 20, 2024
bd5080a
Rollback to 5.2.1-beta.0
jmrossy Sep 20, 2024
14cdbfc
Merge pull request #265 from hyperlane-xyz/nexus-5.2.1-beta.0
jmrossy Sep 20, 2024
5347ef9
Merge branch 'main' into main-to-nexus
jmrossy Sep 25, 2024
9ed4413
Merge pull request #268 from hyperlane-xyz/main-to-nexus
jmrossy Sep 25, 2024
ff2907f
Merge branch 'main' into main-to-nexus
jmrossy Sep 26, 2024
a90aa91
Restore icon colors to default
jmrossy Sep 26, 2024
49d9dff
Tweak header size
jmrossy Sep 26, 2024
0997db4
Merge branch 'rossy/more-theme-fixes' into main-to-nexus
jmrossy Sep 26, 2024
ba76d4b
Merge pull request #269 from hyperlane-xyz/main-to-nexus
jmrossy Sep 26, 2024
a1053fa
Merge branch 'main' into main-to-nexus
jmrossy Sep 27, 2024
572c58f
Merge pull request #275 from hyperlane-xyz/main-to-nexus
jmrossy Sep 27, 2024
1f47d5f
feat: add lumia warp route
cmcewen Oct 17, 2024
376856d
Rename classes prop to className
jmrossy Oct 16, 2024
9495c61
Merge pull request #295 from hyperlane-xyz/cmcewen/lumia
cmcewen Oct 17, 2024
87de68a
feat: add TIA and stTIA Stride warp routes
tkporter Oct 25, 2024
1b33541
Merge pull request #303 from hyperlane-xyz/trevor/add-tia-sttia-nexus
tkporter Oct 28, 2024
122424c
feat: eclipse batch 2
daniel-savu Nov 1, 2024
e4a40f6
bump registry
daniel-savu Nov 1, 2024
417cec3
fix: usdt route id
daniel-savu Nov 1, 2024
e166953
another fix
daniel-savu Nov 1, 2024
f18449b
Merge pull request #306 from hyperlane-xyz/dan/nexus-eclipse-2
daniel-savu Nov 1, 2024
cfd5fcd
feat: support native IBC transfers to/from Celestia for Stride/Eclips…
tkporter Nov 5, 2024
d59380d
Update src/consts/warpRoutes.ts
tkporter Nov 5, 2024
d3e8261
Merge pull request #309 from hyperlane-xyz/trevor/stride-tia-from-cel…
tkporter Nov 5, 2024
c93a3d9
feat: add weETHs
tkporter Nov 6, 2024
07fbbc8
Merge branch 'main' into main-to-nexus
jmrossy Nov 21, 2024
af45230
Fix issue from conflict with app name image
jmrossy Nov 21, 2024
dce296f
Merge pull request #336 from hyperlane-xyz/main-to-nexus
jmrossy Nov 25, 2024
9f5c286
feat: add ezSOL and apxETH
tkporter Nov 29, 2024
72e47f9
remove ezSOL
tkporter Nov 29, 2024
260f630
Merge pull request #342 from hyperlane-xyz/trevor/nexus-ezsol-apxeth
tkporter Dec 6, 2024
5fccfe3
Merge branch 'nexus' of github.com:hyperlane-xyz/hyperlane-warp-ui-te…
tkporter Dec 7, 2024
c61e77d
Merge pull request #312 from hyperlane-xyz/trevor/weETHs
tkporter Dec 7, 2024
b4ae220
feat: update registry version with new apxETH logo
tkporter Dec 10, 2024
8ad3b97
Merge pull request #348 from hyperlane-xyz/trevor/fix-apxeth-symbol
tkporter Dec 10, 2024
88835d4
feat: add ezSOL
tkporter Dec 13, 2024
1e78370
Merge pull request #354 from hyperlane-xyz/trevor/nexus-ezsol
tkporter Dec 13, 2024
dbc5173
feat: add uBTC route to nexus
xeno097 Dec 18, 2024
2b187b7
chore: removed console log
xeno097 Dec 18, 2024
3a35b2e
feat: add appchain base usdc route to nexus
xeno097 Dec 18, 2024
7e81281
chore: bump registry version
xeno097 Dec 18, 2024
c4ff07e
Merge pull request #357 from hyperlane-xyz/xeno/add-ubtc-route
xeno097 Dec 18, 2024
2eb03f0
Merge branch 'nexus' of github.com:hyperlane-xyz/hyperlane-warp-ui-te…
xeno097 Dec 19, 2024
e22081b
Merge pull request #358 from hyperlane-xyz/xeno/add-appchain-base-usd…
xeno097 Dec 19, 2024
bd3d33e
feat: added kySOL warp route to whitelist
xeno097 Dec 19, 2024
143a403
Merge pull request #359 from hyperlane-xyz/xeno/add-kySOL-warp-routes
xeno097 Dec 19, 2024
9fa8724
chore: Upgrade hyp packages to 8.0.0-beta.0
jmrossy Dec 27, 2024
d3d78c7
Merge pull request #362 from hyperlane-xyz/nexus-8.0.0-beta.0
jmrossy Dec 27, 2024
6f456e4
feat: allow RPC override for injective
tkporter Jan 7, 2025
5ef3acc
whoops
tkporter Jan 7, 2025
16681db
Merge pull request #369 from hyperlane-xyz/trevor/inj-rpcs
tkporter Jan 7, 2025
1b7814c
revert "feat: allow RPC override for injective"
tkporter Jan 7, 2025
0053f12
Merge pull request #371 from hyperlane-xyz/trevor/better-inj-fix
tkporter Jan 7, 2025
869a4a8
Up Registry to 6.12
ltyu Jan 10, 2025
d652f05
Add usdc ink
ltyu Jan 10, 2025
c1f0732
update celestia -> stride TIA fee
tkporter Jan 10, 2025
741d37d
Merge pull request #377 from hyperlane-xyz/trevor/fix-celestia-stride…
tkporter Jan 10, 2025
3225fba
Merge branch 'nexus' into ltyu/USDC/ethereum-ink-nexus
ltyu Jan 10, 2025
911accb
Merge pull request #376 from hyperlane-xyz/ltyu/USDC/ethereum-ink-nexus
ltyu Jan 10, 2025
40f5f36
feat: add SOON network SOL and Bonk routes
tkporter Jan 13, 2025
0cb8cf4
Merge pull request #378 from hyperlane-xyz/trevor/soon-sol-bonk
tkporter Jan 13, 2025
f6acb4d
Add PNDR to nexus (#366)
yorhodes Jan 13, 2025
b13fb90
feat: add TONY to Nexus
tkporter Jan 15, 2025
2585834
Merge pull request #379 from hyperlane-xyz/trevor/tony-nexus
tkporter Jan 15, 2025
295b921
Trump (#380)
nambrot Jan 19, 2025
c06d75b
Reference registry version of TRUMP (#382)
nambrot Jan 20, 2025
de3a45d
chore: update registry
Xaroz Jan 21, 2025
fc1cd8d
Merge pull request #391 from hyperlane-xyz/nexus-registry-update
Xaroz Jan 21, 2025
9501962
Update warpRouteWhitelist.ts
cmcewen Jan 21, 2025
cbf8acc
feat: use new TONY warp route
tkporter Jan 22, 2025
b02e897
yarn.lock doofus
tkporter Jan 22, 2025
9895f7b
Merge pull request #394 from hyperlane-xyz/trevor/new-TONY
tkporter Jan 22, 2025
71b7000
Merge branch 'main' into main-to-nexus
jmrossy Jan 28, 2025
19ff0ec
Merge pull request #407 from hyperlane-xyz/main-to-nexus
Xaroz Jan 28, 2025
6e7fb00
feat: added the jitoSOL route to the nexus whitelist
xeno097 Jan 30, 2025
a2b1cc7
chore: add rstETH/ethereum-zircuit route to nexus
Xaroz Jan 31, 2025
9a475e4
Merge pull request #418 from hyperlane-xyz/nexus-rstETH-route
Xaroz Jan 31, 2025
cb31f49
Merge branch 'nexus' of github.com:hyperlane-xyz/hyperlane-warp-ui-te…
xeno097 Feb 4, 2025
bbc419f
Merge pull request #413 from hyperlane-xyz/xeno/add-jito-sol-route
xeno097 Feb 4, 2025
d41f6c8
feat: add SMOL
tkporter Feb 4, 2025
d977a0c
Merge pull request #419 from hyperlane-xyz/trevor/smol-nexus
tkporter Feb 4, 2025
890729b
migrate LUMIA token
tkporter Feb 5, 2025
a84bf86
Merge pull request #421 from hyperlane-xyz/trevor/lumia-migration
tkporter Feb 5, 2025
a51a48c
Merge remote-tracking branch 'origin/main' into nexus
github-actions[bot] Feb 5, 2025
ffb9a24
Merge pull request #425 from hyperlane-xyz/main-to-nexus
Xaroz Feb 5, 2025
b2bedfd
chore: add warp routes ids to nexus
Xaroz Feb 10, 2025
8cac860
chore: update comments with correct case
Xaroz Feb 11, 2025
95736a4
chore: remove random extra slash
Xaroz Feb 11, 2025
855ec65
chore: up registry and update routes
Xaroz Feb 11, 2025
9280e0b
Merge pull request #433 from hyperlane-xyz/xaroz/nexus-all-warp-routes
Xaroz Feb 11, 2025
abea595
add LogX
tkporter Feb 13, 2025
db12910
Merge pull request #435 from hyperlane-xyz/trevor/logx-nexus
tkporter Feb 13, 2025
66543e9
fix: show collateral address for relevant tokens (#438)
paulbalaji Feb 17, 2025
c57896a
Merge remote-tracking branch 'origin/main' into nexus
github-actions[bot] Feb 17, 2025
e9e0a15
feat: add CDX/base-solanamainnet to nexus (#436)
tkporter Feb 17, 2025
ff0f254
feat: add hyperevm routes
cmcewen Feb 19, 2025
957e2dd
Merge pull request #439 from hyperlane-xyz/cmcewen/hevm-deploy
cmcewen Feb 19, 2025
aa5075c
feat: add SOL/hyperevm-solanamainnet
tkporter Feb 19, 2025
9a1c180
Merge pull request #440 from hyperlane-xyz/trevor/nexus-sol-hyperevm
tkporter Feb 19, 2025
4543f16
feat: add pumpBTCuni route
Mo-Hussain Feb 25, 2025
e8134a6
fix warp route id
Mo-Hussain Feb 25, 2025
1b28db4
Merge pull request #441 from hyperlane-xyz/mo/pumpBTCuni-nexus
Mo-Hussain Feb 26, 2025
d086111
chore: update registry version + add mint route
xeno097 Feb 26, 2025
ae48e28
Merge branch 'nexus' of github.com:hyperlane-xyz/hyperlane-warp-ui-te…
xeno097 Feb 26, 2025
c1d3db8
Merge pull request #444 from hyperlane-xyz/xeno/add-mint-warp-route
xeno097 Feb 26, 2025
da150c1
feat: add Sonic SVM routes
tkporter Feb 27, 2025
f687b0a
Merge pull request #445 from hyperlane-xyz/trevor/nexus-sonic
tkporter Feb 27, 2025
cffdf98
merge main into branch
Xaroz Feb 27, 2025
c3a91f1
merge nexus to branch
Xaroz Feb 27, 2025
f0b8cb5
Merge pull request #430 from hyperlane-xyz/main-to-nexus
Xaroz Feb 28, 2025
b846fd1
Merge remote-tracking branch 'origin/main' into nexus
github-actions[bot] Mar 3, 2025
355c311
Add REZ route
ltyu Mar 6, 2025
7dfa0f0
Prettier
ltyu Mar 6, 2025
66ca180
Up Registry to 10.8.1
ltyu Mar 6, 2025
a3dc189
Up Registry to 10.9.0
ltyu Mar 6, 2025
c1c031e
Merge pull request #454 from hyperlane-xyz/ltyu/REZ/base-ethereum
ltyu Mar 7, 2025
e8475ef
Merge branch 'main' into main-to-nexus
Xaroz Mar 10, 2025
5a9e5c1
chore: fix conflict
Xaroz Mar 10, 2025
8aa8fce
chore: add ETH/base-ethereum-lumiaprism route
Xaroz Mar 10, 2025
26743a4
Merge pull request #450 from hyperlane-xyz/main-to-nexus
Xaroz Mar 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 180 additions & 0 deletions .yarn/patches/@cosmjs-cosmwasm-stargate-npm-0.32.4-f9dd51429c.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
diff --git a/build/cosmwasmclient.js b/build/cosmwasmclient.js
index af8341db5333963a258b3476eb60690afca3473f..1fdb3081b454e5a69db7137f870f0f446f2cccf2 100644
--- a/build/cosmwasmclient.js
+++ b/build/cosmwasmclient.js
@@ -10,6 +10,112 @@ const utils_1 = require("@cosmjs/utils");
const abci_1 = require("cosmjs-types/cosmos/base/abci/v1beta1/abci");
const types_1 = require("cosmjs-types/cosmwasm/wasm/v1/types");
const modules_1 = require("./modules");
+
+/* Code copied in from injective SDK to avoid importing all 9Mb of the library */
+// node_modules/@injectivelabs/core-proto-ts/cjs/google/protobuf/any.js
+const minimal_1 = require("protobufjs/minimal");
+const Any = {
+ decode(input, length) {
+ const reader = input instanceof minimal_1.Reader ? input : minimal_1.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = { typeUrl: "", value: new Uint8Array(0) };
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+ message.typeUrl = reader.string();
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+ message.value = reader.bytes();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+ };
+ // node_modules/@injectivelabs/core-proto-ts/cjs/cosmos/auth/v1beta1/auth.js
+const BaseAccount = {
+ decode(input, length) {
+ const reader = input instanceof minimal_1.Reader ? input : minimal_1.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = { address: "", pubKey: undefined, accountNumber: "0", sequence: "0" };
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+ message.address = reader.string();
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+ message.pubKey = Any.decode(reader, reader.uint32());
+ continue;
+ case 3:
+ if (tag !== 24) {
+ break;
+ }
+ message.accountNumber = reader.uint64().toString();
+ continue;
+ case 4:
+ if (tag !== 32) {
+ break;
+ }
+ message.sequence = reader.uint64().toString();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+};
+// node_modules/@injectivelabs/core-proto-ts/cjs/injective/types/v1beta1/account.js
+const EthAccount = {
+ decode(input, length) {
+ const reader = input instanceof minimal_1.Reader ? input : minimal_1.Reader.create(input);
+ let end = length === undefined ? reader.len : reader.pos + length;
+ const message = { baseAccount: undefined, codeHash: new Uint8Array(0) };
+ while (reader.pos < end) {
+ const tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1:
+ if (tag !== 10) {
+ break;
+ }
+ message.baseAccount = BaseAccount.decode(reader, reader.uint32());
+ continue;
+ case 2:
+ if (tag !== 18) {
+ break;
+ }
+ message.codeHash = reader.bytes();
+ continue;
+ }
+ if ((tag & 7) === 4 || tag === 0) {
+ break;
+ }
+ reader.skipType(tag & 7);
+ }
+ return message;
+ },
+};
+
class CosmWasmClient {
/**
* Creates an instance by connecting to the given CometBFT RPC endpoint.
@@ -67,9 +173,28 @@ class CosmWasmClient {
const status = await this.forceGetCometClient().status();
return status.syncInfo.latestBlockHeight;
}
+ decodeInjectiveAccount(injAccount){
+ const account = EthAccount.decode(injAccount.value);
+ const baseAccount = account.baseAccount;
+ const pubKey = baseAccount.pubKey;
+ return {
+ address: baseAccount.address,
+ pubkey: pubKey
+ ? {
+ type: '/injective.crypto.v1beta1.ethsecp256k1.PubKey',
+ value: Buffer.from(pubKey.value).toString('base64'),
+ }
+ : null,
+ accountNumber: parseInt(baseAccount.accountNumber, 10),
+ sequence: parseInt(baseAccount.sequence, 10),
+ };
+ }
async getAccount(searchAddress) {
try {
const account = await this.forceGetQueryClient().auth.account(searchAddress);
+ if (searchAddress.startsWith('inj')) {
+ return this.decodeInjectiveAccount(account);
+ }
return account ? (0, stargate_1.accountFromAny)(account) : null;
}
catch (error) {
diff --git a/build/signingcosmwasmclient.js b/build/signingcosmwasmclient.js
index 6eb95bb672698df8feba51dc5a06d33bbed616c5..5a9d32f6af5ad44435ac15534501efdc344609d8 100644
--- a/build/signingcosmwasmclient.js
+++ b/build/signingcosmwasmclient.js
@@ -93,6 +93,9 @@ class SigningCosmWasmClient extends cosmwasmclient_1.CosmWasmClient {
throw new Error("Failed to retrieve account from signer");
}
const pubkey = (0, amino_1.encodeSecp256k1Pubkey)(accountFromSigner.pubkey);
+ if (signerAddress.startsWith('inj')) {
+ pubkey['typeUrl'] = '/injective.crypto.v1beta1.ethsecp256k1.PubKey';
+ }
const { sequence } = await this.getSequence(signerAddress);
const { gasInfo } = await this.forceGetQueryClient().tx.simulate(anyMsgs, memo, pubkey, sequence);
(0, utils_1.assertDefined)(gasInfo);
@@ -116,7 +119,8 @@ class SigningCosmWasmClient extends cosmwasmclient_1.CosmWasmClient {
if ((0, stargate_1.isDeliverTxFailure)(result)) {
throw new Error(createDeliverTxResponseErrorMessage(result));
}
- const codeIdAttr = findAttribute(result.events, "store_code", "code_id");
+ const rawCodeIdAttr = findAttribute(result.events, "cosmwasm.wasm.v1.EventCodeStored", "store_code", "code_id");
+ const codeIdAttr = { value: rawCodeIdAttr.value.replace(/\"/g, "") };
return {
checksum: (0, encoding_1.toHex)((0, crypto_1.sha256)(wasmCode)),
originalSize: wasmCode.length,
@@ -397,6 +401,9 @@ class SigningCosmWasmClient extends cosmwasmclient_1.CosmWasmClient {
throw new Error("Failed to retrieve account from signer");
}
const pubkey = (0, proto_signing_1.encodePubkey)((0, amino_1.encodeSecp256k1Pubkey)(accountFromSigner.pubkey));
+ if (signerAddress.startsWith('inj')) {
+ pubkey['typeUrl'] = '/injective.crypto.v1beta1.ethsecp256k1.PubKey';
+ }
const signMode = signing_1.SignMode.SIGN_MODE_LEGACY_AMINO_JSON;
const msgs = messages.map((msg) => this.aminoTypes.toAmino(msg));
const signDoc = (0, amino_1.makeSignDoc)(msgs, fee, chainId, memo, accountNumber, sequence, timeoutHeight);
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"@chakra-ui/next-js": "^2.4.2",
"@chakra-ui/react": "^2.8.2",
"@cosmjs/cosmwasm-stargate": "^0.32.4",
"@cosmjs/cosmwasm-stargate": "patch:@cosmjs/cosmwasm-stargate@npm%3A0.32.4#~/.yarn/patches/@cosmjs-cosmwasm-stargate-npm-0.32.4-f9dd51429c.patch",
"@cosmjs/stargate": "^0.32.4",
"@cosmos-kit/core": "^2.13.1",
"@cosmos-kit/cosmostation": "^2.11.2",
Expand Down Expand Up @@ -105,6 +105,8 @@
"lit-html": "2.8.0",
"react-fast-compare": "^3.2",
"viem": "^2.21.41",
"zustand": "^4.4"
"zustand": "^4.4",
"@cosmjs/cosmwasm-stargate@npm:^0.32.3": "patch:@cosmjs/cosmwasm-stargate@npm%3A0.32.4#~/.yarn/patches/@cosmjs-cosmwasm-stargate-npm-0.32.4-f9dd51429c.patch",
"@cosmjs/cosmwasm-stargate@npm:^0.32.4": "patch:@cosmjs/cosmwasm-stargate@npm%3A0.32.4#~/.yarn/patches/@cosmjs-cosmwasm-stargate-npm-0.32.4-f9dd51429c.patch"
}
}
1 change: 1 addition & 0 deletions public/logos/celestia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 9 additions & 6 deletions src/components/nav/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@ import Link from 'next/link';
import { ConnectWalletButton } from '../../features/wallet/ConnectWalletButton';
import Logo from '../../images/logos/app-logo.svg';
import Name from '../../images/logos/app-name.svg';
import Title from '../../images/logos/app-title.svg';

export function Header() {
return (
<header className="w-full px-2 pb-2 pt-3 sm:px-6 lg:px-12">
<div className="flex items-start justify-between">
<Link href="/" className="flex items-center py-2">
<Image src={Logo} width={24} alt="" />
<Image src={Name} width={130} alt="" className="ml-2 mt-0.5 hidden sm:block" />
<Image src={Title} width={210} alt="" className="ml-2 mt-0.5 pb-px" />
</Link>
<div className="flex flex-col">
<Link href="/" className="flex items-center">
<Image src={Logo} width={24} alt="" />
<Image src={Name} width={122} alt="" className="ml-2 mt-0.5 hidden sm:block" />
<h1 className="ml-2 pt-px text-2xl font-bold uppercase tracking-wide text-white">
Nexus
</h1>
</Link>
</div>
<div className="flex flex-col items-end gap-2 md:flex-row-reverse md:items-start">
<ConnectWalletButton />
</div>
Expand Down
Loading