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

feat: update xdc-testnet #2944

Merged
merged 6 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
1 change: 1 addition & 0 deletions src/chains/definitions/xdc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const xdc = /*#__PURE__*/ defineChain({
},
rpcUrls: {
default: { http: ['https://rpc.xdcrpc.com'] },
xinfin: { http: ['https://erpc.xinfin.network'] },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't accept RPC URLs other than default - the consumer can modify the chain theirself to add URLs.

},
blockExplorers: {
default: {
Expand Down
4 changes: 4 additions & 0 deletions src/chains/definitions/xdcTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ export const xdcTestnet = /*#__PURE__*/ defineChain({
},
blockExplorers: {
default: {
name: 'XDCScan',
url: 'https://testnet.xdcscan.com',
},
blocksscan: {
name: 'Blocksscan',
url: 'https://apothem.blocksscan.io',
},
Expand Down
Loading