Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
25 changes: 25 additions & 0 deletions constants/additionalChainRegistry/chainid-19001.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
name: "YuuChain",
chain: "YUU",
rpc: [
"https://rpc.theyuusystem.com",
],
faucets: [],
nativeCurrency: {
name: "Yuu",
symbol: "YUU",
decimals: 18,
},
infoURL: "https://theyuusystem.com",
shortName: "yuuchain",
chainId: 19001,
networkId: 19001,
icon: "yuuchain",
explorers: [
{
name: "YuuChain Explorer",
url: "https://explorer.theyuusystem.com",
standard: "EIP3091",
},
],
}
25 changes: 25 additions & 0 deletions constants/additionalChainRegistry/chainid-9001.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
name: "YuuChain",
chain: "YUU",
rpc: [
"https://rpc.theyuusystem.com",
],
faucets: [],
nativeCurrency: {
name: "Yuu",
symbol: "YUU",
decimals: 18,
},
infoURL: "https://theyuusystem.com",
shortName: "yuuchain",
chainId: 9001,
Copy link
Member

Choose a reason for hiding this comment

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

https://chainlist.org/chain/9001
there is a chain with that id already

Copy link
Author

Choose a reason for hiding this comment

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

• chainId should be 19001 (0x4A39), not 9001
• RPC already returns eth_chainId = 0x4a39

networkId: 9001,
icon: "yuuchain",
explorers: [
{
name: "YuuChain Explorer",
url: "https://explorer.theyuusystem.com",
standard: "EIP3091",
},
],
}