diff --git a/packages/ethereum-contracts/truffle-config.js b/packages/ethereum-contracts/truffle-config.js index d11c8ef7ba..01cef495ce 100644 --- a/packages/ethereum-contracts/truffle-config.js +++ b/packages/ethereum-contracts/truffle-config.js @@ -79,6 +79,8 @@ const ALIASES = { "scroll-sepolia": ["scrsepolia"], "scroll-mainnet": ["scroll"], + "degenchain": ["degen"], + // wildcard for any network "any": ["any"], }; @@ -283,6 +285,16 @@ const E = (module.exports = { network_id: 534351, }, + // + // Degen Chain: https://www.degen.tips/ + // + "degenchain": { + ...createNetworkDefaultConfiguration("degenchain"), + network_id: 666666666, + maxPriorityFeePerGas: 1e6, // 0.001 gwei + maxFeePerGas: 100e9, // 100 gwei + }, + // // Wildcard // diff --git a/packages/metadata/main/networks/list.cjs b/packages/metadata/main/networks/list.cjs index ed3d6eb715..b7e6251943 100644 --- a/packages/metadata/main/networks/list.cjs +++ b/packages/metadata/main/networks/list.cjs @@ -762,5 +762,38 @@ module.exports = "name": "protocol-v1-scroll-mainnet" }, "publicRPCs": ["https://rpc.scroll.io"] + }, + { + "name": "degenchain", + "isTestnet": false, + "networkId": 666666666, + "chainId": 666666666, + "sfId": 10, + "shortName": "degen", + "uppercaseName": "DEGENCHAIN", + "humanReadableName": "Degen Chain", + "nativeTokenSymbol": "DEGEN", + "nativeTokenWrapper": "0xda58FA9bfc3D3960df33ddD8D4d762Cf8Fa6F7ad", + "contractsV1": { + "resolver": "0x649FB24ed0B983f88500F3C37682714aB96D73c2", + "host": "0xc1314EdcD7e478C831a7a24169F7dEADB2646eD2", + "governance": "0x4D420e94328bF1AEA1b525FDE9e498ADBe60f9B1", + "cfaV1": "0x82cc052d1b17aC554a22A88D5876B56c6b51e95c", + "cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125", + "idaV1": "0xb19CE3e7DA9FbAf9De2526BD662A82f26421A53E", + "gdaV1": "0x210a01ad187003603B2287F78579ec103Eb70D9B", + "gdaV1Forwarder": "0x6DA13Bde224A05a288748d857b9e7DDEffd1dE08", + "constantOutflowNFT": "0xFC29D2db9c952D8253d1291964100C838B236DbD", + "constantInflowNFT": "0xd97b1C090B3A3512E1776197A86fddf8a437D8D1", + "superfluidLoader": "0x5fb676d66eAb8E0c22Ae24C5c10eD7E4A6397c1C", + "toga": "0x38ed5512Ac11926bB697F4CF4eE0DD04358E2E7e", + "batchLiquidator": "0x7BCE8e8401dc98E3Da26F1D701c3C2168b8e466c", + "superTokenFactory": "0x184D999ea60e9b16fE4cCC1f756422114E9B663f" + }, + "startBlockV1": 6500000, + "logsQueryRange": 50000, + "explorer": "https://explorer.degen.tips/", + "subgraphV1": {}, + "publicRPCs": ["https://rpc.degen.tips"] } ] diff --git a/packages/metadata/module/networks/list.js b/packages/metadata/module/networks/list.js index 82becf0785..c08238ccee 100644 --- a/packages/metadata/module/networks/list.js +++ b/packages/metadata/module/networks/list.js @@ -762,5 +762,38 @@ export default "name": "protocol-v1-scroll-mainnet" }, "publicRPCs": ["https://rpc.scroll.io"] + }, + { + "name": "degenchain", + "isTestnet": false, + "networkId": 666666666, + "chainId": 666666666, + "sfId": 10, + "shortName": "degen", + "uppercaseName": "DEGENCHAIN", + "humanReadableName": "Degen Chain", + "nativeTokenSymbol": "DEGEN", + "nativeTokenWrapper": "0xda58FA9bfc3D3960df33ddD8D4d762Cf8Fa6F7ad", + "contractsV1": { + "resolver": "0x649FB24ed0B983f88500F3C37682714aB96D73c2", + "host": "0xc1314EdcD7e478C831a7a24169F7dEADB2646eD2", + "governance": "0x4D420e94328bF1AEA1b525FDE9e498ADBe60f9B1", + "cfaV1": "0x82cc052d1b17aC554a22A88D5876B56c6b51e95c", + "cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125", + "idaV1": "0xb19CE3e7DA9FbAf9De2526BD662A82f26421A53E", + "gdaV1": "0x210a01ad187003603B2287F78579ec103Eb70D9B", + "gdaV1Forwarder": "0x6DA13Bde224A05a288748d857b9e7DDEffd1dE08", + "constantOutflowNFT": "0xFC29D2db9c952D8253d1291964100C838B236DbD", + "constantInflowNFT": "0xd97b1C090B3A3512E1776197A86fddf8a437D8D1", + "superfluidLoader": "0x5fb676d66eAb8E0c22Ae24C5c10eD7E4A6397c1C", + "toga": "0x38ed5512Ac11926bB697F4CF4eE0DD04358E2E7e", + "batchLiquidator": "0x7BCE8e8401dc98E3Da26F1D701c3C2168b8e466c", + "superTokenFactory": "0x184D999ea60e9b16fE4cCC1f756422114E9B663f" + }, + "startBlockV1": 6500000, + "logsQueryRange": 50000, + "explorer": "https://explorer.degen.tips/", + "subgraphV1": {}, + "publicRPCs": ["https://rpc.degen.tips"] } ] diff --git a/packages/metadata/networks.json b/packages/metadata/networks.json index 3a2cd29443..a5e466f864 100644 --- a/packages/metadata/networks.json +++ b/packages/metadata/networks.json @@ -760,5 +760,38 @@ "name": "protocol-v1-scroll-mainnet" }, "publicRPCs": ["https://rpc.scroll.io"] + }, + { + "name": "degenchain", + "isTestnet": false, + "networkId": 666666666, + "chainId": 666666666, + "sfId": 10, + "shortName": "degen", + "uppercaseName": "DEGENCHAIN", + "humanReadableName": "Degen Chain", + "nativeTokenSymbol": "DEGEN", + "nativeTokenWrapper": "0xda58FA9bfc3D3960df33ddD8D4d762Cf8Fa6F7ad", + "contractsV1": { + "resolver": "0x649FB24ed0B983f88500F3C37682714aB96D73c2", + "host": "0xc1314EdcD7e478C831a7a24169F7dEADB2646eD2", + "governance": "0x4D420e94328bF1AEA1b525FDE9e498ADBe60f9B1", + "cfaV1": "0x82cc052d1b17aC554a22A88D5876B56c6b51e95c", + "cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125", + "idaV1": "0xb19CE3e7DA9FbAf9De2526BD662A82f26421A53E", + "gdaV1": "0x210a01ad187003603B2287F78579ec103Eb70D9B", + "gdaV1Forwarder": "0x6DA13Bde224A05a288748d857b9e7DDEffd1dE08", + "constantOutflowNFT": "0xFC29D2db9c952D8253d1291964100C838B236DbD", + "constantInflowNFT": "0xd97b1C090B3A3512E1776197A86fddf8a437D8D1", + "superfluidLoader": "0x5fb676d66eAb8E0c22Ae24C5c10eD7E4A6397c1C", + "toga": "0x38ed5512Ac11926bB697F4CF4eE0DD04358E2E7e", + "batchLiquidator": "0x7BCE8e8401dc98E3Da26F1D701c3C2168b8e466c", + "superTokenFactory": "0x184D999ea60e9b16fE4cCC1f756422114E9B663f" + }, + "startBlockV1": 6500000, + "logsQueryRange": 50000, + "explorer": "https://explorer.degen.tips/", + "subgraphV1": {}, + "publicRPCs": ["https://rpc.degen.tips"] } ]