File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,13 @@ export function getConfiguredThirdwebClient(options: {
42
42
43
43
if ( ! getTransactionDecorator ( ) ) {
44
44
setTransactionDecorator ( async ( { account, transaction } ) => {
45
- // special override for sophon testnet (zk chain)
45
+ // special override for sophon (zk chain)
46
46
// sophon only allows transactions through their paymaster
47
47
// so always use eip712 tx + paymaster
48
- if ( transaction . chain . id === 531050104 ) {
48
+ if (
49
+ transaction . chain . id === 531050104 ||
50
+ transaction . chain . id === 50104
51
+ ) {
49
52
const serializedTx = await populateEip712Transaction ( {
50
53
transaction,
51
54
account,
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ const GAS_FREE_CHAINS = [
59
59
75513 , // Geek verse testnet
60
60
75512 , // Geek verse mainnet
61
61
531050104 , // sophon testnet
62
+ 50104 , // sophon mainnet
62
63
37111 , // lens sepolia
63
64
4457845 , // zero testnet
64
65
978658 , // treasure topaz
You can’t perform that action at this time.
0 commit comments