Skip to content

Commit

Permalink
add corn
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroShkvorets committed Nov 27, 2024
1 parent 1af793b commit 55ab2ce
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.5",
"version": "0.6.6",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -24,8 +24,5 @@
"ajv-formats": "^3.0.1",
"json-schema-to-typescript": "15.0.3",
"prettier": "3.4.1"
},
"dependencies": {
"wrangler": "3.90.0"
}
}
33 changes: 33 additions & 0 deletions registry/eip155/corn-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"id": "corn-sepolia",
"shortName": "Corn",
"fullName": "Corn Testnet",
"aliases": ["corn-testnet"],
"caip2Id": "eip155:21000001",
"graphNode": { "protocol": "ethereum" },
"explorerUrls": ["https://testnet-explorer.usecorn.com"],
"rpcUrls": [
"https://testnet-rpc.usecorn.com"
],
"apiUrls": [
{ "url": "https://testnet-explorer.usecorn.com/api", "kind": "etherscan" }
],
"services": {
"subgraphs": ["https://api.thegraph.com/deploy"]
},
"networkType": "testnet",
"relations": [{ "kind": "l2Of", "network": "sepolia" }, { "kind": "testnetOf", "network": "corn" }],
"issuanceRewards": false,
"nativeToken": "BTCN",
"docsUrl": "https://docs.usecorn.com/",
"genesis": {
"hash": "0x110954744ffd9d4bcd4f7998896d1948f654c9e5ccf6fcda1637a35a1863a71d",
"height": 0
},
"firehose": {
"blockType": "sf.ethereum.type.v2.Block",
"evmExtendedModel": false,
"bufUrl": "https://buf.build/streamingfast/firehose-ethereum",
"bytesEncoding": "hex"
}
}
33 changes: 33 additions & 0 deletions registry/eip155/corn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"id": "corn",
"shortName": "Corn",
"fullName": "Corn Maizenet",
"aliases": ["corn-maizenet", "corn-mainnet"],
"caip2Id": "eip155:21000000",
"graphNode": { "protocol": "ethereum" },
"explorerUrls": ["https://maizenet-explorer.usecorn.com"],
"rpcUrls": [
"https://maizenet-rpc.usecorn.com"
],
"apiUrls": [
{ "url": "https://maizenet-explorer.usecorn.com/api", "kind": "etherscan" }
],
"services": {
"subgraphs": ["https://api.thegraph.com/deploy"]
},
"networkType": "mainnet",
"relations": [{ "kind": "l2Of", "network": "mainnet" }],
"issuanceRewards": false,
"nativeToken": "BTCN",
"docsUrl": "https://docs.usecorn.com/",
"genesis": {
"hash": "0x80cd408e666fa2755da953bfd9056f09618318d5f71011a8247cebe2a13ae30f",
"height": 0
},
"firehose": {
"blockType": "sf.ethereum.type.v2.Block",
"evmExtendedModel": false,
"bufUrl": "https://buf.build/streamingfast/firehose-ethereum",
"bytesEncoding": "hex"
}
}

0 comments on commit 55ab2ce

Please sign in to comment.