Skip to content

Commit

Permalink
Fixed wrong chain id on docs and in EVM wallet connect
Browse files Browse the repository at this point in the history
  • Loading branch information
codebycarson committed May 27, 2024
1 parent 8f4354f commit c9f50a4
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/EvmWalletConnect/EvmWalletConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function EvmWalletConnect() {
webSocket: ["wss://evm-ws.sei-apis.com"],
};
const sei: Chain = {
id: 531,
id: 1329,
name: "Sei Network",
network: "Sei",
nativeCurrency: {
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@
"@mdx-js/loader": "^3.0.1",
"@next/mdx": "^14.2.3",
"@rainbow-me/rainbowkit": "^1.3.3",
"@sei-js/evm": "^1.1.1",
"@types/styled-components": "^5.1.34",
"lucide-react": "^0.314.0",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"sharp": "^0.33.4",
"next": "^14.2.3",
"next-compose-plugins": "^2.2.1",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.33.4",
"styled-components": "^6.1.11",
"tailwind-merge": "^2.2.1",
"viem": "^1.21.4",
Expand Down
2 changes: 1 addition & 1 deletion pages/user-guides/wallet-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If you encounter any issues with the automatic connection, you can also add the

- **Network Name**: Sei
- **New RPC URL**: https://evm-rpc.sei-apis.com
- **Chain ID**: 513
- **Chain ID**: 0x531 (decimal 1329)
- **Currency Symbol**: SEI
- **Block Explorer URL**: https://seitrace.io

Expand Down
101 changes: 100 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
resolved "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz"
integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q==

"@adraffy/[email protected]":
version "1.10.1"
resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz#63430d04bd8c5e74f8d7d049338f1cd9d4f02069"
integrity sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==

"@alloc/quick-lru@^5.2.0":
version "5.2.0"
resolved "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz"
Expand Down Expand Up @@ -745,6 +750,15 @@
"@noble/hashes" "~1.3.0"
"@scure/base" "~1.1.0"

"@sei-js/evm@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@sei-js/evm/-/evm-1.1.1.tgz#01e5089b1974762611e9b529593368f0989839ef"
integrity sha512-RKRaRszmeb5wOJ0TyGeiPC1phvTmm+QX7mbwMIS56jgQKWUq45Jg2dxK0ISLnvQwMCGkv3LjODnbNGvNI9WjAQ==
dependencies:
"@wagmi/core" "^2.9.1"
ethers "^6.0.0"
viem "^2.0.0"

"@solana/buffer-layout@^4.0.1":
version "4.0.1"
resolved "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz"
Expand Down Expand Up @@ -1093,6 +1107,11 @@
resolved "https://registry.npmjs.org/@types/node/-/node-18.11.10.tgz"
integrity sha512-juG3RWMBOqcOuXC643OAdSA525V44cVgGV6dUDuiFtss+8Fk5x1hI93Rsld43VeJVIeqlP9I7Fn9/qaVqoEAuQ==

"@types/[email protected]":
version "18.15.13"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.13.tgz#f64277c341150c979e42b00e4ac289290c9df469"
integrity sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==

"@types/node@^12.12.54":
version "12.20.55"
resolved "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz"
Expand Down Expand Up @@ -1211,6 +1230,15 @@
eventemitter3 "^4.0.7"
zustand "^4.3.1"

"@wagmi/core@^2.9.1":
version "2.10.4"
resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-2.10.4.tgz#13113dc5a9817e731671cb7cb457f2571e98aa24"
integrity sha512-X/PW4zckkSQ/y4LwkQ5cwLKv551I6kVorH3VsTQghxYt0Vj9K5/XhCCRQg5Q200u6fiUCJ+2WjpmhZu3XYNU9w==
dependencies:
eventemitter3 "5.0.1"
mipd "0.0.5"
zustand "4.4.1"

"@walletconnect/[email protected]":
version "2.11.0"
resolved "https://registry.npmjs.org/@walletconnect/core/-/core-2.11.0.tgz"
Expand Down Expand Up @@ -1581,6 +1609,11 @@ [email protected]:
resolved "https://registry.npmjs.org/abitype/-/abitype-0.9.8.tgz"
integrity sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ==

[email protected]:
version "1.0.0"
resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.0.tgz#237176dace81d90d018bebf3a45cb42f2a2d9e97"
integrity sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==

acorn-jsx@^5.0.0:
version "5.3.2"
resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz"
Expand All @@ -1591,6 +1624,11 @@ acorn@^8.0.0, acorn@^8.11.3:
resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz"
integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==

[email protected]:
version "4.0.0-beta.5"
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-4.0.0-beta.5.tgz#8d2452c52adedebc3a3e28465d858c11ca315873"
integrity sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==

aes-js@^3.1.2:
version "3.1.2"
resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz"
Expand Down Expand Up @@ -2766,6 +2804,24 @@ [email protected], eth-rpc-errors@^4.0.2:
dependencies:
fast-safe-stringify "^2.0.6"

ethers@^6.0.0:
version "6.12.1"
resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.12.1.tgz#517ff6d66d4fd5433e38e903051da3e57c87ff37"
integrity sha512-j6wcVoZf06nqEcBbDWkKg8Fp895SS96dSnTCjiXT+8vt2o02raTn4Lo9ERUuIVU5bAjoPYeA+7ytQFexFmLuVw==
dependencies:
"@adraffy/ens-normalize" "1.10.1"
"@noble/curves" "1.2.0"
"@noble/hashes" "1.3.2"
"@types/node" "18.15.13"
aes-js "4.0.0-beta.5"
tslib "2.4.0"
ws "8.5.0"

[email protected]:
version "5.0.1"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4"
integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==

eventemitter3@^4.0.7:
version "4.0.7"
resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz"
Expand Down Expand Up @@ -3571,6 +3627,11 @@ [email protected]:
resolved "https://registry.npmjs.org/isows/-/isows-1.0.3.tgz"
integrity sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==

[email protected]:
version "1.0.4"
resolved "https://registry.yarnpkg.com/isows/-/isows-1.0.4.tgz#810cd0d90cc4995c26395d2aa4cfa4037ebdf061"
integrity sha512-hEzjY+x9u9hPmBom9IIAqdJCwNLax+xrPb51vEPpERoFlIxgmZcHzsT5jKG06nvInKOBGvReAVz80Umed5CczQ==

jackspeak@^2.3.6:
version "2.3.6"
resolved "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz"
Expand Down Expand Up @@ -4898,6 +4959,13 @@ minimatch@^9.0.1:
resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz"
integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==

[email protected]:
version "0.0.5"
resolved "https://registry.yarnpkg.com/mipd/-/mipd-0.0.5.tgz#367ee796531c23f0631f129038700b1406663aec"
integrity sha512-gbKA784D2WKb5H/GtqEv+Ofd1S9Zj+Z/PGDIl1u1QAbswkxD28BQ5bSXQxkeBzPBABg1iDSbiwGG1XqlOxRspA==
dependencies:
viem "^1.1.4"

mlly@^1.6.1:
version "1.7.0"
resolved "https://registry.npmjs.org/mlly/-/mlly-1.7.0.tgz"
Expand Down Expand Up @@ -6320,6 +6388,11 @@ [email protected], tslib@^1.9.0:
resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==

[email protected]:
version "2.4.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==

[email protected], tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.0:
version "2.6.2"
resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz"
Expand Down Expand Up @@ -6717,7 +6790,7 @@ vfile@^6.0.0:
unist-util-stringify-position "^4.0.0"
vfile-message "^4.0.0"

viem@^1.0.0, viem@^1.21.4, viem@^1.6.0:
viem@^1.0.0, viem@^1.1.4, viem@^1.21.4, viem@^1.6.0:
version "1.21.4"
resolved "https://registry.npmjs.org/viem/-/viem-1.21.4.tgz"
integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ==
Expand All @@ -6731,6 +6804,20 @@ viem@^1.0.0, viem@^1.21.4, viem@^1.6.0:
isows "1.0.3"
ws "8.13.0"

viem@^2.0.0:
version "2.12.5"
resolved "https://registry.yarnpkg.com/viem/-/viem-2.12.5.tgz#b30888367c193ca3ab1bc2864a9723ac3f10ba87"
integrity sha512-OHS+356v/ykkQMWEhefDRa5aC3iM3wEzdBlPoAhkCilsXRTAyy0YofYZ9hZG8SyM+0Ltl01j5EyJHqo0o62Czg==
dependencies:
"@adraffy/ens-normalize" "1.10.0"
"@noble/curves" "1.2.0"
"@noble/hashes" "1.3.2"
"@scure/bip32" "1.3.2"
"@scure/bip39" "1.2.1"
abitype "1.0.0"
isows "1.0.4"
ws "8.13.0"

vscode-oniguruma@^1.7.0:
version "1.7.0"
resolved "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz"
Expand Down Expand Up @@ -6843,6 +6930,11 @@ [email protected], ws@^8.5.0:
resolved "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz"
integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==

[email protected]:
version "8.5.0"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f"
integrity sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==

ws@^7.4.5, ws@^7.5.1:
version "7.5.9"
resolved "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz"
Expand Down Expand Up @@ -6908,6 +7000,13 @@ zod@^3.22.3:
resolved "https://registry.npmjs.org/zod/-/zod-3.23.5.tgz"
integrity sha512-fkwiq0VIQTksNNA131rDOsVJcns0pfVUjHzLrNBiF/O/Xxb5lQyEXkhZWcJ7npWsYlvs+h0jFWXXy4X46Em1JA==

[email protected]:
version "4.4.1"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.1.tgz#0cd3a3e4756f21811bd956418fdc686877e8b3b0"
integrity sha512-QCPfstAS4EBiTQzlaGP1gmorkh/UL1Leaj2tdj+zZCZ/9bm0WS7sI2wnfD5lpOszFqWJ1DcPnGoY8RDL61uokw==
dependencies:
use-sync-external-store "1.2.0"

zustand@^4.3.1:
version "4.5.2"
resolved "https://registry.npmjs.org/zustand/-/zustand-4.5.2.tgz"
Expand Down

0 comments on commit c9f50a4

Please sign in to comment.