diff --git a/chain.schema.json b/chain.schema.json index 5473b21..532ef63 100644 --- a/chain.schema.json +++ b/chain.schema.json @@ -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]+" @@ -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 @@ -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", diff --git a/testnets/minievm/assetlist.json b/testnets/minievm/assetlist.json index b9812ee..489fd61 100644 --- a/testnets/minievm/assetlist.json +++ b/testnets/minievm/assetlist.json @@ -14,6 +14,8 @@ "exponent": 6 } ], + "type_asset": "erc20", + "address": "0xD411A4eC7FdFa269575AEa6b839c1bB3485D9773", "base": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", "display": "INIT", "traces": [ @@ -54,6 +56,8 @@ "exponent": 6 } ], + "type_asset": "erc20", + "address": "0xf5F12DbA9625e86E8c3f5C90b3bE71eA92A91C3A", "base": "ibc/0E98D4D1D907597448FD3A7C33DDAE10A90FA86FC8A9F5A0B175393783F249CD", "display": "ETH", "name": "Fake ETH Token", @@ -96,6 +100,8 @@ "exponent": 6 } ], + "type_asset": "erc20", + "address": "0x9D9c32921575Fd98e67E27C0189ED4b750Cb17C5", "base": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", "display": "USDC", "name": "USDC", @@ -138,6 +144,8 @@ "exponent": 6 } ], + "type_asset": "erc20", + "address": "0x532b1441646707dD9a9cc50f45221772c8b0F7B1", "base": "ibc/C3E53D20BC7A4CC993B17C7971F8ECD06A433C10B6A96F4C4C3714F0624C56DA", "display": "TIA", "name": "Fake TIA Token", @@ -180,6 +188,8 @@ "exponent": 8 } ], + "type_asset": "erc20", + "address": "0x9A16C08Fb8787b322e6790B19622c6C03A073472", "base": "ibc/665CCAFA2768242D74D8CB2E9F5167261B6B75646E2EF2546E0707C0BFC7CDAF", "display": "TEST LZ", "name": "BSC LayerZero Test Token", @@ -209,4 +219,4 @@ } } ] -} \ No newline at end of file +} diff --git a/testnets/minievm/chain.json b/testnets/minievm/chain.json index 1455e68..95bf743 100644 --- a/testnets/minievm/chain.json +++ b/testnets/minievm/chain.json @@ -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", @@ -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", @@ -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": [