Skip to content

Commit c7d9e2d

Browse files
committed
Adding Sepolia ETH to the config, not sure what the correct DAI contract address is currently, to be be added later.
1 parent 9614138 commit c7d9e2d

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

pretix_eth/network/tokens.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ def payment_instructions(
223223
"wallet_address": wallet_address,
224224
}
225225

226+
226227
class GoerliL1(L1):
227228
"""
228229
Constants for Goerli Ethereum Testnet
@@ -249,7 +250,26 @@ class DaiGoerliL1(GoerliL1):
249250

250251
TOKEN_SYMBOL = "DAI"
251252
IS_NATIVE_ASSET = False
252-
ADDRESS = "0x11fe4b6ae13d2a6055c8d9cf65c55bac32b5d844"
253+
ADDRESS = "0x11fE4B6AE13d2a6055C8D9cF65c55bac32B5d844"
254+
255+
256+
class SepoliaL1(L1):
257+
"""
258+
Constants for Goerli Ethereum Testnet
259+
"""
260+
261+
NETWORK_IDENTIFIER = "Sepolia"
262+
NETWORK_VERBOSE_NAME = "Sepolia Ethereum Testnet"
263+
CHAIN_ID = 11155111
264+
EIP3091_EXPLORER_URL = "https://sepolia.etherscan.io"
265+
266+
267+
class EthSepoliaL1(SepoliaL1):
268+
"""
269+
Ethereum on Sepolia L1 Network
270+
"""
271+
272+
TOKEN_SYMBOL = "ETH"
253273

254274

255275
class EthL1(L1):

0 commit comments

Comments
 (0)