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

Add EVM relate configs #221

Merged
merged 1 commit into from
Nov 11, 2024
Merged
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
42 changes: 40 additions & 2 deletions chain.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"type": "string",
"pattern": "[a-z0-9]+"
},
"evm_chain_id": {
"type": "number"
},
"pre_fork_chain_name": {
"type": "string",
"pattern": "[a-z0-9]+"
Expand Down Expand Up @@ -522,11 +525,21 @@
"$ref": "#/$defs/endpoint"
}
},
"evm-http-jsonrpc": {
"json-rpc": {
"type": "array",
"items": {
"$ref": "#/$defs/secureEndpoint"
},
"minContains": "1",
"description": "Evm json rpc uri"
},
"json-rpc-websocket": {
"type": "array",
"items": {
"$ref": "#/$defs/endpoint"
}
},
"minContains": "1",
"description": "Evm json rpc websocket uri"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -653,6 +666,31 @@
}
},
"additionalProperties": false,
"if": {
"properties": {
"metadata": {
"properties": {
"minitia": {
"properties": {
"type": {
"const": "minievm"
}
},
"required": ["type"]
}
},
"required": ["minitia"]
}
}
},
"then": {
"required": ["evm_chain_id"],
"properties": {
"apis": {
"required": ["json-rpc", "json-rpc-websocket"]
}
}
},
"$defs": {
"peer": {
"type": "object",
Expand Down
12 changes: 11 additions & 1 deletion testnets/minievm/assetlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"exponent": 6
}
],
"type_asset": "erc20",
"address": "0xD411A4eC7FdFa269575AEa6b839c1bB3485D9773",
"base": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd",
"display": "INIT",
"traces": [
Expand Down Expand Up @@ -54,6 +56,8 @@
"exponent": 6
}
],
"type_asset": "erc20",
"address": "0xf5F12DbA9625e86E8c3f5C90b3bE71eA92A91C3A",
"base": "ibc/0E98D4D1D907597448FD3A7C33DDAE10A90FA86FC8A9F5A0B175393783F249CD",
"display": "ETH",
"name": "Fake ETH Token",
Expand Down Expand Up @@ -96,6 +100,8 @@
"exponent": 6
}
],
"type_asset": "erc20",
"address": "0x9D9c32921575Fd98e67E27C0189ED4b750Cb17C5",
"base": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5",
"display": "USDC",
"name": "USDC",
Expand Down Expand Up @@ -138,6 +144,8 @@
"exponent": 6
}
],
"type_asset": "erc20",
"address": "0x532b1441646707dD9a9cc50f45221772c8b0F7B1",
"base": "ibc/C3E53D20BC7A4CC993B17C7971F8ECD06A433C10B6A96F4C4C3714F0624C56DA",
"display": "TIA",
"name": "Fake TIA Token",
Expand Down Expand Up @@ -180,6 +188,8 @@
"exponent": 8
}
],
"type_asset": "erc20",
"address": "0x9A16C08Fb8787b322e6790B19622c6C03A073472",
"base": "ibc/665CCAFA2768242D74D8CB2E9F5167261B6B75646E2EF2546E0707C0BFC7CDAF",
"display": "TEST LZ",
"name": "BSC LayerZero Test Token",
Expand Down Expand Up @@ -209,4 +219,4 @@
}
}
]
}
}
17 changes: 14 additions & 3 deletions testnets/minievm/chain.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "../../chain.schema.json",
"chain_name": "minievm",
"chain_id": "minievm-2",
"evm_chain_id": 4303131403034904,
"website": "https://initia.xyz",
"pretty_name": "Minievm",
"status": "live",
Expand Down Expand Up @@ -42,9 +43,7 @@
{
"name": "0.5.2",
"recommended_version": "v0.5.2",
"compatible_versions": [
"v0.5.2"
],
"compatible_versions": ["v0.5.2"],
"height": 1,
"binaries": {
"linux/amd64": "https://github.com/initia-labs/minievm/releases/download/v0.5.2/minievm_v0.5.2_Linux_x86_64.tar.gz",
Expand Down Expand Up @@ -144,6 +143,18 @@
"authorizedUser": "skip",
"indexForSkip": 0
}
],
"json-rpc": [
{
"address": "https://json-rpc.minievm-2.initia.xyz",
"provider": "Initia Labs"
}
],
"json-rpc-websocket": [
{
"address": "https://json-rpc-websocket.minievm-2.initia.xyz",
"provider": "Initia Labs"
}
]
},
"explorers": [
Expand Down
Loading