Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions apps/dashboard/src/@/constants/thirdweb.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ export function getConfiguredThirdwebClient(options: {

if (!getTransactionDecorator()) {
setTransactionDecorator(async ({ account, transaction }) => {
// special override for sophon testnet (zk chain)
// special override for sophon (zk chain)
// sophon only allows transactions through their paymaster
// so always use eip712 tx + paymaster
if (transaction.chain.id === 531050104) {
if (
transaction.chain.id === 531050104 ||
transaction.chain.id === 50104
) {
const serializedTx = await populateEip712Transaction({
transaction,
account,
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/src/components/buttons/MismatchButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const GAS_FREE_CHAINS = [
75513, // Geek verse testnet
75512, // Geek verse mainnet
531050104, // sophon testnet
50104, // sophon mainnet
37111, // lens sepolia
4457845, // zero testnet
978658, // treasure topaz
Expand Down
Loading